#401417#401417

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

Color values

HEX#401417
RGBrgb(64, 20, 23)
HSLhsl(356, 52%, 16%)
HSVhsv(356, 69%, 25%)
CMYKcmyk(0%, 68.8%, 64.1%, 74.9%)
CIE-LABlab(13.55, 21.73, 9.10)
CIE-LCHlch(13.55, 23.56, 22.74°)
OKLaboklab(26.31% 0.0649 0.0225)
OKLCHoklch(26.31% 0.069 19.1)
XYZxyz(2.5194, 1.6525, 0.9967)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401417 #14403D
analogous
#40142D #401417 #402714
triadic
#401417 #174014 #141740
tetradic
#401417 #2D4014 #14403D #271440
square
#401417 #2D4014 #14403D #271440
split-complementary
#401417 #144027 #142D40
monochromatic
#170708 #170708 #401417 #6F2328 #9D3139

Accessibility & contrast

On white

15.78
#401417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401417
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401417#FFFFFF#000000##FFFFFF
##4014171.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #401417;
/* rgb */ color: rgb(64, 20, 23);
/* oklch */ color: oklch(26.3% 0.069 19.1);
Tailwind
colors: {
  custom: {
    50: '#785453',
    500: '#401417',
    950: '#000000',
  },
}
SCSS
$custom: #401417;
$custom-light: #785453;
$custom-dark: #000000;
JSON
{
  "hex": "#401417",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 23
  },
  "hsl": {
    "h": 355.909,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2631,
    "c": 0.06867,
    "h": 19.1
  },
  "luminance": 0.01652
}

Semantic roles & 50–950 ramp

primary
#401417
secondary
#387874
accent
#DCD24C
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090302
muted
#7B7878

Preview Lab

Preview with #401417

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

Preview Lab → · Contrast checker → · Palette generator →

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