#401313#401313

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

Color values

HEX#401313
RGBrgb(64, 19, 19)
HSLhsl(0, 54%, 16%)
HSVhsv(0, 70%, 25%)
CMYKcmyk(0%, 70.3%, 70.3%, 74.9%)
CIE-LABlab(13.25, 21.93, 11.46)
CIE-LCHlch(13.25, 24.74, 27.60°)
OKLaboklab(26.06% 0.0647 0.0279)
OKLCHoklch(26.06% 0.07 23.3)
XYZxyz(2.4650, 1.6031, 0.7956)
Luminance0.0160 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401313 #134040
analogous
#40132A #401313 #402A13
triadic
#401313 #134013 #131340
tetradic
#401313 #2A4013 #134040 #2A1340
square
#401313 #2A4013 #134040 #2A1340
split-complementary
#401313 #13402A #132A40
monochromatic
#180707 #180707 #401313 #6F2121 #9E2F2F

Accessibility & contrast

On white

15.90
#401313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401313
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401313#FFFFFF#000000##FFFFFF
##4013131.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1C13
Deuteranopia (green-blind)
#2A2612
Tritanopia (blue-blind)
#470A13
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401313;
/* rgb */ color: rgb(64, 19, 19);
/* oklch */ color: oklch(26.1% 0.070 23.3);
Tailwind
colors: {
  custom: {
    50: '#795350',
    500: '#401313',
    950: '#000000',
  },
}
SCSS
$custom: #401313;
$custom-light: #795350;
$custom-dark: #000000;
JSON
{
  "hex": "#401313",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 19
  },
  "hsl": {
    "h": 0,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26058,
    "c": 0.07048,
    "h": 23.3
  },
  "luminance": 0.01603
}

Semantic roles & 50–950 ramp

primary
#401313
secondary
#367979
accent
#DEDE4A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090202
muted
#7B7878

Preview Lab

Preview with #401313

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

Preview Lab → · Contrast checker → · Palette generator →

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