#400B14#400B14

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

Color values

HEX#400B14
RGBrgb(64, 11, 20)
HSLhsl(350, 71%, 15%)
HSVhsv(350, 83%, 25%)
CMYKcmyk(0%, 82.8%, 68.8%, 74.9%)
CIE-LABlab(11.83, 25.94, 8.89)
CIE-LCHlch(11.83, 27.42, 18.92°)
OKLaboklab(25% 0.0777 0.0221)
OKLCHoklch(25% 0.081 15.9)
XYZxyz(2.3605, 1.3802, 0.8038)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B14 #0B4037
analogous
#400B2F #400B14 #401C0B
triadic
#400B14 #14400B #0B1440
tetradic
#400B14 #2F400B #0B4037 #1C0B40
square
#400B14 #2F400B #0B4037 #1C0B40
split-complementary
#400B14 #0B401C #0B2F40
monochromatic
#1A0408 #1A0408 #400B14 #741424 #A81D35

Accessibility & contrast

On white

16.46
#400B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B14
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B14#FFFFFF#000000##FFFFFF
##400B141.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191814
Deuteranopia (green-blind)
#272313
Tritanopia (blue-blind)
#47000F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400b14;
/* rgb */ color: rgb(64, 11, 20);
/* oklch */ color: oklch(25.0% 0.081 15.9);
Tailwind
colors: {
  custom: {
    50: '#794f51',
    500: '#400b14',
    950: '#000000',
  },
}
SCSS
$custom: #400b14;
$custom-light: #794f51;
$custom-dark: #000000;
JSON
{
  "hex": "#400b14",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 20
  },
  "hsl": {
    "h": 349.811,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25001,
    "c": 0.08077,
    "h": 15.9
  },
  "luminance": 0.0138
}

Semantic roles & 50–950 ramp

primary
#400B14
secondary
#2A7D6F
accent
#EDCF3A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #400B14

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

Preview Lab → · Contrast checker → · Palette generator →

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