#401517#401517

#401517 is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.5% C 0.067 H 20.1°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#401517
RGBrgb(64, 21, 23)
HSLhsl(357, 51%, 17%)
HSVhsv(357, 67%, 25%)
CMYKcmyk(0%, 67.2%, 64.1%, 74.9%)
CIE-LABlab(13.76, 21.16, 9.39)
CIE-LCHlch(13.76, 23.15, 23.92°)
OKLaboklab(26.47% 0.0631 0.0231)
OKLCHoklch(26.47% 0.067 20.1)
XYZxyz(2.5374, 1.6885, 1.0027)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401517 #15403E
analogous
#40152D #401517 #402915
triadic
#401517 #174015 #151740
tetradic
#401517 #2D4015 #15403E #291540
square
#401517 #2D4015 #15403E #291540
split-complementary
#401517 #154029 #152D40
monochromatic
#170808 #170808 #401517 #6E2428 #9C3338

Accessibility & contrast

On white

15.70
#401517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#401517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401517
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401517#FFFFFF#000000##FFFFFF
##4015171.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #401517;
/* rgb */ color: rgb(64, 21, 23);
/* oklch */ color: oklch(26.5% 0.067 20.1);
Tailwind
colors: {
  custom: {
    50: '#785453',
    500: '#401517',
    950: '#000000',
  },
}
SCSS
$custom: #401517;
$custom-light: #785453;
$custom-dark: #000000;
JSON
{
  "hex": "#401517",
  "rgb": {
    "r": 64,
    "g": 21,
    "b": 23
  },
  "hsl": {
    "h": 357.209,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26471,
    "c": 0.06722,
    "h": 20.1
  },
  "luminance": 0.01688
}

Semantic roles & 50–950 ramp

primary
#401517
secondary
#397875
accent
#DAD44E
background
#F7F4F4
surface
#EEE8E7
border
#C9C4C3
text
#090302
muted
#7B7878

Preview Lab

Preview with #401517

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

Preview Lab → · Contrast checker → · Palette generator →

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