#401B24#401B24

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

Color values

HEX#401B24
RGBrgb(64, 27, 36)
HSLhsl(345, 41%, 18%)
HSVhsv(345, 58%, 25%)
CMYKcmyk(0%, 57.8%, 43.8%, 74.9%)
CIE-LABlab(15.50, 19.12, 2.37)
CIE-LCHlch(15.50, 19.27, 7.06°)
OKLaboklab(27.9% 0.0581 0.0064)
OKLCHoklch(27.9% 0.058 6.2)
XYZxyz(2.8249, 2.0015, 1.9063)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B24 #1B4037
analogous
#401B36 #401B24 #40241B
triadic
#401B24 #24401B #1B2440
tetradic
#401B24 #36401B #1B4037 #241B40
square
#401B24 #36401B #1B4037 #241B40
split-complementary
#401B24 #1B4024 #1B3640
monochromatic
#16090C #16090C #401B24 #6B2D3C #963F54

Accessibility & contrast

On white

15.00
#401B24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B24
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B24#FFFFFF#000000##FFFFFF
##401B241.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222224
Deuteranopia (green-blind)
#2B2923
Tritanopia (blue-blind)
#46171E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401b24;
/* rgb */ color: rgb(64, 27, 36);
/* oklch */ color: oklch(27.9% 0.058 6.2);
Tailwind
colors: {
  custom: {
    50: '#77585e',
    500: '#401b24',
    950: '#000000',
  },
}
SCSS
$custom: #401b24;
$custom-light: #77585e;
$custom-dark: #000000;
JSON
{
  "hex": "#401b24",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 36
  },
  "hsl": {
    "h": 345.405,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27897,
    "c": 0.05845,
    "h": 6.2
  },
  "luminance": 0.02001
}

Semantic roles & 50–950 ramp

primary
#401B24
secondary
#417569
accent
#D1B357
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090304
muted
#7B7879

Preview Lab

Preview with #401B24

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

Preview Lab → · Contrast checker → · Palette generator →

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