#400B16#400B16

#400B16 is a dark, moderate red. Relative luminance 0.014; OKLCH L 25.1% C 0.081 H 13.5°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#400B16
RGBrgb(64, 11, 22)
HSLhsl(348, 71%, 15%)
HSVhsv(348, 83%, 25%)
CMYKcmyk(0%, 82.8%, 65.6%, 74.9%)
CIE-LABlab(11.87, 26.11, 7.58)
CIE-LCHlch(11.87, 27.19, 16.19°)
OKLaboklab(25.05% 0.0787 0.0189)
OKLCHoklch(25.05% 0.081 13.5)
XYZxyz(2.3791, 1.3876, 0.9015)
Luminance0.0139 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B16 #0B4035
analogous
#400B31 #400B16 #401B0B
triadic
#400B16 #16400B #0B1640
tetradic
#400B16 #31400B #0B4035 #1B0B40
square
#400B16 #31400B #0B4035 #1B0B40
split-complementary
#400B16 #0B401B #0B3140
monochromatic
#1A0409 #1A0409 #400B16 #741428 #A81D3A

Accessibility & contrast

On white

16.44
#400B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B16
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B16#FFFFFF#000000##FFFFFF
##400B161.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191816
Deuteranopia (green-blind)
#272315
Tritanopia (blue-blind)
#470110
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400b16;
/* rgb */ color: rgb(64, 11, 22);
/* oklch */ color: oklch(25.1% 0.081 13.5);
Tailwind
colors: {
  custom: {
    50: '#794f52',
    500: '#400b16',
    950: '#000000',
  },
}
SCSS
$custom: #400b16;
$custom-light: #794f52;
$custom-dark: #000000;
JSON
{
  "hex": "#400b16",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 22
  },
  "hsl": {
    "h": 347.547,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25054,
    "c": 0.08089,
    "h": 13.5
  },
  "luminance": 0.01387
}

Semantic roles & 50–950 ramp

primary
#400B16
secondary
#2A7D6C
accent
#EDC83A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #400B16

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

Preview Lab → · Contrast checker → · Palette generator →

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