#400809#400809

#400809 is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.4% C 0.085 H 25.3°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#400809
RGBrgb(64, 8, 9)
HSLhsl(359, 78%, 14%)
HSVhsv(359, 88%, 25%)
CMYKcmyk(0%, 87.5%, 85.9%, 74.9%)
CIE-LABlab(11.16, 26.51, 13.70)
CIE-LCHlch(11.16, 29.84, 27.33°)
OKLaboklab(24.44% 0.0767 0.0363)
OKLCHoklch(24.44% 0.085 25.3)
XYZxyz(2.2508, 1.2837, 0.3877)
Luminance0.0128 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400809 #08403F
analogous
#400825 #400809 #402308
triadic
#400809 #094008 #080940
tetradic
#400809 #254008 #08403F #230840
square
#400809 #254008 #08403F #230840
split-complementary
#400809 #084023 #082540
monochromatic
#1B0304 #1B0304 #400809 #760F11 #AD1618

Accessibility & contrast

On white

16.71
#400809 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#400809 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400809
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400809#FFFFFF#000000##FFFFFF
##4008091.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191608
Deuteranopia (green-blind)
#272207
Tritanopia (blue-blind)
#470009
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400809;
/* rgb */ color: rgb(64, 8, 9);
/* oklch */ color: oklch(24.4% 0.085 25.3);
Tailwind
colors: {
  custom: {
    50: '#7a4d4a',
    500: '#400809',
    950: '#000000',
  },
}
SCSS
$custom: #400809;
$custom-light: #7a4d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#400809",
  "rgb": {
    "r": 64,
    "g": 8,
    "b": 9
  },
  "hsl": {
    "h": 358.929,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2444,
    "c": 0.08486,
    "h": 25.3
  },
  "luminance": 0.01283
}

Semantic roles & 50–950 ramp

primary
#400809
secondary
#257E7D
accent
#F4F134
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #400809

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

Preview Lab → · Contrast checker → · Palette generator →

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