#401317#401317

#401317 is a dark, moderate red. Relative luminance 0.016; OKLCH L 26.2% C 0.070 H 18.1°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#401317
RGBrgb(64, 19, 23)
HSLhsl(355, 54%, 16%)
HSVhsv(355, 70%, 25%)
CMYKcmyk(0%, 70.3%, 64.1%, 74.9%)
CIE-LABlab(13.34, 22.28, 8.83)
CIE-LCHlch(13.34, 23.96, 21.61°)
OKLaboklab(26.16% 0.0666 0.0218)
OKLCHoklch(26.16% 0.07 18.1)
XYZxyz(2.5021, 1.6179, 0.9910)
Luminance0.0162 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401317 #13403C
analogous
#40132E #401317 #402613
triadic
#401317 #174013 #131740
tetradic
#401317 #2E4013 #13403C #261340
square
#401317 #2E4013 #13403C #261340
split-complementary
#401317 #134026 #132E40
monochromatic
#180708 #180708 #401317 #6F2128 #9E2F39

Accessibility & contrast

On white

15.87
#401317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#401317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401317
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401317#FFFFFF#000000##FFFFFF
##4013171.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1C17
Deuteranopia (green-blind)
#292616
Tritanopia (blue-blind)
#470B15
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401317;
/* rgb */ color: rgb(64, 19, 23);
/* oklch */ color: oklch(26.2% 0.070 18.1);
Tailwind
colors: {
  custom: {
    50: '#785353',
    500: '#401317',
    950: '#000000',
  },
}
SCSS
$custom: #401317;
$custom-light: #785353;
$custom-dark: #000000;
JSON
{
  "hex": "#401317",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 23
  },
  "hsl": {
    "h": 354.667,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26155,
    "c": 0.07012,
    "h": 18.1
  },
  "luminance": 0.01618
}

Semantic roles & 50–950 ramp

primary
#401317
secondary
#367973
accent
#DED04A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090202
muted
#7B7878

Preview Lab

Preview with #401317

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

Preview Lab → · Contrast checker → · Palette generator →

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