#401508#401508

#401508 is a dark, moderate red. Relative luminance 0.016; OKLCH L 26.2% C 0.071 H 37.3°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#401508
RGBrgb(64, 21, 8)
HSLhsl(14, 78%, 14%)
HSVhsv(14, 88%, 25%)
CMYKcmyk(0%, 67.2%, 87.5%, 74.9%)
CIE-LABlab(13.50, 20.09, 17.27)
CIE-LCHlch(13.50, 26.49, 40.69°)
OKLaboklab(26.19% 0.0564 0.0429)
OKLCHoklch(26.19% 0.071 37.3)
XYZxyz(2.4266, 1.6442, 0.4193)
Luminance0.0164 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401508 #083340
analogous
#400817 #401508 #403108
triadic
#401508 #084015 #150840
tetradic
#401508 #174008 #083340 #310840
square
#401508 #174008 #083340 #310840
split-complementary
#401508 #084031 #081740
monochromatic
#1B0903 #1B0903 #401508 #76270F #AD3916

Accessibility & contrast

On white

15.80
#401508 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#401508 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401508
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401508#FFFFFF#000000##FFFFFF
##4015081.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211D07
Deuteranopia (green-blind)
#2C2607
Tritanopia (blue-blind)
#470B12
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401508;
/* rgb */ color: rgb(64, 21, 8);
/* oklch */ color: oklch(26.2% 0.071 37.3);
Tailwind
colors: {
  custom: {
    50: '#79544a',
    500: '#401508',
    950: '#000000',
  },
}
SCSS
$custom: #401508;
$custom-light: #79544a;
$custom-dark: #000000;
JSON
{
  "hex": "#401508",
  "rgb": {
    "r": 64,
    "g": 21,
    "b": 8
  },
  "hsl": {
    "h": 13.929,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26188,
    "c": 0.07087,
    "h": 37.3
  },
  "luminance": 0.01644
}

Semantic roles & 50–950 ramp

primary
#401508
secondary
#256A7E
accent
#C8F434
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0301
muted
#7C7877

Preview Lab

Preview with #401508

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

Preview Lab → · Contrast checker → · Palette generator →

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