Colour reference
Zinc 300
#d4d4d8
- RGB
- rgb(212 212 216)
- HSL
- 240°, 5%, 84%
- OKLCh
- 87.1% 0.005 286.3
Zinc 300 in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #d4d4d8 | |
|---|---|---|
| RGB | rgb(212 212 216) | |
| RGB legacy | rgb(212, 212, 216) | |
| RGB percent | rgb(83.14% 83.14% 84.71%) | |
| HSL | hsl(240 4.9% 83.9%) | |
| HSL legacy | hsl(240, 4.9%, 83.9%) | |
| HSV / HSB | hsv(240, 1.9%, 84.7%) | |
| HWB | hwb(240 83.1% 15.3%) | |
| Nearest name | lightgray | |
| CMYK | cmyk(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.
| OKLCh | oklch(87.111% 0.00545 286.286)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(87.111% 0.00153 -0.00523) | |
| CIE LCh | lch(85.001% 2.055 285.395) | |
| CIE Lab | lab(85.001% 0.545 -1.981) | |
| Display P3 | color(display-p3 0.8314 0.8314 0.8457) | |
| Rec. 2020 | color(rec2020 0.8123 0.8117 0.8271) | |
| srgb-linear | color(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 — sRGB | vec3(0.831, 0.831, 0.847)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.658, 0.658, 0.687)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.831, 0.831, 0.847, 1.0) | |
| GLSL vec4 — linear | vec4(0.658, 0.658, 0.687, 1.0) | |
| GLSL ivec3 | ivec3(212, 212, 216) | |
| HLSL float3 — sRGB | float3(0.831, 0.831, 0.847) | |
| HLSL float3 — linear | float3(0.658, 0.658, 0.687) | |
| HLSL float4 — sRGB | float4(0.831, 0.831, 0.847, 1.0) | |
| HLSL half4 — sRGB | half4(0.831, 0.831, 0.847, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.831, 0.831, 0.847) | |
| WGSL vec4f — sRGB | vec4f(0.831, 0.831, 0.847, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.658, 0.658, 0.687) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new 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 Color32 | new Color32(212, 212, 216, 255) | |
| Unreal FLinearColor | FLinearColor(0.6584f, 0.6584f, 0.6867f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(212, 212, 216, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.831, 0.831, 0.847, 1) | |
| Flutter Color | Color(0xFFD4D4D8)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(212, 212, 216) | |
| SwiftUI Color | Color(red: 0.831, green: 0.831, blue: 0.847) | |
| UIKit UIColor | UIColor(red: 0.831, green: 0.831, blue: 0.847, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0xD4D4D8 | |
|---|---|---|
| 0x hex (ARGB) | 0xFFD4D4D8 | |
| Array 0–1 | [0.831, 0.831, 0.847] | |
| Array 0–255 | [212, 212, 216] | |
| Decimal integer | 13948120 |
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.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Zinc 300 on white | 1.48:1 | Fail | Lc 23 | Not usable for text |
| Zinc 300 on black | 14.21:1 | AAA | Lc 81 | Body 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.007gainsboroΔEok 0.024lightblueΔEok 0.049powderblueΔEok 0.050thistleΔEok 0.055lavenderΔEok 0.064