#402111#402111

#402111 is a dark, muted orange. Relative luminance 0.022; OKLCH L 28.6% C 0.055 H 46.9°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#402111
RGBrgb(64, 33, 17)
HSLhsl(20, 58%, 16%)
HSVhsv(20, 73%, 25%)
CMYKcmyk(0%, 48.4%, 73.4%, 74.9%)
CIE-LABlab(16.59, 13.18, 16.98)
CIE-LCHlch(16.59, 21.50, 52.18°)
OKLaboklab(28.59% 0.0372 0.0398)
OKLCHoklch(28.59% 0.055 46.9)
XYZxyz(2.7596, 2.2185, 0.8131)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402111 #113040
analogous
#401118 #402111 #403811
triadic
#402111 #114021 #211140
tetradic
#402111 #184011 #113040 #381140
square
#402111 #184011 #113040 #381140
split-complementary
#402111 #114038 #111840
monochromatic
#180C06 #180C06 #402111 #703A1E #A1532B

Accessibility & contrast

On white

14.55
#402111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#402111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402111
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402111#FFFFFF#000000##FFFFFF
##4021111.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A250F
Deuteranopia (green-blind)
#312C11
Tritanopia (blue-blind)
#471B1D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #402111;
/* rgb */ color: rgb(64, 33, 17);
/* oklch */ color: oklch(28.6% 0.055 46.9);
Tailwind
colors: {
  custom: {
    50: '#785c4f',
    500: '#402111',
    950: '#000000',
  },
}
SCSS
$custom: #402111;
$custom-light: #785c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#402111",
  "rgb": {
    "r": 64,
    "g": 33,
    "b": 17
  },
  "hsl": {
    "h": 20.426,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.28591,
    "c": 0.05454,
    "h": 46.9
  },
  "luminance": 0.02218
}

Semantic roles & 50–950 ramp

primary
#402111
secondary
#336279
accent
#ADE147
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090402
muted
#7B7978

Preview Lab

Preview with #402111

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#402111 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva