#401415#401415

#401415 is a dark, moderate red. Relative luminance 0.016; OKLCH L 26.3% C 0.069 H 21.8°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#401415
RGBrgb(64, 20, 21)
HSLhsl(359, 52%, 16%)
HSVhsv(359, 69%, 25%)
CMYKcmyk(0%, 68.8%, 67.2%, 74.9%)
CIE-LABlab(13.50, 21.54, 10.47)
CIE-LCHlch(13.50, 23.95, 25.93°)
OKLaboklab(26.26% 0.0639 0.0256)
OKLCHoklch(26.26% 0.069 21.8)
XYZxyz(2.5001, 1.6448, 0.8951)
Luminance0.0164 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401415 #14403F
analogous
#40142B #401415 #402914
triadic
#401415 #154014 #141540
tetradic
#401415 #2B4014 #14403F #291440
square
#401415 #2B4014 #14403F #291440
split-complementary
#401415 #144029 #142B40
monochromatic
#170708 #170708 #401415 #6F2324 #9D3134

Accessibility & contrast

On white

15.80
#401415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#401415 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401415
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401415#FFFFFF#000000##FFFFFF
##4014151.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1D15
Deuteranopia (green-blind)
#2A2614
Tritanopia (blue-blind)
#470C15
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401415;
/* rgb */ color: rgb(64, 20, 21);
/* oklch */ color: oklch(26.3% 0.069 21.8);
Tailwind
colors: {
  custom: {
    50: '#795452',
    500: '#401415',
    950: '#000000',
  },
}
SCSS
$custom: #401415;
$custom-light: #795452;
$custom-dark: #000000;
JSON
{
  "hex": "#401415",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 21
  },
  "hsl": {
    "h": 358.636,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26261,
    "c": 0.06884,
    "h": 21.8
  },
  "luminance": 0.01644
}

Semantic roles & 50–950 ramp

primary
#401415
secondary
#387877
accent
#DCD94C
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090302
muted
#7B7878

Preview Lab

Preview with #401415

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

Preview Lab → · Contrast checker → · Palette generator →

#401415 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva