#400409#400409

#400409 is a very dark, moderate red. Relative luminance 0.012; OKLCH L 24.0% C 0.089 H 22.9°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#400409
RGBrgb(64, 4, 9)
HSLhsl(355, 88%, 13%)
HSVhsv(355, 94%, 25%)
CMYKcmyk(0%, 93.8%, 85.9%, 74.9%)
CIE-LABlab(10.53, 28.28, 12.82)
CIE-LCHlch(10.53, 31.05, 24.39°)
OKLaboklab(23.98% 0.0823 0.0348)
OKLCHoklch(23.98% 0.089 22.9)
XYZxyz(2.2073, 1.1969, 0.3732)
Luminance0.0120 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400409 #04403B
analogous
#400427 #400409 #401D04
triadic
#400409 #094004 #040940
tetradic
#400409 #274004 #04403B #1D0440
square
#400409 #274004 #04403B #1D0440
split-complementary
#400409 #04401D #042740
monochromatic
#1D0204 #1D0204 #400409 #7A0811 #B30B19

Accessibility & contrast

On white

16.94
#400409 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#400409 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400409
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400409#FFFFFF#000000##FFFFFF
##4004091.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171409
Deuteranopia (green-blind)
#262107
Tritanopia (blue-blind)
#470006
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #400409;
/* rgb */ color: rgb(64, 4, 9);
/* oklch */ color: oklch(24.0% 0.089 22.9);
Tailwind
colors: {
  custom: {
    50: '#7a4b4a',
    500: '#400409',
    950: '#000000',
  },
}
SCSS
$custom: #400409;
$custom-light: #7a4b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#400409",
  "rgb": {
    "r": 64,
    "g": 4,
    "b": 9
  },
  "hsl": {
    "h": 355,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23975,
    "c": 0.08938,
    "h": 22.9
  },
  "luminance": 0.01197
}

Semantic roles & 50–950 ramp

primary
#400409
secondary
#1F8179
accent
#FEED29
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #400409

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

Preview Lab → · Contrast checker → · Palette generator →

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