#400A19#400A19

#400A19 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.0% C 0.083 H 9.3°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#400A19
RGBrgb(64, 10, 25)
HSLhsl(343, 73%, 15%)
HSVhsv(343, 84%, 25%)
CMYKcmyk(0%, 84.4%, 60.9%, 74.9%)
CIE-LABlab(11.81, 26.80, 5.25)
CIE-LCHlch(11.81, 27.31, 11.09°)
OKLaboklab(25.03% 0.0814 0.0134)
OKLCHoklch(25.03% 0.083 9.3)
XYZxyz(2.3986, 1.3776, 1.0591)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400A19 #0A4031
analogous
#400A34 #400A19 #40160A
triadic
#400A19 #19400A #0A1940
tetradic
#400A19 #34400A #0A4031 #160A40
square
#400A19 #34400A #0A4031 #160A40
split-complementary
#400A19 #0A4016 #0A3440
monochromatic
#1A040A #1A040A #400A19 #75122E #AA1B42

Accessibility & contrast

On white

16.47
#400A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400A19
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400A19#FFFFFF#000000##FFFFFF
##400A191.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400a19;
/* rgb */ color: rgb(64, 10, 25);
/* oklch */ color: oklch(25.0% 0.083 9.3);
Tailwind
colors: {
  custom: {
    50: '#794f55',
    500: '#400a19',
    950: '#000000',
  },
}
SCSS
$custom: #400a19;
$custom-light: #794f55;
$custom-dark: #000000;
JSON
{
  "hex": "#400a19",
  "rgb": {
    "r": 64,
    "g": 10,
    "b": 25
  },
  "hsl": {
    "h": 343.333,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25031,
    "c": 0.0825,
    "h": 9.3
  },
  "luminance": 0.01377
}

Semantic roles & 50–950 ramp

primary
#400A19
secondary
#297D66
accent
#F0BD38
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0203
muted
#7C7878

Preview Lab

Preview with #400A19

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

Preview Lab → · Contrast checker → · Palette generator →

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