#401219#401219

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

Color values

HEX#401219
RGBrgb(64, 18, 25)
HSLhsl(351, 56%, 16%)
HSVhsv(351, 72%, 25%)
CMYKcmyk(0%, 71.9%, 60.9%, 74.9%)
CIE-LABlab(13.19, 23.01, 7.15)
CIE-LCHlch(13.19, 24.10, 17.27°)
OKLaboklab(26.06% 0.0693 0.018)
OKLCHoklch(26.06% 0.072 14.5)
XYZxyz(2.5063, 1.5931, 1.0950)
Luminance0.0159 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401219 #124039
analogous
#401230 #401219 #402212
triadic
#401219 #194012 #121940
tetradic
#401219 #304012 #124039 #221240
square
#401219 #304012 #124039 #221240
split-complementary
#401219 #124022 #123040
monochromatic
#180709 #180709 #401219 #701F2C #A02D3E

Accessibility & contrast

On white

15.93
#401219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401219
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401219#FFFFFF#000000##FFFFFF
##4012191.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1C19
Deuteranopia (green-blind)
#292518
Tritanopia (blue-blind)
#470A15
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401219;
/* rgb */ color: rgb(64, 18, 25);
/* oklch */ color: oklch(26.1% 0.072 14.5);
Tailwind
colors: {
  custom: {
    50: '#785355',
    500: '#401219',
    950: '#000000',
  },
}
SCSS
$custom: #401219;
$custom-light: #785355;
$custom-dark: #000000;
JSON
{
  "hex": "#401219",
  "rgb": {
    "r": 64,
    "g": 18,
    "b": 25
  },
  "hsl": {
    "h": 350.87,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26058,
    "c": 0.0716,
    "h": 14.5
  },
  "luminance": 0.01593
}

Semantic roles & 50–950 ramp

primary
#401219
secondary
#35796F
accent
#DFC848
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090203
muted
#7B7878

Preview Lab

Preview with #401219

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

Preview Lab → · Contrast checker → · Palette generator →

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