#401008#401008

#401008 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.4% C 0.077 H 32.1°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#401008
RGBrgb(64, 16, 8)
HSLhsl(9, 78%, 14%)
HSVhsv(9, 88%, 25%)
CMYKcmyk(0%, 75%, 87.5%, 74.9%)
CIE-LABlab(12.47, 22.82, 15.90)
CIE-LCHlch(12.47, 27.81, 34.87°)
OKLaboklab(25.41% 0.0649 0.0406)
OKLCHoklch(25.41% 0.077 32.1)
XYZxyz(2.3437, 1.4784, 0.3916)
Luminance0.0148 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401008 #083840
analogous
#40081C #401008 #402C08
triadic
#401008 #084010 #100840
tetradic
#401008 #1C4008 #083840 #2C0840
square
#401008 #1C4008 #083840 #2C0840
split-complementary
#401008 #08402C #081C40
monochromatic
#1B0703 #1B0703 #401008 #761E0F #AD2B16

Accessibility & contrast

On white

16.21
#401008 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#401008 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401008
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401008#FFFFFF#000000##FFFFFF
##4010081.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1A07
Deuteranopia (green-blind)
#2A2406
Tritanopia (blue-blind)
#47040E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #401008;
/* rgb */ color: rgb(64, 16, 8);
/* oklch */ color: oklch(25.4% 0.077 32.1);
Tailwind
colors: {
  custom: {
    50: '#7a514a',
    500: '#401008',
    950: '#000000',
  },
}
SCSS
$custom: #401008;
$custom-light: #7a514a;
$custom-dark: #000000;
JSON
{
  "hex": "#401008",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 8
  },
  "hsl": {
    "h": 8.571,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25414,
    "c": 0.07652,
    "h": 32.1
  },
  "luminance": 0.01478
}

Semantic roles & 50–950 ramp

primary
#401008
secondary
#25727E
accent
#D9F434
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #401008

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

Preview Lab → · Contrast checker → · Palette generator →

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