#401B19#401B19

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

Color values

HEX#401B19
RGBrgb(64, 27, 25)
HSLhsl(3, 44%, 17%)
HSVhsv(3, 61%, 25%)
CMYKcmyk(0%, 57.8%, 60.9%, 74.9%)
CIE-LABlab(15.19, 17.77, 9.85)
CIE-LCHlch(15.19, 20.32, 29.00°)
OKLaboklab(27.57% 0.0528 0.0244)
OKLCHoklch(27.57% 0.058 24.7)
XYZxyz(2.6820, 1.9443, 1.1536)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B19 #193E40
analogous
#40192B #401B19 #402F19
triadic
#401B19 #19401B #1B1940
tetradic
#401B19 #2B4019 #193E40 #2F1940
square
#401B19 #2B4019 #193E40 #2F1940
split-complementary
#401B19 #19402F #192B40
monochromatic
#160909 #160909 #401B19 #6C2E2A #98403B

Accessibility & contrast

On white

15.12
#401B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B19
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B19#FFFFFF#000000##FFFFFF
##401B191.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242119
Deuteranopia (green-blind)
#2D2918
Tritanopia (blue-blind)
#46151B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401b19;
/* rgb */ color: rgb(64, 27, 25);
/* oklch */ color: oklch(27.6% 0.058 24.7);
Tailwind
colors: {
  custom: {
    50: '#785855',
    500: '#401b19',
    950: '#000000',
  },
}
SCSS
$custom: #401b19;
$custom-light: #785855;
$custom-dark: #000000;
JSON
{
  "hex": "#401b19",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 25
  },
  "hsl": {
    "h": 3.077,
    "s": 43.82,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27569,
    "c": 0.05818,
    "h": 24.7
  },
  "luminance": 0.01944
}

Semantic roles & 50–950 ramp

primary
#401B19
secondary
#3F7376
accent
#CDD454
background
#F7F5F4
surface
#EDE9E8
border
#C8C5C4
text
#090303
muted
#7B7878

Preview Lab

Preview with #401B19

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

Preview Lab → · Contrast checker → · Palette generator →

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