#400805#400805

#400805 is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.4% C 0.086 H 29.0°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#400805
RGBrgb(64, 8, 5)
HSLhsl(3, 86%, 14%)
HSVhsv(3, 92%, 25%)
CMYKcmyk(0%, 87.5%, 92.2%, 74.9%)
CIE-LABlab(11.10, 26.31, 15.24)
CIE-LCHlch(11.10, 30.40, 30.09°)
OKLaboklab(24.37% 0.0749 0.0415)
OKLCHoklch(24.37% 0.086 29)
XYZxyz(2.2289, 1.2750, 0.2723)
Luminance0.0127 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400805 #053D40
analogous
#40051F #400805 #402505
triadic
#400805 #054008 #080540
tetradic
#400805 #1F4005 #053D40 #250540
square
#400805 #1F4005 #053D40 #250540
split-complementary
#400805 #054025 #051F40
monochromatic
#1C0402 #1C0402 #400805 #790F09 #B2160E

Accessibility & contrast

On white

16.73
#400805 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#400805 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400805
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400805#FFFFFF#000000##FFFFFF
##4008051.0016.731.2516.73
#FFFFFF16.731.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1604
Deuteranopia (green-blind)
#272203
Tritanopia (blue-blind)
#480008
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400805;
/* rgb */ color: rgb(64, 8, 5);
/* oklch */ color: oklch(24.4% 0.086 29.0);
Tailwind
colors: {
  custom: {
    50: '#7a4d49',
    500: '#400805',
    950: '#000000',
  },
}
SCSS
$custom: #400805;
$custom-light: #7a4d49;
$custom-dark: #000000;
JSON
{
  "hex": "#400805",
  "rgb": {
    "r": 64,
    "g": 8,
    "b": 5
  },
  "hsl": {
    "h": 3.051,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24374,
    "c": 0.08561,
    "h": 29
  },
  "luminance": 0.01275
}

Semantic roles & 50–950 ramp

primary
#400805
secondary
#207C81
accent
#F1FC2C
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0100
muted
#7C7777

Preview Lab

Preview with #400805

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

Preview Lab → · Contrast checker → · Palette generator →

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