#400B15#400B15

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

Color values

HEX#400B15
RGBrgb(64, 11, 21)
HSLhsl(349, 71%, 15%)
HSVhsv(349, 83%, 25%)
CMYKcmyk(0%, 82.8%, 67.2%, 74.9%)
CIE-LABlab(11.85, 26.03, 8.25)
CIE-LCHlch(11.85, 27.30, 17.59°)
OKLaboklab(25.03% 0.0782 0.0205)
OKLCHoklch(25.03% 0.081 14.7)
XYZxyz(2.3696, 1.3838, 0.8516)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B15 #0B4036
analogous
#400B30 #400B15 #401B0B
triadic
#400B15 #15400B #0B1540
tetradic
#400B15 #30400B #0B4036 #1B0B40
square
#400B15 #30400B #0B4036 #1B0B40
split-complementary
#400B15 #0B401B #0B3040
monochromatic
#1A0409 #1A0409 #400B15 #741426 #A81D37

Accessibility & contrast

On white

16.45
#400B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B15
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B15#FFFFFF#000000##FFFFFF
##400B151.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191815
Deuteranopia (green-blind)
#272314
Tritanopia (blue-blind)
#47010F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400b15;
/* rgb */ color: rgb(64, 11, 21);
/* oklch */ color: oklch(25.0% 0.081 14.7);
Tailwind
colors: {
  custom: {
    50: '#794f52',
    500: '#400b15',
    950: '#000000',
  },
}
SCSS
$custom: #400b15;
$custom-light: #794f52;
$custom-dark: #000000;
JSON
{
  "hex": "#400b15",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 21
  },
  "hsl": {
    "h": 348.679,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25027,
    "c": 0.08082,
    "h": 14.7
  },
  "luminance": 0.01383
}

Semantic roles & 50–950 ramp

primary
#400B15
secondary
#2A7D6D
accent
#EDCC3A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #400B15

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

Preview Lab → · Contrast checker → · Palette generator →

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