#402A20#402A20

#402A20 is a dark, muted orange. Relative luminance 0.029; OKLCH L 30.9% C 0.037 H 45.3°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#402A20
RGBrgb(64, 42, 32)
HSLhsl(19, 33%, 19%)
HSVhsv(19, 50%, 25%)
CMYKcmyk(0%, 34.4%, 50%, 74.9%)
CIE-LABlab(19.43, 8.77, 10.64)
CIE-LCHlch(19.43, 13.79, 50.51°)
OKLaboklab(30.88% 0.0263 0.0266)
OKLCHoklch(30.88% 0.037 45.3)
XYZxyz(3.2032, 2.8504, 1.7477)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402A20 #203640
analogous
#402026 #402A20 #403A20
triadic
#402A20 #20402A #2A2040
tetradic
#402A20 #264020 #203640 #3A2040
square
#402A20 #264020 #203640 #3A2040
split-complementary
#402A20 #20403A #202640
monochromatic
#140D0A #170F0C #402A20 #694534 #926049

Accessibility & contrast

On white

13.38
#402A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#402A20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402A20
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402A20#FFFFFF#000000##FFFFFF
##402A201.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1F
Deuteranopia (green-blind)
#353120
Tritanopia (blue-blind)
#452627
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #402a20;
/* rgb */ color: rgb(64, 42, 32);
/* oklch */ color: oklch(30.9% 0.037 45.3);
Tailwind
colors: {
  custom: {
    50: '#76635b',
    500: '#402a20',
    950: '#000000',
  },
}
SCSS
$custom: #402a20;
$custom-light: #76635b;
$custom-dark: #000000;
JSON
{
  "hex": "#402a20",
  "rgb": {
    "r": 64,
    "g": 42,
    "b": 32
  },
  "hsl": {
    "h": 18.75,
    "s": 33.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30876,
    "c": 0.03734,
    "h": 45.3
  },
  "luminance": 0.0285
}

Semantic roles & 50–950 ramp

primary
#402A20
secondary
#486674
accent
#A8C95E
background
#F7F5F5
surface
#EDEAE9
border
#C8C6C5
text
#080504
muted
#7B7979

Preview Lab

Preview with #402A20

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

Preview Lab → · Contrast checker → · Palette generator →

#402A20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva