#400B13#400B13

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

Color values

HEX#400B13
RGBrgb(64, 11, 19)
HSLhsl(351, 71%, 15%)
HSVhsv(351, 83%, 25%)
CMYKcmyk(0%, 82.8%, 70.3%, 74.9%)
CIE-LABlab(11.80, 25.86, 9.51)
CIE-LCHlch(11.80, 27.56, 20.18°)
OKLaboklab(24.98% 0.0772 0.0236)
OKLCHoklch(24.98% 0.081 17)
XYZxyz(2.3518, 1.3767, 0.7579)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B13 #0B4038
analogous
#400B2E #400B13 #401D0B
triadic
#400B13 #13400B #0B1340
tetradic
#400B13 #2E400B #0B4038 #1D0B40
square
#400B13 #2E400B #0B4038 #1D0B40
split-complementary
#400B13 #0B401D #0B2E40
monochromatic
#1A0408 #1A0408 #400B13 #741423 #A81D32

Accessibility & contrast

On white

16.47
#400B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B13
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B13#FFFFFF#000000##FFFFFF
##400B131.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191813
Deuteranopia (green-blind)
#272312
Tritanopia (blue-blind)
#47000E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400b13;
/* rgb */ color: rgb(64, 11, 19);
/* oklch */ color: oklch(25.0% 0.081 17.0);
Tailwind
colors: {
  custom: {
    50: '#794f50',
    500: '#400b13',
    950: '#000000',
  },
}
SCSS
$custom: #400b13;
$custom-light: #794f50;
$custom-dark: #000000;
JSON
{
  "hex": "#400b13",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 19
  },
  "hsl": {
    "h": 350.943,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24976,
    "c": 0.08076,
    "h": 17
  },
  "luminance": 0.01376
}

Semantic roles & 50–950 ramp

primary
#400B13
secondary
#2A7D70
accent
#EDD23A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #400B13

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

Preview Lab → · Contrast checker → · Palette generator →

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