#401213#401213

#401213 is a dark, moderate red. Relative luminance 0.016; OKLCH L 25.9% C 0.072 H 22.4°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#401213
RGBrgb(64, 18, 19)
HSLhsl(359, 56%, 16%)
HSVhsv(359, 72%, 25%)
CMYKcmyk(0%, 71.9%, 70.3%, 74.9%)
CIE-LABlab(13.05, 22.47, 11.19)
CIE-LCHlch(13.05, 25.10, 26.48°)
OKLaboklab(25.91% 0.0664 0.0273)
OKLCHoklch(25.91% 0.072 22.4)
XYZxyz(2.4484, 1.5699, 0.7901)
Luminance0.0157 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401213 #12403F
analogous
#40122A #401213 #402812
triadic
#401213 #134012 #121340
tetradic
#401213 #2A4012 #12403F #281240
square
#401213 #2A4012 #12403F #281240
split-complementary
#401213 #124028 #122A40
monochromatic
#180707 #180707 #401213 #701F21 #A02D2F

Accessibility & contrast

On white

15.98
#401213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#401213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401213
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401213#FFFFFF#000000##FFFFFF
##4012131.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1B13
Deuteranopia (green-blind)
#292512
Tritanopia (blue-blind)
#470813
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401213;
/* rgb */ color: rgb(64, 18, 19);
/* oklch */ color: oklch(25.9% 0.072 22.4);
Tailwind
colors: {
  custom: {
    50: '#795250',
    500: '#401213',
    950: '#000000',
  },
}
SCSS
$custom: #401213;
$custom-light: #795250;
$custom-dark: #000000;
JSON
{
  "hex": "#401213",
  "rgb": {
    "r": 64,
    "g": 18,
    "b": 19
  },
  "hsl": {
    "h": 358.696,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25906,
    "c": 0.07183,
    "h": 22.4
  },
  "luminance": 0.0157
}

Semantic roles & 50–950 ramp

primary
#401213
secondary
#357978
accent
#DFDC48
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #401213

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

Preview Lab → · Contrast checker → · Palette generator →

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