#401B21#401B21

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

Color values

HEX#401B21
RGBrgb(64, 27, 33)
HSLhsl(350, 41%, 18%)
HSVhsv(350, 58%, 25%)
CMYKcmyk(0%, 57.8%, 48.4%, 74.9%)
CIE-LABlab(15.40, 18.72, 4.40)
CIE-LCHlch(15.40, 19.23, 13.23°)
OKLaboklab(27.8% 0.0567 0.0115)
OKLCHoklch(27.8% 0.058 11.4)
XYZxyz(2.7810, 1.9839, 1.6750)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B21 #1B403A
analogous
#401B33 #401B21 #40271B
triadic
#401B21 #21401B #1B2140
tetradic
#401B21 #33401B #1B403A #271B40
square
#401B21 #33401B #1B403A #271B40
split-complementary
#401B21 #1B4027 #1B3340
monochromatic
#16090B #16090B #401B21 #6B2D37 #963F4D

Accessibility & contrast

On white

15.03
#401B21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B21
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B21#FFFFFF#000000##FFFFFF
##401B211.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222221
Deuteranopia (green-blind)
#2C2920
Tritanopia (blue-blind)
#46171D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401b21;
/* rgb */ color: rgb(64, 27, 33);
/* oklch */ color: oklch(27.8% 0.058 11.4);
Tailwind
colors: {
  custom: {
    50: '#77585c',
    500: '#401b21',
    950: '#000000',
  },
}
SCSS
$custom: #401b21;
$custom-light: #77585c;
$custom-dark: #000000;
JSON
{
  "hex": "#401b21",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 33
  },
  "hsl": {
    "h": 350.27,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27797,
    "c": 0.05785,
    "h": 11.4
  },
  "luminance": 0.01984
}

Semantic roles & 50–950 ramp

primary
#401B21
secondary
#41756D
accent
#D1BD57
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090304
muted
#7B7879

Preview Lab

Preview with #401B21

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

Preview Lab → · Contrast checker → · Palette generator →

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