#402210#402210

#402210 is a dark, muted orange. Relative luminance 0.023; OKLCH L 28.8% C 0.054 H 50.2°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#402210
RGBrgb(64, 34, 16)
HSLhsl(23, 60%, 16%)
HSVhsv(23, 75%, 25%)
CMYKcmyk(0%, 46.9%, 75%, 74.9%)
CIE-LABlab(16.85, 12.45, 17.87)
CIE-LCHlch(16.85, 21.78, 55.14°)
OKLaboklab(28.79% 0.0348 0.0418)
OKLCHoklch(28.79% 0.054 50.2)
XYZxyz(2.7801, 2.2717, 0.7822)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402210 #102E40
analogous
#401016 #402210 #403A10
triadic
#402210 #104022 #221040
tetradic
#402210 #164010 #102E40 #3A1040
square
#402210 #164010 #102E40 #3A1040
split-complementary
#402210 #10403A #101640
monochromatic
#180D06 #180D06 #402210 #713C1C #A25628

Accessibility & contrast

On white

14.44
#402210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402210
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402210#FFFFFF#000000##FFFFFF
##4022101.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A260E
Deuteranopia (green-blind)
#322C10
Tritanopia (blue-blind)
#471C1E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #402210;
/* rgb */ color: rgb(64, 34, 16);
/* oklch */ color: oklch(28.8% 0.054 50.2);
Tailwind
colors: {
  custom: {
    50: '#785d4f',
    500: '#402210',
    950: '#000000',
  },
}
SCSS
$custom: #402210;
$custom-light: #785d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#402210",
  "rgb": {
    "r": 64,
    "g": 34,
    "b": 16
  },
  "hsl": {
    "h": 22.5,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.28785,
    "c": 0.05436,
    "h": 50.2
  },
  "luminance": 0.02271
}

Semantic roles & 50–950 ramp

primary
#402210
secondary
#325F7A
accent
#A8E345
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #402210

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

Preview Lab → · Contrast checker → · Palette generator →

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