#400B04#400B04

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

Color values

HEX#400B04
RGBrgb(64, 11, 4)
HSLhsl(7, 88%, 13%)
HSVhsv(7, 94%, 25%)
CMYKcmyk(0%, 82.8%, 93.8%, 74.9%)
CIE-LABlab(11.54, 24.98, 16.26)
CIE-LCHlch(11.54, 29.81, 33.06°)
OKLaboklab(24.7% 0.0704 0.0439)
OKLCHoklch(24.7% 0.083 31.9)
XYZxyz(2.2562, 1.3385, 0.2544)
Luminance0.0134 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B04 #043940
analogous
#40041B #400B04 #402904
triadic
#400B04 #04400B #0B0440
tetradic
#400B04 #1B4004 #043940 #290440
square
#400B04 #1B4004 #043940 #290440
split-complementary
#400B04 #044029 #041B40
monochromatic
#1D0502 #1D0502 #400B04 #7A1508 #B31F0B

Accessibility & contrast

On white

16.57
#400B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#400B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400B04
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B04#FFFFFF#000000##FFFFFF
##400B041.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1703
Deuteranopia (green-blind)
#282302
Tritanopia (blue-blind)
#47000A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400b04;
/* rgb */ color: rgb(64, 11, 4);
/* oklch */ color: oklch(24.7% 0.083 31.9);
Tailwind
colors: {
  custom: {
    50: '#7a4f48',
    500: '#400b04',
    950: '#000000',
  },
}
SCSS
$custom: #400b04;
$custom-light: #7a4f48;
$custom-dark: #000000;
JSON
{
  "hex": "#400b04",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 4
  },
  "hsl": {
    "h": 7,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24699,
    "c": 0.08293,
    "h": 31.9
  },
  "luminance": 0.01338
}

Semantic roles & 50–950 ramp

primary
#400B04
secondary
#1F7681
accent
#E6FE29
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #400B04

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

Preview Lab → · Contrast checker → · Palette generator →

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