#401216#401216

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

Color values

HEX#401216
RGBrgb(64, 18, 22)
HSLhsl(355, 56%, 16%)
HSVhsv(355, 72%, 25%)
CMYKcmyk(0%, 71.9%, 65.6%, 74.9%)
CIE-LABlab(13.11, 22.73, 9.25)
CIE-LCHlch(13.11, 24.54, 22.16°)
OKLaboklab(25.98% 0.0679 0.0228)
OKLCHoklch(25.98% 0.072 18.5)
XYZxyz(2.4757, 1.5809, 0.9337)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401216 #12403C
analogous
#40122D #401216 #402512
triadic
#401216 #164012 #121640
tetradic
#401216 #2D4012 #12403C #251240
square
#401216 #2D4012 #12403C #251240
split-complementary
#401216 #124025 #122D40
monochromatic
#180708 #180708 #401216 #701F26 #A02D37

Accessibility & contrast

On white

15.96
#401216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401216
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401216#FFFFFF#000000##FFFFFF
##4012161.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1C16
Deuteranopia (green-blind)
#292515
Tritanopia (blue-blind)
#470914
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401216;
/* rgb */ color: rgb(64, 18, 22);
/* oklch */ color: oklch(26.0% 0.072 18.5);
Tailwind
colors: {
  custom: {
    50: '#795352',
    500: '#401216',
    950: '#000000',
  },
}
SCSS
$custom: #401216;
$custom-light: #795352;
$custom-dark: #000000;
JSON
{
  "hex": "#401216",
  "rgb": {
    "r": 64,
    "g": 18,
    "b": 22
  },
  "hsl": {
    "h": 354.783,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.25978,
    "c": 0.07158,
    "h": 18.5
  },
  "luminance": 0.01581
}

Semantic roles & 50–950 ramp

primary
#401216
secondary
#357973
accent
#DFD248
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090202
muted
#7B7878

Preview Lab

Preview with #401216

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

Preview Lab → · Contrast checker → · Palette generator →

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