Colour reference

Zinc 400

#a1a1aa

RGB
rgb(161 161 170)
HSL
240°, 5%, 65%
OKLCh
71.2% 0.013 286.1

Open in the picker

Zinc 400 in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#a1a1aa
RGBrgb(161 161 170)
RGB legacyrgb(161, 161, 170)
RGB percentrgb(63.14% 63.14% 66.67%)
HSLhsl(240 5% 64.9%)
HSL legacyhsl(240, 5%, 64.9%)
HSV / HSBhsv(240, 5.3%, 66.7%)
HWBhwb(240 63.1% 33.3%)
Nearest namedarkgray (approx.)
CMYKcmyk(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.

OKLChoklch(71.181% 0.01294 286.066)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(71.181% 0.00358 -0.01243)
CIE LChlch(66.456% 4.865 285.676)
CIE Lablab(66.456% 1.314 -4.684)
Display P3color(display-p3 0.6314 0.6314 0.6636)
Rec. 2020color(rec2020 0.5934 0.5922 0.6263)
srgb-linearcolor(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 — sRGBvec3(0.631, 0.631, 0.667)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(0.356, 0.356, 0.402)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(0.631, 0.631, 0.667, 1.0)
GLSL vec4 — linearvec4(0.356, 0.356, 0.402, 1.0)
GLSL ivec3ivec3(161, 161, 170)
HLSL float3 — sRGBfloat3(0.631, 0.631, 0.667)
HLSL float3 — linearfloat3(0.356, 0.356, 0.402)
HLSL float4 — sRGBfloat4(0.631, 0.631, 0.667, 1.0)
HLSL half4 — sRGBhalf4(0.631, 0.631, 0.667, 1.0)
WGSL vec3f — sRGBvec3f(0.631, 0.631, 0.667)
WGSL vec4f — sRGBvec4f(0.631, 0.631, 0.667, 1.0)
WGSL vec3<f32> — linearvec3<f32>(0.356, 0.356, 0.402)

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

Unity Colornew 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 Color32new Color32(161, 161, 170, 255)
Unreal FLinearColorFLinearColor(0.3564f, 0.3564f, 0.402f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(161, 161, 170, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(0.631, 0.631, 0.667, 1)
Flutter ColorColor(0xFFA1A1AA)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(161, 161, 170)
SwiftUI ColorColor(red: 0.631, green: 0.631, blue: 0.667)
UIKit UIColorUIColor(red: 0.631, green: 0.631, blue: 0.667, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0xA1A1AA
0x hex (ARGB)0xFFA1A1AA
Array 0–1[0.631, 0.631, 0.667]
Array 0–255[161, 161, 170]
Decimal integer10592682

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 400 on white2.56:1FailLc 50Large headings only
Zinc 400 on black8.19:1AAALc 52Large 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.026
  • rosybrownΔEok 0.060
  • cadetblueΔEok 0.085
  • lightslategrayΔEok 0.096
  • silverΔEok 0.097
  • darkseagreenΔEok 0.098