#401315#401315

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

Color values

HEX#401315
RGBrgb(64, 19, 21)
HSLhsl(357, 54%, 16%)
HSVhsv(357, 70%, 25%)
CMYKcmyk(0%, 70.3%, 67.2%, 74.9%)
CIE-LABlab(13.29, 22.10, 10.20)
CIE-LCHlch(13.29, 24.34, 24.77°)
OKLaboklab(26.1% 0.0657 0.0249)
OKLCHoklch(26.1% 0.07 20.8)
XYZxyz(2.4828, 1.6102, 0.8894)
Luminance0.0161 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401315 #13403E
analogous
#40132C #401315 #402813
triadic
#401315 #154013 #131540
tetradic
#401315 #2C4013 #13403E #281340
square
#401315 #2C4013 #13403E #281340
split-complementary
#401315 #134028 #132C40
monochromatic
#180708 #180708 #401315 #6F2124 #9E2F34

Accessibility & contrast

On white

15.89
#401315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401315
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401315#FFFFFF#000000##FFFFFF
##4013151.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1C15
Deuteranopia (green-blind)
#2A2614
Tritanopia (blue-blind)
#470A14
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401315;
/* rgb */ color: rgb(64, 19, 21);
/* oklch */ color: oklch(26.1% 0.070 20.8);
Tailwind
colors: {
  custom: {
    50: '#795352',
    500: '#401315',
    950: '#000000',
  },
}
SCSS
$custom: #401315;
$custom-light: #795352;
$custom-dark: #000000;
JSON
{
  "hex": "#401315",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 21
  },
  "hsl": {
    "h": 357.333,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26104,
    "c": 0.07024,
    "h": 20.8
  },
  "luminance": 0.0161
}

Semantic roles & 50–950 ramp

primary
#401315
secondary
#367976
accent
#DED74A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090202
muted
#7B7878

Preview Lab

Preview with #401315

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

Preview Lab → · Contrast checker → · Palette generator →

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