#401418#401418

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

Color values

HEX#401418
RGBrgb(64, 20, 24)
HSLhsl(355, 52%, 16%)
HSVhsv(355, 69%, 25%)
CMYKcmyk(0%, 68.8%, 62.5%, 74.9%)
CIE-LABlab(13.57, 21.82, 8.41)
CIE-LCHlch(13.57, 23.39, 21.07°)
OKLaboklab(26.34% 0.0654 0.0209)
OKLCHoklch(26.34% 0.069 17.7)
XYZxyz(2.5296, 1.6566, 1.0505)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401418 #14403C
analogous
#40142E #401418 #402614
triadic
#401418 #184014 #141840
tetradic
#401418 #2E4014 #14403C #261440
square
#401418 #2E4014 #14403C #261440
split-complementary
#401418 #144026 #142E40
monochromatic
#170709 #170709 #401418 #6F2329 #9D313B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##401418#FFFFFF#000000##FFFFFF
##4014181.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)
#1E1D18
Deuteranopia (green-blind)
#2A2617
Tritanopia (blue-blind)
#470C16
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401418;
/* rgb */ color: rgb(64, 20, 24);
/* oklch */ color: oklch(26.3% 0.069 17.7);
Tailwind
colors: {
  custom: {
    50: '#785454',
    500: '#401418',
    950: '#000000',
  },
}
SCSS
$custom: #401418;
$custom-light: #785454;
$custom-dark: #000000;
JSON
{
  "hex": "#401418",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 24
  },
  "hsl": {
    "h": 354.545,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26337,
    "c": 0.06863,
    "h": 17.7
  },
  "luminance": 0.01656
}

Semantic roles & 50–950 ramp

primary
#401418
secondary
#387872
accent
#DCCF4C
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090302
muted
#7B7878

Preview Lab

Preview with #401418

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

Preview Lab → · Contrast checker → · Palette generator →

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