#400509#400509

#400509 is a very dark, moderate red. Relative luminance 0.012; OKLCH L 24.1% C 0.088 H 23.5°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#400509
RGBrgb(64, 5, 9)
HSLhsl(356, 86%, 14%)
HSVhsv(356, 92%, 25%)
CMYKcmyk(0%, 92.2%, 85.9%, 74.9%)
CIE-LABlab(10.69, 27.83, 13.05)
CIE-LCHlch(10.69, 30.73, 25.12°)
OKLaboklab(24.09% 0.0809 0.0352)
OKLCHoklch(24.09% 0.088 23.5)
XYZxyz(2.2182, 1.2186, 0.3768)
Luminance0.0122 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400509 #05403C
analogous
#400526 #400509 #401E05
triadic
#400509 #094005 #050940
tetradic
#400509 #264005 #05403C #1E0540
square
#400509 #264005 #05403C #1E0540
split-complementary
#400509 #05401E #052640
monochromatic
#1C0204 #1C0204 #400509 #790911 #B20E19

Accessibility & contrast

On white

16.89
#400509 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400509
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400509#FFFFFF#000000##FFFFFF
##4005091.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400509;
/* rgb */ color: rgb(64, 5, 9);
/* oklch */ color: oklch(24.1% 0.088 23.5);
Tailwind
colors: {
  custom: {
    50: '#7a4c4a',
    500: '#400509',
    950: '#000000',
  },
}
SCSS
$custom: #400509;
$custom-light: #7a4c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#400509",
  "rgb": {
    "r": 64,
    "g": 5,
    "b": 9
  },
  "hsl": {
    "h": 355.932,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24093,
    "c": 0.0882,
    "h": 23.5
  },
  "luminance": 0.01218
}

Semantic roles & 50–950 ramp

primary
#400509
secondary
#20817A
accent
#FCEE2C
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0101
muted
#7C7777

Preview Lab

Preview with #400509

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

Preview Lab → · Contrast checker → · Palette generator →

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