#402B0D#402B0D

#402B0D is a dark, muted orange. Relative luminance 0.028; OKLCH L 30.8% C 0.053 H 72.9°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#402B0D
RGBrgb(64, 43, 13)
HSLhsl(35, 66%, 15%)
HSVhsv(35, 80%, 25%)
CMYKcmyk(0%, 32.8%, 79.7%, 74.9%)
CIE-LABlab(19.42, 6.23, 22.48)
CIE-LCHlch(19.42, 23.33, 74.50°)
OKLaboklab(30.76% 0.0157 0.0511)
OKLCHoklch(30.76% 0.053 72.9)
XYZxyz(3.0511, 2.8470, 0.7695)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402B0D #0D2240
analogous
#40110D #402B0D #3C400D
triadic
#402B0D #0D402B #2B0D40
tetradic
#402B0D #0D4011 #0D2240 #400D3C
square
#402B0D #0D4011 #0D2240 #400D3C
split-complementary
#402B0D #0D3C40 #110D40
monochromatic
#191105 #191105 #402B0D #734D17 #A66F22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##402B0D#FFFFFF#000000##FFFFFF
##402B0D1.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)
#322C09
Deuteranopia (green-blind)
#37310E
Tritanopia (blue-blind)
#462625
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #402b0d;
/* rgb */ color: rgb(64, 43, 13);
/* oklch */ color: oklch(30.8% 0.053 72.9);
Tailwind
colors: {
  custom: {
    50: '#77644d',
    500: '#402b0d',
    950: '#000000',
  },
}
SCSS
$custom: #402b0d;
$custom-light: #77644d;
$custom-dark: #000000;
JSON
{
  "hex": "#402b0d",
  "rgb": {
    "r": 64,
    "g": 43,
    "b": 13
  },
  "hsl": {
    "h": 35.294,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.30764,
    "c": 0.05346,
    "h": 72.9
  },
  "luminance": 0.02847
}

Semantic roles & 50–950 ramp

primary
#402B0D
secondary
#2D4D7C
accent
#85E93F
background
#F7F5F4
surface
#EDEAE7
border
#C8C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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