#400A08#400A08

#400A08 is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.6% C 0.083 H 27.5°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#400A08
RGBrgb(64, 10, 8)
HSLhsl(2, 78%, 14%)
HSVhsv(2, 88%, 25%)
CMYKcmyk(0%, 84.4%, 87.5%, 74.9%)
CIE-LABlab(11.45, 25.61, 14.50)
CIE-LCHlch(11.45, 29.43, 29.52°)
OKLaboklab(24.65% 0.0736 0.0383)
OKLCHoklch(24.65% 0.083 27.5)
XYZxyz(2.2670, 1.3250, 0.3661)
Luminance0.0132 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400A08 #083E40
analogous
#400822 #400A08 #402608
triadic
#400A08 #08400A #0A0840
tetradic
#400A08 #224008 #083E40 #260840
square
#400A08 #224008 #083E40 #260840
split-complementary
#400A08 #084026 #082240
monochromatic
#1B0403 #1B0403 #400A08 #76130F #AD1B16

Accessibility & contrast

On white

16.60
#400A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#400A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400A08
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400A08#FFFFFF#000000##FFFFFF
##400A081.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1707
Deuteranopia (green-blind)
#282306
Tritanopia (blue-blind)
#47000A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400a08;
/* rgb */ color: rgb(64, 10, 8);
/* oklch */ color: oklch(24.6% 0.083 27.5);
Tailwind
colors: {
  custom: {
    50: '#7a4e4a',
    500: '#400a08',
    950: '#000000',
  },
}
SCSS
$custom: #400a08;
$custom-light: #7a4e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#400a08",
  "rgb": {
    "r": 64,
    "g": 10,
    "b": 8
  },
  "hsl": {
    "h": 2.143,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24649,
    "c": 0.08295,
    "h": 27.5
  },
  "luminance": 0.01325
}

Semantic roles & 50–950 ramp

primary
#400A08
secondary
#257B7E
accent
#EDF434
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #400A08

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

Preview Lab → · Contrast checker → · Palette generator →

#400A08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva