#402114#402114

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

Color values

HEX#402114
RGBrgb(64, 33, 20)
HSLhsl(18, 52%, 16%)
HSVhsv(18, 69%, 25%)
CMYKcmyk(0%, 48.4%, 68.8%, 74.9%)
CIE-LABlab(16.64, 13.44, 15.18)
CIE-LCHlch(16.64, 20.27, 48.48°)
OKLaboklab(28.64% 0.0386 0.036)
OKLCHoklch(28.64% 0.053 43)
XYZxyz(2.7847, 2.2285, 0.9452)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402114 #143340
analogous
#40141D #402114 #403714
triadic
#402114 #144021 #211440
tetradic
#402114 #1D4014 #143340 #371440
square
#402114 #1D4014 #143340 #371440
split-complementary
#402114 #144037 #141D40
monochromatic
#170C07 #170C07 #402114 #6F3923 #9D5131

Accessibility & contrast

On white

14.53
#402114 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#402114 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402114
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402114#FFFFFF#000000##FFFFFF
##4021141.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292513
Deuteranopia (green-blind)
#312C14
Tritanopia (blue-blind)
#461B1E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #402114;
/* rgb */ color: rgb(64, 33, 20);
/* oklch */ color: oklch(28.6% 0.053 43.0);
Tailwind
colors: {
  custom: {
    50: '#785c51',
    500: '#402114',
    950: '#000000',
  },
}
SCSS
$custom: #402114;
$custom-light: #785c51;
$custom-dark: #000000;
JSON
{
  "hex": "#402114",
  "rgb": {
    "r": 64,
    "g": 33,
    "b": 20
  },
  "hsl": {
    "h": 17.727,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28644,
    "c": 0.0528,
    "h": 43
  },
  "luminance": 0.02228
}

Semantic roles & 50–950 ramp

primary
#402114
secondary
#386578
accent
#B1DC4C
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#090402
muted
#7B7978

Preview Lab

Preview with #402114

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

Preview Lab → · Contrast checker → · Palette generator →

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