#401B23#401B23

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

Color values

HEX#401B23
RGBrgb(64, 27, 35)
HSLhsl(347, 41%, 18%)
HSVhsv(347, 58%, 25%)
CMYKcmyk(0%, 57.8%, 45.3%, 74.9%)
CIE-LABlab(15.46, 18.98, 3.05)
CIE-LCHlch(15.46, 19.23, 9.11°)
OKLaboklab(27.86% 0.0577 0.0081)
OKLCHoklch(27.86% 0.058 8)
XYZxyz(2.8098, 1.9955, 1.8270)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B23 #1B4038
analogous
#401B35 #401B23 #40251B
triadic
#401B23 #23401B #1B2340
tetradic
#401B23 #35401B #1B4038 #251B40
square
#401B23 #35401B #1B4038 #251B40
split-complementary
#401B23 #1B4025 #1B3540
monochromatic
#16090C #16090C #401B23 #6B2D3B #963F52

Accessibility & contrast

On white

15.01
#401B23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B23
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B23#FFFFFF#000000##FFFFFF
##401B231.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #401b23;
/* rgb */ color: rgb(64, 27, 35);
/* oklch */ color: oklch(27.9% 0.058 8.0);
Tailwind
colors: {
  custom: {
    50: '#77585d',
    500: '#401b23',
    950: '#000000',
  },
}
SCSS
$custom: #401b23;
$custom-light: #77585d;
$custom-dark: #000000;
JSON
{
  "hex": "#401b23",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 35
  },
  "hsl": {
    "h": 347.027,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27863,
    "c": 0.05821,
    "h": 8
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

primary
#401B23
secondary
#41756A
accent
#D1B657
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090304
muted
#7B7879

Preview Lab

Preview with #401B23

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

Preview Lab → · Contrast checker → · Palette generator →

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