#401B18#401B18

#401B18 is a dark, muted red. Relative luminance 0.019; OKLCH L 27.5% C 0.058 H 26.3°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#401B18
RGBrgb(64, 27, 24)
HSLhsl(5, 45%, 17%)
HSVhsv(5, 63%, 25%)
CMYKcmyk(0%, 57.8%, 62.5%, 74.9%)
CIE-LABlab(15.17, 17.67, 10.53)
CIE-LCHlch(15.17, 20.57, 30.80°)
OKLaboklab(27.54% 0.0524 0.0259)
OKLCHoklch(27.54% 0.058 26.3)
XYZxyz(2.6714, 1.9401, 1.0978)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B18 #183D40
analogous
#401829 #401B18 #402F18
triadic
#401B18 #18401B #1B1840
tetradic
#401B18 #294018 #183D40 #2F1840
square
#401B18 #294018 #183D40 #2F1840
split-complementary
#401B18 #18402F #182940
monochromatic
#160908 #160908 #401B18 #6D2E29 #994139

Accessibility & contrast

On white

15.13
#401B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#401B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401B18
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B18#FFFFFF#000000##FFFFFF
##401B181.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242118
Deuteranopia (green-blind)
#2D2917
Tritanopia (blue-blind)
#46151A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401b18;
/* rgb */ color: rgb(64, 27, 24);
/* oklch */ color: oklch(27.5% 0.058 26.3);
Tailwind
colors: {
  custom: {
    50: '#785854',
    500: '#401b18',
    950: '#000000',
  },
}
SCSS
$custom: #401b18;
$custom-light: #785854;
$custom-dark: #000000;
JSON
{
  "hex": "#401b18",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 24
  },
  "hsl": {
    "h": 4.5,
    "s": 45.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27544,
    "c": 0.0584,
    "h": 26.3
  },
  "luminance": 0.0194
}

Semantic roles & 50–950 ramp

primary
#401B18
secondary
#3D7277
accent
#CBD553
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#090302
muted
#7B7878

Preview Lab

Preview with #401B18

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

Preview Lab → · Contrast checker → · Palette generator →

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