#402A0A#402A0A

#402A0A is a dark, muted orange. Relative luminance 0.028; OKLCH L 30.5% C 0.056 H 72.6°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#402A0A
RGBrgb(64, 42, 10)
HSLhsl(36, 73%, 15%)
HSVhsv(36, 84%, 25%)
CMYKcmyk(0%, 34.4%, 84.4%, 74.9%)
CIE-LABlab(19.09, 6.72, 23.42)
CIE-LCHlch(19.09, 24.37, 74.00°)
OKLaboklab(30.5% 0.0167 0.0531)
OKLCHoklch(30.5% 0.056 72.6)
XYZxyz(2.9973, 2.7681, 0.6635)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402A0A #0A2040
analogous
#400F0A #402A0A #3B400A
triadic
#402A0A #0A402A #2A0A40
tetradic
#402A0A #0A400F #0A2040 #400A3B
square
#402A0A #0A400F #0A2040 #400A3B
split-complementary
#402A0A #0A3B40 #0F0A40
monochromatic
#1A1104 #1A1104 #402A0A #754D12 #AA6F1B

Accessibility & contrast

On white

13.52
#402A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#402A0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402A0A
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402A0A#FFFFFF#000000##FFFFFF
##402A0A1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B06
Deuteranopia (green-blind)
#37300B
Tritanopia (blue-blind)
#462423
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #402a0a;
/* rgb */ color: rgb(64, 42, 10);
/* oklch */ color: oklch(30.5% 0.056 72.6);
Tailwind
colors: {
  custom: {
    50: '#78634c',
    500: '#402a0a',
    950: '#000000',
  },
}
SCSS
$custom: #402a0a;
$custom-light: #78634c;
$custom-dark: #000000;
JSON
{
  "hex": "#402a0a",
  "rgb": {
    "r": 64,
    "g": 42,
    "b": 10
  },
  "hsl": {
    "h": 35.556,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.30497,
    "c": 0.05565,
    "h": 72.6
  },
  "luminance": 0.02768
}

Semantic roles & 50–950 ramp

primary
#402A0A
secondary
#294B7D
accent
#83F038
background
#F7F5F4
surface
#EDEAE7
border
#C8C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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