#401D20#401D20

#401D20 is a dark, muted red. Relative luminance 0.021; OKLCH L 28.1% C 0.054 H 15.8°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#401D20
RGBrgb(64, 29, 32)
HSLhsl(355, 38%, 18%)
HSVhsv(355, 55%, 25%)
CMYKcmyk(0%, 54.7%, 50%, 74.9%)
CIE-LABlab(15.87, 17.33, 5.77)
CIE-LCHlch(15.87, 18.27, 18.42°)
OKLaboklab(28.14% 0.0524 0.0148)
OKLCHoklch(28.14% 0.054 15.8)
XYZxyz(2.8146, 2.0733, 1.6182)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401D20 #1D403D
analogous
#401D31 #401D20 #402B1D
triadic
#401D20 #20401D #1D2040
tetradic
#401D20 #31401D #1D403D #2B1D40
square
#401D20 #31401D #1D403D #2B1D40
split-complementary
#401D20 #1D402B #1D3140
monochromatic
#150A0B #160A0B #401D20 #6A3035 #94434A

Accessibility & contrast

On white

14.85
#401D20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#401D20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401D20
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401D20#FFFFFF#000000##FFFFFF
##401D201.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242320
Deuteranopia (green-blind)
#2D2A1F
Tritanopia (blue-blind)
#46191E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401d20;
/* rgb */ color: rgb(64, 29, 32);
/* oklch */ color: oklch(28.1% 0.054 15.8);
Tailwind
colors: {
  custom: {
    50: '#775a5b',
    500: '#401d20',
    950: '#000000',
  },
}
SCSS
$custom: #401d20;
$custom-light: #775a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#401d20",
  "rgb": {
    "r": 64,
    "g": 29,
    "b": 32
  },
  "hsl": {
    "h": 354.857,
    "s": 37.634,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28139,
    "c": 0.05441,
    "h": 15.8
  },
  "luminance": 0.02073
}

Semantic roles & 50–950 ramp

primary
#401D20
secondary
#447571
accent
#CEC45A
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090404
muted
#7B7979

Preview Lab

Preview with #401D20

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

Preview Lab → · Contrast checker → · Palette generator →

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