#400908#400908

#400908 is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.5% C 0.084 H 26.8°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#400908
RGBrgb(64, 9, 8)
HSLhsl(1, 78%, 14%)
HSVhsv(1, 88%, 25%)
CMYKcmyk(0%, 85.9%, 87.5%, 74.9%)
CIE-LABlab(11.30, 26.03, 14.30)
CIE-LCHlch(11.30, 29.70, 28.77°)
OKLaboklab(24.54% 0.0749 0.0379)
OKLCHoklch(24.54% 0.084 26.8)
XYZxyz(2.2561, 1.3032, 0.3624)
Luminance0.0130 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400908 #083F40
analogous
#400823 #400908 #402508
triadic
#400908 #084009 #090840
tetradic
#400908 #234008 #083F40 #250840
square
#400908 #234008 #083F40 #250840
split-complementary
#400908 #084025 #082340
monochromatic
#1B0403 #1B0403 #400908 #76110F #AD1816

Accessibility & contrast

On white

16.66
#400908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400908
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400908#FFFFFF#000000##FFFFFF
##4009081.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400908;
/* rgb */ color: rgb(64, 9, 8);
/* oklch */ color: oklch(24.5% 0.084 26.8);
Tailwind
colors: {
  custom: {
    50: '#7a4e4a',
    500: '#400908',
    950: '#000000',
  },
}
SCSS
$custom: #400908;
$custom-light: #7a4e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#400908",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 8
  },
  "hsl": {
    "h": 1.071,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24537,
    "c": 0.08397,
    "h": 26.8
  },
  "luminance": 0.01303
}

Semantic roles & 50–950 ramp

primary
#400908
secondary
#257D7E
accent
#F1F434
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #400908

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

Preview Lab → · Contrast checker → · Palette generator →

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