#401D0C#401D0C

#401D0C is a dark, moderate orange. Relative luminance 0.020; OKLCH L 27.7% C 0.061 H 45.0°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#401D0C
RGBrgb(64, 29, 12)
HSLhsl(20, 68%, 15%)
HSVhsv(20, 81%, 25%)
CMYKcmyk(0%, 54.7%, 81.2%, 74.9%)
CIE-LABlab(15.46, 15.42, 18.15)
CIE-LCHlch(15.46, 23.82, 49.65°)
OKLaboklab(27.7% 0.043 0.043)
OKLCHoklch(27.7% 0.061 45)
XYZxyz(2.6203, 1.9956, 0.5949)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401D0C #0C2F40
analogous
#400C15 #401D0C #40370C
triadic
#401D0C #0C401D #1D0C40
tetradic
#401D0C #15400C #0C2F40 #370C40
square
#401D0C #15400C #0C2F40 #370C40
split-complementary
#401D0C #0C4037 #0C1540
monochromatic
#1A0C05 #1A0C05 #401D0C #743416 #A74C1F

Accessibility & contrast

On white

15.01
#401D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#401D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401D0C
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401D0C#FFFFFF#000000##FFFFFF
##401D0C1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27220A
Deuteranopia (green-blind)
#2F2A0B
Tritanopia (blue-blind)
#471619
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401d0c;
/* rgb */ color: rgb(64, 29, 12);
/* oklch */ color: oklch(27.7% 0.061 45.0);
Tailwind
colors: {
  custom: {
    50: '#78594c',
    500: '#401d0c',
    950: '#000000',
  },
}
SCSS
$custom: #401d0c;
$custom-light: #78594c;
$custom-dark: #000000;
JSON
{
  "hex": "#401d0c",
  "rgb": {
    "r": 64,
    "g": 29,
    "b": 12
  },
  "hsl": {
    "h": 19.615,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.27701,
    "c": 0.06083,
    "h": 45
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

primary
#401D0C
secondary
#2C627C
accent
#B2EB3D
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090301
muted
#7B7877

Preview Lab

Preview with #401D0C

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

Preview Lab → · Contrast checker → · Palette generator →

#401D0C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva