#401314#401314

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

Color values

HEX#401314
RGBrgb(64, 19, 20)
HSLhsl(359, 54%, 16%)
HSVhsv(359, 70%, 25%)
CMYKcmyk(0%, 70.3%, 68.8%, 74.9%)
CIE-LABlab(13.27, 22.01, 10.84)
CIE-LCHlch(13.27, 24.54, 26.23°)
OKLaboklab(26.08% 0.0652 0.0264)
OKLCHoklch(26.08% 0.07 22.1)
XYZxyz(2.4737, 1.6066, 0.8415)
Luminance0.0161 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401314 #13403F
analogous
#40132B #401314 #402913
triadic
#401314 #144013 #131440
tetradic
#401314 #2B4013 #13403F #291340
square
#401314 #2B4013 #13403F #291340
split-complementary
#401314 #134029 #132B40
monochromatic
#180707 #180707 #401314 #6F2123 #9E2F31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##401314#FFFFFF#000000##FFFFFF
##4013141.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)
#1E1C14
Deuteranopia (green-blind)
#2A2613
Tritanopia (blue-blind)
#470A14
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401314;
/* rgb */ color: rgb(64, 19, 20);
/* oklch */ color: oklch(26.1% 0.070 22.1);
Tailwind
colors: {
  custom: {
    50: '#795351',
    500: '#401314',
    950: '#000000',
  },
}
SCSS
$custom: #401314;
$custom-light: #795351;
$custom-dark: #000000;
JSON
{
  "hex": "#401314",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 20
  },
  "hsl": {
    "h": 358.667,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26081,
    "c": 0.07035,
    "h": 22.1
  },
  "luminance": 0.01606
}

Semantic roles & 50–950 ramp

primary
#401314
secondary
#367977
accent
#DEDA4A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090202
muted
#7B7878

Preview Lab

Preview with #401314

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

Preview Lab → · Contrast checker → · Palette generator →

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