#400D32#400D32

#400D32 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.4% C 0.091 H 340.9°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#400D32
RGBrgb(64, 13, 50)
HSLhsl(316, 66%, 15%)
HSVhsv(316, 80%, 25%)
CMYKcmyk(0%, 79.7%, 21.9%, 74.9%)
CIE-LABlab(13.28, 28.83, -11.09)
CIE-LCHlch(13.28, 30.90, 338.95°)
OKLaboklab(26.45% 0.0861 -0.0299)
OKLCHoklch(26.45% 0.091 340.9)
XYZxyz(2.8341, 1.6084, 3.1782)
Luminance0.0161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400D32 #0D401B
analogous
#350D40 #400D32 #400D18
triadic
#400D32 #32400D #0D3240
tetradic
#400D32 #40350D #0D401B #0D1840
square
#400D32 #40350D #0D401B #0D1840
split-complementary
#400D32 #18400D #0D4035
monochromatic
#190514 #190514 #400D32 #73175A #A62281

Accessibility & contrast

On white

15.89
#400D32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#400D32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400D32
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400D32#FFFFFF#000000##FFFFFF
##400D321.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111D33
Deuteranopia (green-blind)
#212531
Tritanopia (blue-blind)
#440E1E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #400d32;
/* rgb */ color: rgb(64, 13, 50);
/* oklch */ color: oklch(26.4% 0.091 340.9);
Tailwind
colors: {
  custom: {
    50: '#77516a',
    500: '#400d32',
    950: '#000000',
  },
}
SCSS
$custom: #400d32;
$custom-light: #77516a;
$custom-dark: #000000;
JSON
{
  "hex": "#400d32",
  "rgb": {
    "r": 64,
    "g": 13,
    "b": 50
  },
  "hsl": {
    "h": 316.471,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26446,
    "c": 0.09114,
    "h": 340.9
  },
  "luminance": 0.01608
}

Semantic roles & 50–950 ramp

primary
#400D32
secondary
#2D7C43
accent
#E96D3F
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400D32

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

Preview Lab → · Contrast checker → · Palette generator →

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