#401208#401208

#401208 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.7% C 0.074 H 34.0°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#401208
RGBrgb(64, 18, 8)
HSLhsl(11, 78%, 14%)
HSVhsv(11, 88%, 25%)
CMYKcmyk(0%, 71.9%, 87.5%, 74.9%)
CIE-LABlab(12.86, 21.76, 16.43)
CIE-LCHlch(12.86, 27.27, 37.05°)
OKLaboklab(25.71% 0.0616 0.0415)
OKLCHoklch(25.71% 0.074 34)
XYZxyz(2.3747, 1.5405, 0.4020)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401208 #083640
analogous
#40081A #401208 #402E08
triadic
#401208 #084012 #120840
tetradic
#401208 #1A4008 #083640 #2E0840
square
#401208 #1A4008 #083640 #2E0840
split-complementary
#401208 #08402E #081A40
monochromatic
#1B0803 #1B0803 #401208 #76210F #AD3116

Accessibility & contrast

On white

16.06
#401208 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401208
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401208#FFFFFF#000000##FFFFFF
##4012081.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1B07
Deuteranopia (green-blind)
#2A2507
Tritanopia (blue-blind)
#470610
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #401208;
/* rgb */ color: rgb(64, 18, 8);
/* oklch */ color: oklch(25.7% 0.074 34.0);
Tailwind
colors: {
  custom: {
    50: '#79524a',
    500: '#401208',
    950: '#000000',
  },
}
SCSS
$custom: #401208;
$custom-light: #79524a;
$custom-dark: #000000;
JSON
{
  "hex": "#401208",
  "rgb": {
    "r": 64,
    "g": 18,
    "b": 8
  },
  "hsl": {
    "h": 10.714,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25709,
    "c": 0.07426,
    "h": 34
  },
  "luminance": 0.0154
}

Semantic roles & 50–950 ramp

primary
#401208
secondary
#256F7E
accent
#D2F434
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #401208

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

Preview Lab → · Contrast checker → · Palette generator →

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