#400B19#400B19

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

Color values

HEX#400B19
RGBrgb(64, 11, 25)
HSLhsl(344, 71%, 15%)
HSVhsv(344, 83%, 25%)
CMYKcmyk(0%, 82.8%, 60.9%, 74.9%)
CIE-LABlab(11.96, 26.38, 5.46)
CIE-LCHlch(11.96, 26.94, 11.69°)
OKLaboklab(25.14% 0.0801 0.0139)
OKLCHoklch(25.14% 0.081 9.8)
XYZxyz(2.4097, 1.3999, 1.0628)
Luminance0.0140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B19 #0B4032
analogous
#400B34 #400B19 #40180B
triadic
#400B19 #19400B #0B1940
tetradic
#400B19 #34400B #0B4032 #180B40
square
#400B19 #34400B #0B4032 #180B40
split-complementary
#400B19 #0B4018 #0B3440
monochromatic
#1A040A #1A040A #400B19 #74142D #A81D42

Accessibility & contrast

On white

16.41
#400B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B19
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B19#FFFFFF#000000##FFFFFF
##400B191.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181919
Deuteranopia (green-blind)
#262318
Tritanopia (blue-blind)
#470211
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400b19;
/* rgb */ color: rgb(64, 11, 25);
/* oklch */ color: oklch(25.1% 0.081 9.8);
Tailwind
colors: {
  custom: {
    50: '#794f55',
    500: '#400b19',
    950: '#000000',
  },
}
SCSS
$custom: #400b19;
$custom-light: #794f55;
$custom-dark: #000000;
JSON
{
  "hex": "#400b19",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 25
  },
  "hsl": {
    "h": 344.151,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25142,
    "c": 0.08126,
    "h": 9.8
  },
  "luminance": 0.014
}

Semantic roles & 50–950 ramp

primary
#400B19
secondary
#2A7D67
accent
#EDBE3A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090203
muted
#7B7878

Preview Lab

Preview with #400B19

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

Preview Lab → · Contrast checker → · Palette generator →

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