#401B15#401B15

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

Color values

HEX#401B15
RGBrgb(64, 27, 21)
HSLhsl(8, 51%, 17%)
HSVhsv(8, 67%, 25%)
CMYKcmyk(0%, 57.8%, 67.2%, 74.9%)
CIE-LABlab(15.11, 17.38, 12.57)
CIE-LCHlch(15.11, 21.45, 35.87°)
OKLaboklab(27.48% 0.0509 0.0303)
OKLCHoklch(27.48% 0.059 30.8)
XYZxyz(2.6419, 1.9283, 0.9424)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B15 #153A40
analogous
#401525 #401B15 #403115
triadic
#401B15 #15401B #1B1540
tetradic
#401B15 #254015 #153A40 #311540
square
#401B15 #254015 #153A40 #311540
split-complementary
#401B15 #154031 #152540
monochromatic
#170A08 #170A08 #401B15 #6E2E24 #9C4233

Accessibility & contrast

On white

15.16
#401B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B15
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B15#FFFFFF#000000##FFFFFF
##401B151.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242114
Deuteranopia (green-blind)
#2D2914
Tritanopia (blue-blind)
#47151A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401b15;
/* rgb */ color: rgb(64, 27, 21);
/* oklch */ color: oklch(27.5% 0.059 30.8);
Tailwind
colors: {
  custom: {
    50: '#785852',
    500: '#401b15',
    950: '#000000',
  },
}
SCSS
$custom: #401b15;
$custom-light: #785852;
$custom-dark: #000000;
JSON
{
  "hex": "#401b15",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 21
  },
  "hsl": {
    "h": 8.372,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27476,
    "c": 0.05924,
    "h": 30.8
  },
  "luminance": 0.01928
}

Semantic roles & 50–950 ramp

primary
#401B15
secondary
#396F78
accent
#C6DA4E
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090302
muted
#7B7878

Preview Lab

Preview with #401B15

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

Preview Lab → · Contrast checker → · Palette generator →

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