#401B20#401B20

#401B20 is a dark, muted red. Relative luminance 0.020; OKLCH L 27.8% C 0.058 H 13.1°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#401B20
RGBrgb(64, 27, 32)
HSLhsl(352, 41%, 18%)
HSVhsv(352, 58%, 25%)
CMYKcmyk(0%, 57.8%, 50%, 74.9%)
CIE-LABlab(15.37, 18.59, 5.08)
CIE-LCHlch(15.37, 19.27, 15.29°)
OKLaboklab(27.77% 0.0562 0.0131)
OKLCHoklch(27.77% 0.058 13.1)
XYZxyz(2.7672, 1.9784, 1.6024)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B20 #1B403B
analogous
#401B32 #401B20 #40281B
triadic
#401B20 #20401B #1B2040
tetradic
#401B20 #32401B #1B403B #281B40
square
#401B20 #32401B #1B403B #281B40
split-complementary
#401B20 #1B4028 #1B3240
monochromatic
#16090B #16090B #401B20 #6B2D36 #963F4B

Accessibility & contrast

On white

15.05
#401B20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B20
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B20#FFFFFF#000000##FFFFFF
##401B201.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222220
Deuteranopia (green-blind)
#2C291F
Tritanopia (blue-blind)
#46171D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401b20;
/* rgb */ color: rgb(64, 27, 32);
/* oklch */ color: oklch(27.8% 0.058 13.1);
Tailwind
colors: {
  custom: {
    50: '#77585b',
    500: '#401b20',
    950: '#000000',
  },
}
SCSS
$custom: #401b20;
$custom-light: #77585b;
$custom-dark: #000000;
JSON
{
  "hex": "#401b20",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 32
  },
  "hsl": {
    "h": 351.892,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27765,
    "c": 0.05775,
    "h": 13.1
  },
  "luminance": 0.01978
}

Semantic roles & 50–950 ramp

primary
#401B20
secondary
#41756E
accent
#D1C057
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090304
muted
#7B7879

Preview Lab

Preview with #401B20

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

Preview Lab → · Contrast checker → · Palette generator →

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