Colour reference
Zinc 400
#a1a1aa
- RGB
- rgb(161 161 170)
- HSL
- 240°, 5%, 65%
- OKLCh
- 71.2% 0.013 286.1
Zinc 400 in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #a1a1aa | |
|---|---|---|
| RGB | rgb(161 161 170) | |
| RGB legacy | rgb(161, 161, 170) | |
| RGB percent | rgb(63.14% 63.14% 66.67%) | |
| HSL | hsl(240 5% 64.9%) | |
| HSL legacy | hsl(240, 5%, 64.9%) | |
| HSV / HSB | hsv(240, 5.3%, 66.7%) | |
| HWB | hwb(240 63.1% 33.3%) | |
| Nearest name | darkgray (approx.) | |
| CMYK | cmyk(5.3%, 5.3%, 0%, 33.3%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(71.181% 0.01294 286.066)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(71.181% 0.00358 -0.01243) | |
| CIE LCh | lch(66.456% 4.865 285.676) | |
| CIE Lab | lab(66.456% 1.314 -4.684) | |
| Display P3 | color(display-p3 0.6314 0.6314 0.6636) | |
| Rec. 2020 | color(rec2020 0.5934 0.5922 0.6263) | |
| srgb-linear | color(srgb-linear 0.3564 0.3564 0.402)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.347 0.3597 0.4315) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(0.631, 0.631, 0.667)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.356, 0.356, 0.402)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.631, 0.631, 0.667, 1.0) | |
| GLSL vec4 — linear | vec4(0.356, 0.356, 0.402, 1.0) | |
| GLSL ivec3 | ivec3(161, 161, 170) | |
| HLSL float3 — sRGB | float3(0.631, 0.631, 0.667) | |
| HLSL float3 — linear | float3(0.356, 0.356, 0.402) | |
| HLSL float4 — sRGB | float4(0.631, 0.631, 0.667, 1.0) | |
| HLSL half4 — sRGB | half4(0.631, 0.631, 0.667, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.631, 0.631, 0.667) | |
| WGSL vec4f — sRGB | vec4f(0.631, 0.631, 0.667, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.356, 0.356, 0.402) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(0.631f, 0.631f, 0.667f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255. | |
|---|---|---|
| Unity Color32 | new Color32(161, 161, 170, 255) | |
| Unreal FLinearColor | FLinearColor(0.3564f, 0.3564f, 0.402f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(161, 161, 170, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.631, 0.631, 0.667, 1) | |
| Flutter Color | Color(0xFFA1A1AA)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(161, 161, 170) | |
| SwiftUI Color | Color(red: 0.631, green: 0.631, blue: 0.667) | |
| UIKit UIColor | UIColor(red: 0.631, green: 0.631, blue: 0.667, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0xA1A1AA | |
|---|---|---|
| 0x hex (ARGB) | 0xFFA1A1AA | |
| Array 0–1 | [0.631, 0.631, 0.667] | |
| Array 0–255 | [161, 161, 170] | |
| Decimal integer | 10592682 |
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 400 on white | 2.56:1 | Fail | Lc 50 | Large headings only |
| Zinc 400 on black | 8.19:1 | AAA | Lc 52 | Large headings only |
Zinc 400 text on a white background
Zinc 400 text on a black background
White text on Zinc 400
Black text on Zinc 400
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#f7f7fe
- 100#ededf4
- 200#dbdbe3
- 300#c5c5cd
- 400#a8a8b1
- 500#8a8a93
- 600#717179
- 700#5a5a61
- 800#47474e
- 900#37373d
- 950#1f1f23
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#b0b0b8
- Tint 2#bfbfc6
- Tint 3#cfcfd4
- Tint 4#dfdfe2
- Tint 5#efeff0
- Shade 1#7d7d84
- Shade 2#5b5b61
- Shade 3#3c3c3f
- Shade 4#1e1e21
- Shade 5#050506
Colours that work with Zinc 400
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #a3a39a
- #a9a09b
- #9ba5a0
- #9da3aa
- #a5a0a8
Closest CSS names
darkgrayΔEok 0.026rosybrownΔEok 0.060cadetblueΔEok 0.085lightslategrayΔEok 0.096silverΔEok 0.097darkseagreenΔEok 0.098