#401E20#401E20

#401E20 is a dark, muted red. Relative luminance 0.021; OKLCH L 28.3% C 0.053 H 17.3°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#401E20
RGBrgb(64, 30, 32)
HSLhsl(356, 36%, 18%)
HSVhsv(356, 53%, 25%)
CMYKcmyk(0%, 53.1%, 50%, 74.9%)
CIE-LABlab(16.12, 16.69, 6.12)
CIE-LCHlch(16.12, 17.78, 20.14°)
OKLaboklab(28.33% 0.0504 0.0157)
OKLCHoklch(28.33% 0.053 17.3)
XYZxyz(2.8395, 2.1231, 1.6265)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401E20 #1E403E
analogous
#401E31 #401E20 #402D1E
triadic
#401E20 #20401E #1E2040
tetradic
#401E20 #31401E #1E403E #2D1E40
square
#401E20 #31401E #1E403E #2D1E40
split-complementary
#401E20 #1E402D #1E3140
monochromatic
#150A0A #160A0B #401E20 #6A3235 #93454A

Accessibility & contrast

On white

14.74
#401E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#401E20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401E20
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401E20#FFFFFF#000000##FFFFFF
##401E201.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252420
Deuteranopia (green-blind)
#2D2B1F
Tritanopia (blue-blind)
#461A1F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401e20;
/* rgb */ color: rgb(64, 30, 32);
/* oklch */ color: oklch(28.3% 0.053 17.3);
Tailwind
colors: {
  custom: {
    50: '#775a5b',
    500: '#401e20',
    950: '#000000',
  },
}
SCSS
$custom: #401e20;
$custom-light: #775a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#401e20",
  "rgb": {
    "r": 64,
    "g": 30,
    "b": 32
  },
  "hsl": {
    "h": 356.471,
    "s": 36.17,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28332,
    "c": 0.05276,
    "h": 17.3
  },
  "luminance": 0.02123
}

Semantic roles & 50–950 ramp

primary
#401E20
secondary
#457472
accent
#CCC65C
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090404
muted
#7B7979

Preview Lab

Preview with #401E20

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

Preview Lab → · Contrast checker → · Palette generator →

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