#401B22#401B22

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

Color values

HEX#401B22
RGBrgb(64, 27, 34)
HSLhsl(349, 41%, 18%)
HSVhsv(349, 58%, 25%)
CMYKcmyk(0%, 57.8%, 46.9%, 74.9%)
CIE-LABlab(15.43, 18.85, 3.72)
CIE-LCHlch(15.43, 19.21, 11.17°)
OKLaboklab(27.83% 0.0572 0.0098)
OKLCHoklch(27.83% 0.058 9.7)
XYZxyz(2.7952, 1.9896, 1.7499)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401B22 #1B4039
analogous
#401B34 #401B22 #40261B
triadic
#401B22 #22401B #1B2240
tetradic
#401B22 #34401B #1B4039 #261B40
square
#401B22 #34401B #1B4039 #261B40
split-complementary
#401B22 #1B4026 #1B3440
monochromatic
#16090B #16090B #401B22 #6B2D39 #963F50

Accessibility & contrast

On white

15.02
#401B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401B22
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401B22#FFFFFF#000000##FFFFFF
##401B221.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #401b22;
/* rgb */ color: rgb(64, 27, 34);
/* oklch */ color: oklch(27.8% 0.058 9.7);
Tailwind
colors: {
  custom: {
    50: '#77585c',
    500: '#401b22',
    950: '#000000',
  },
}
SCSS
$custom: #401b22;
$custom-light: #77585c;
$custom-dark: #000000;
JSON
{
  "hex": "#401b22",
  "rgb": {
    "r": 64,
    "g": 27,
    "b": 34
  },
  "hsl": {
    "h": 348.649,
    "s": 40.659,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27829,
    "c": 0.05801,
    "h": 9.7
  },
  "luminance": 0.01989
}

Semantic roles & 50–950 ramp

primary
#401B22
secondary
#41756C
accent
#D1BA57
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090304
muted
#7B7879

Preview Lab

Preview with #401B22

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

Preview Lab → · Contrast checker → · Palette generator →

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