#400B1D#400B1D

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

Color values

HEX#400B1D
RGBrgb(64, 11, 29)
HSLhsl(340, 71%, 15%)
HSVhsv(340, 83%, 25%)
CMYKcmyk(0%, 82.8%, 54.7%, 74.9%)
CIE-LABlab(12.08, 26.79, 2.62)
CIE-LCHlch(12.08, 26.92, 5.60°)
OKLaboklab(25.27% 0.0819 0.007)
OKLCHoklch(25.27% 0.082 4.9)
XYZxyz(2.4560, 1.4184, 1.3066)
Luminance0.0142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B1D #0B402E
analogous
#400B38 #400B1D #40140B
triadic
#400B1D #1D400B #0B1D40
tetradic
#400B1D #38400B #0B402E #140B40
square
#400B1D #38400B #0B402E #140B40
split-complementary
#400B1D #0B4014 #0B3840
monochromatic
#1A040C #1A040C #400B1D #741435 #A81D4C

Accessibility & contrast

On white

16.36
#400B1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B1D
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B1D#FFFFFF#000000##FFFFFF
##400B1D1.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400b1d;
/* rgb */ color: rgb(64, 11, 29);
/* oklch */ color: oklch(25.3% 0.082 4.9);
Tailwind
colors: {
  custom: {
    50: '#784f58',
    500: '#400b1d',
    950: '#000000',
  },
}
SCSS
$custom: #400b1d;
$custom-light: #784f58;
$custom-dark: #000000;
JSON
{
  "hex": "#400b1d",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 29
  },
  "hsl": {
    "h": 339.623,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25272,
    "c": 0.08218,
    "h": 4.9
  },
  "luminance": 0.01418
}

Semantic roles & 50–950 ramp

primary
#400B1D
secondary
#2A7D61
accent
#EDB13A
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878

Preview Lab

Preview with #400B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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