#400B1E#400B1E

#400B1E is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.3% C 0.082 H 3.6°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#400B1E
RGBrgb(64, 11, 30)
HSLhsl(338, 71%, 15%)
HSVhsv(338, 83%, 25%)
CMYKcmyk(0%, 82.8%, 53.1%, 74.9%)
CIE-LABlab(12.11, 26.90, 1.92)
CIE-LCHlch(12.11, 26.97, 4.08°)
OKLaboklab(25.31% 0.0823 0.0052)
OKLCHoklch(25.31% 0.082 3.6)
XYZxyz(2.4686, 1.4234, 1.3728)
Luminance0.0142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B1E #0B402D
analogous
#400B39 #400B1E #40130B
triadic
#400B1E #1E400B #0B1E40
tetradic
#400B1E #39400B #0B402D #130B40
square
#400B1E #39400B #0B402D #130B40
split-complementary
#400B1E #0B4013 #0B3940
monochromatic
#1A040C #1A040C #400B1E #741436 #A81D4F

Accessibility & contrast

On white

16.35
#400B1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B1E
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B1E#FFFFFF#000000##FFFFFF
##400B1E1.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17191E
Deuteranopia (green-blind)
#25241D
Tritanopia (blue-blind)
#460313
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400b1e;
/* rgb */ color: rgb(64, 11, 30);
/* oklch */ color: oklch(25.3% 0.082 3.6);
Tailwind
colors: {
  custom: {
    50: '#784f59',
    500: '#400b1e',
    950: '#000000',
  },
}
SCSS
$custom: #400b1e;
$custom-light: #784f59;
$custom-dark: #000000;
JSON
{
  "hex": "#400b1e",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 30
  },
  "hsl": {
    "h": 338.491,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25308,
    "c": 0.08248,
    "h": 3.6
  },
  "luminance": 0.01423
}

Semantic roles & 50–950 ramp

primary
#400B1E
secondary
#2A7D5F
accent
#EDAD3A
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878

Preview Lab

Preview with #400B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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