#401B0C#401B0C

#401B0C is a dark, moderate orange. Relative luminance 0.019; OKLCH L 27.3% C 0.063 H 41.7°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#401B0C
RGBrgb(64, 27, 12)
HSLhsl(17, 68%, 15%)
HSVhsv(17, 81%, 25%)
CMYKcmyk(0%, 57.8%, 81.2%, 74.9%)
CIE-LABlab(14.96, 16.69, 17.51)
CIE-LCHlch(14.96, 24.19, 46.36°)
OKLaboklab(27.31% 0.0469 0.0418)
OKLCHoklch(27.31% 0.063 41.7)
XYZxyz(2.5729, 1.9007, 0.5791)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B0C #0C3140
analogous
#400C17 #401B0C #40350C
triadic
#401B0C #0C401B #1B0C40
tetradic
#401B0C #17400C #0C3140 #350C40
square
#401B0C #17400C #0C3140 #350C40
split-complementary
#401B0C #0C4035 #0C1740
monochromatic
#1A0B05 #1A0B05 #401B0C #743116 #A7461F

Accessibility & contrast

On white

15.22
#401B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#401B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401B0C
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B0C#FFFFFF#000000##FFFFFF
##401B0C1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25210A
Deuteranopia (green-blind)
#2E290B
Tritanopia (blue-blind)
#471318
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401b0c;
/* rgb */ color: rgb(64, 27, 12);
/* oklch */ color: oklch(27.3% 0.063 41.7);
Tailwind
colors: {
  custom: {
    50: '#79584c',
    500: '#401b0c',
    950: '#000000',
  },
}
SCSS
$custom: #401b0c;
$custom-light: #79584c;
$custom-dark: #000000;
JSON
{
  "hex": "#401b0c",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 12
  },
  "hsl": {
    "h": 17.308,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.27314,
    "c": 0.06282,
    "h": 41.7
  },
  "luminance": 0.019
}

Semantic roles & 50–950 ramp

primary
#401B0C
secondary
#2C657C
accent
#B9EB3D
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090301
muted
#7B7877

Preview Lab

Preview with #401B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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