#401E24#401E24

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

Color values

HEX#401E24
RGBrgb(64, 30, 36)
HSLhsl(349, 36%, 18%)
HSVhsv(349, 53%, 25%)
CMYKcmyk(0%, 53.1%, 43.8%, 74.9%)
CIE-LABlab(16.24, 17.24, 3.43)
CIE-LCHlch(16.24, 17.58, 11.25°)
OKLaboklab(28.46% 0.0523 0.009)
OKLCHoklch(28.46% 0.053 9.8)
XYZxyz(2.8972, 2.1462, 1.9304)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401E24 #1E403A
analogous
#401E35 #401E24 #40291E
triadic
#401E24 #24401E #1E2440
tetradic
#401E24 #35401E #1E403A #291E40
square
#401E24 #35401E #1E403A #291E40
split-complementary
#401E24 #1E4029 #1E3540
monochromatic
#150A0C #160A0D #401E24 #6A323B #934553

Accessibility & contrast

On white

14.69
#401E24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#401E24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401E24
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401E24#FFFFFF#000000##FFFFFF
##401E241.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242424
Deuteranopia (green-blind)
#2D2B23
Tritanopia (blue-blind)
#451B20
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #401e24;
/* rgb */ color: rgb(64, 30, 36);
/* oklch */ color: oklch(28.5% 0.053 9.8);
Tailwind
colors: {
  custom: {
    50: '#775b5e',
    500: '#401e24',
    950: '#000000',
  },
}
SCSS
$custom: #401e24;
$custom-light: #775b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#401e24",
  "rgb": {
    "r": 64,
    "g": 30,
    "b": 36
  },
  "hsl": {
    "h": 349.412,
    "s": 36.17,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28458,
    "c": 0.05306,
    "h": 9.8
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#401E24
secondary
#45746C
accent
#CCB85C
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090404
muted
#7B7979

Preview Lab

Preview with #401E24

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

Preview Lab → · Contrast checker → · Palette generator →

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