#401B1B#401B1B

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

Color values

HEX#401B1B
RGBrgb(64, 27, 27)
HSLhsl(0, 41%, 18%)
HSVhsv(0, 58%, 25%)
CMYKcmyk(0%, 57.8%, 57.8%, 74.9%)
CIE-LABlab(15.24, 17.99, 8.49)
CIE-LCHlch(15.24, 19.89, 25.27°)
OKLaboklab(27.62% 0.0538 0.0212)
OKLCHoklch(27.62% 0.058 21.5)
XYZxyz(2.7043, 1.9533, 1.2713)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B1B #1B4040
analogous
#401B2D #401B1B #402D1B
triadic
#401B1B #1B401B #1B1B40
tetradic
#401B1B #2D401B #1B4040 #2D1B40
square
#401B1B #2D401B #1B4040 #2D1B40
split-complementary
#401B1B #1B402D #1B2D40
monochromatic
#160909 #160909 #401B1B #6B2D2D #963F3F

Accessibility & contrast

On white

15.10
#401B1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B1B
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B1B#FFFFFF#000000##FFFFFF
##401B1B1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23211B
Deuteranopia (green-blind)
#2D291A
Tritanopia (blue-blind)
#46161B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401b1b;
/* rgb */ color: rgb(64, 27, 27);
/* oklch */ color: oklch(27.6% 0.058 21.5);
Tailwind
colors: {
  custom: {
    50: '#775857',
    500: '#401b1b',
    950: '#000000',
  },
}
SCSS
$custom: #401b1b;
$custom-light: #775857;
$custom-dark: #000000;
JSON
{
  "hex": "#401b1b",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 27
  },
  "hsl": {
    "h": 0,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27621,
    "c": 0.05786,
    "h": 21.5
  },
  "luminance": 0.01953
}

Semantic roles & 50–950 ramp

primary
#401B1B
secondary
#417575
accent
#D1D157
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090303
muted
#7B7878

Preview Lab

Preview with #401B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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