Colour reference

Zinc 300

#d4d4d8

RGB
rgb(212 212 216)
HSL
240°, 5%, 84%
OKLCh
87.1% 0.005 286.3

Open in the picker

Zinc 300 in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#d4d4d8
RGBrgb(212 212 216)
RGB legacyrgb(212, 212, 216)
RGB percentrgb(83.14% 83.14% 84.71%)
HSLhsl(240 4.9% 83.9%)
HSL legacyhsl(240, 4.9%, 83.9%)
HSV / HSBhsv(240, 1.9%, 84.7%)
HWBhwb(240 83.1% 15.3%)
Nearest namelightgray
CMYKcmyk(1.9%, 1.9%, 0%, 15.3%)Naive conversion. Real print work needs an ICC profile.

Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.

OKLChoklch(87.111% 0.00545 286.286)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(87.111% 0.00153 -0.00523)
CIE LChlch(85.001% 2.055 285.395)
CIE Lablab(85.001% 0.545 -1.981)
Display P3color(display-p3 0.8314 0.8314 0.8457)
Rec. 2020color(rec2020 0.8123 0.8117 0.8271)
srgb-linearcolor(srgb-linear 0.6584 0.6584 0.6867)Light-linear sRGB — the same numbers a shader wants for maths.
CIE XYZ (D65)color(xyz-d65 0.6309 0.6604 0.7439)

ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.

GLSL vec3 — sRGBvec3(0.831, 0.831, 0.847)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(0.658, 0.658, 0.687)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(0.831, 0.831, 0.847, 1.0)
GLSL vec4 — linearvec4(0.658, 0.658, 0.687, 1.0)
GLSL ivec3ivec3(212, 212, 216)
HLSL float3 — sRGBfloat3(0.831, 0.831, 0.847)
HLSL float3 — linearfloat3(0.658, 0.658, 0.687)
HLSL float4 — sRGBfloat4(0.831, 0.831, 0.847, 1.0)
HLSL half4 — sRGBhalf4(0.831, 0.831, 0.847, 1.0)
WGSL vec3f — sRGBvec3f(0.831, 0.831, 0.847)
WGSL vec4f — sRGBvec4f(0.831, 0.831, 0.847, 1.0)
WGSL vec3<f32> — linearvec3<f32>(0.658, 0.658, 0.687)

Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.

Unity Colornew Color(0.831f, 0.831f, 0.847f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255.
Unity Color32new Color32(212, 212, 216, 255)
Unreal FLinearColorFLinearColor(0.6584f, 0.6584f, 0.6867f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(212, 212, 216, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(0.831, 0.831, 0.847, 1)
Flutter ColorColor(0xFFD4D4D8)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(212, 212, 216)
SwiftUI ColorColor(red: 0.831, green: 0.831, blue: 0.847)
UIKit UIColorUIColor(red: 0.831, green: 0.831, blue: 0.847, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0xD4D4D8
0x hex (ARGB)0xFFD4D4D8
Array 0–1[0.831, 0.831, 0.847]
Array 0–255[212, 212, 216]
Decimal integer13948120

Contrast and accessibility

WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.

PairingWCAG 2 ratioLevelAPCASuitable for
Zinc 300 on white1.48:1FailLc 23Not usable for text
Zinc 300 on black14.21:1AAALc 81Body text, 18px and up

Zinc 300 text on a white background

Zinc 300 text on a black background

White text on Zinc 300

Black text on Zinc 300

Tonal scale

Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.

  • 50#f7f7fa
  • 100#ededf0
  • 200#dcdcdf
  • 300#c5c5c9
  • 400#a9a9ac
  • 500#8b8b8e
  • 600#717175
  • 700#5a5a5e
  • 800#47474a
  • 900#38383a
  • 950#1f1f21

Tints and shades

Mixed perceptually toward white and black, so the steps feel evenly spaced.

  • Tint 1#dbdbde
  • Tint 2#e2e2e5
  • Tint 3#e9e9eb
  • Tint 4#f1f1f2
  • Tint 5#f8f8f8
  • Shade 1#a6a6a9
  • Shade 2#7a7a7d
  • Shade 3#515153
  • Shade 4#2b2b2c
  • Shade 5#0a0a0a

Colours that work with Zinc 300

Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.

  • #d5d5d1
  • #d8d3d2
  • #d1d6d4
  • #d2d5d8
  • #d6d3d7

Closest CSS names

  • lightgrayΔEok 0.007
  • gainsboroΔEok 0.024
  • lightblueΔEok 0.049
  • powderblueΔEok 0.050
  • thistleΔEok 0.055
  • lavenderΔEok 0.064