#400D05#400D05

#400D05 is a very dark, moderate red. Relative luminance 0.014; OKLCH L 25.0% C 0.081 H 32.4°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#400D05
RGBrgb(64, 13, 5)
HSLhsl(8, 86%, 14%)
HSVhsv(8, 92%, 25%)
CMYKcmyk(0%, 79.7%, 92.2%, 74.9%)
CIE-LABlab(11.88, 24.13, 16.32)
CIE-LCHlch(11.88, 29.13, 34.08°)
OKLaboklab(24.96% 0.0681 0.0432)
OKLCHoklch(24.96% 0.081 32.4)
XYZxyz(2.2859, 1.3891, 0.2913)
Luminance0.0139 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400D05 #053840
analogous
#40051A #400D05 #402A05
triadic
#400D05 #05400D #0D0540
tetradic
#400D05 #1A4005 #053840 #2A0540
square
#400D05 #1A4005 #053840 #2A0540
split-complementary
#400D05 #05402A #051A40
monochromatic
#1C0602 #1C0602 #400D05 #791909 #B2240E

Accessibility & contrast

On white

16.43
#400D05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#400D05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400D05
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400D05#FFFFFF#000000##FFFFFF
##400D051.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1804
Deuteranopia (green-blind)
#292303
Tritanopia (blue-blind)
#47000B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400d05;
/* rgb */ color: rgb(64, 13, 5);
/* oklch */ color: oklch(25.0% 0.081 32.4);
Tailwind
colors: {
  custom: {
    50: '#7a4f49',
    500: '#400d05',
    950: '#000000',
  },
}
SCSS
$custom: #400d05;
$custom-light: #7a4f49;
$custom-dark: #000000;
JSON
{
  "hex": "#400d05",
  "rgb": {
    "r": 64,
    "g": 13,
    "b": 5
  },
  "hsl": {
    "h": 8.136,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24961,
    "c": 0.08061,
    "h": 32.4
  },
  "luminance": 0.01389
}

Semantic roles & 50–950 ramp

primary
#400D05
secondary
#207381
accent
#E0FC2C
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #400D05

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

Preview Lab → · Contrast checker → · Palette generator →

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