#400D29#400D29

#400D29 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 26.0% C 0.085 H 350.9°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#400D29
RGBrgb(64, 13, 41)
HSLhsl(327, 66%, 15%)
HSVhsv(327, 80%, 25%)
CMYKcmyk(0%, 79.7%, 35.9%, 74.9%)
CIE-LABlab(12.85, 27.43, -5.18)
CIE-LCHlch(12.85, 27.92, 349.31°)
OKLaboklab(25.99% 0.0837 -0.0134)
OKLCHoklch(25.99% 0.085 350.9)
XYZxyz(2.6587, 1.5382, 2.2543)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400D29 #0D4024
analogous
#3E0D40 #400D29 #400D0F
triadic
#400D29 #29400D #0D2940
tetradic
#400D29 #403E0D #0D4024 #0D0F40
square
#400D29 #403E0D #0D4024 #0D0F40
split-complementary
#400D29 #0F400D #0D403E
monochromatic
#190510 #190510 #400D29 #73174A #A6226A

Accessibility & contrast

On white

16.06
#400D29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#400D29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400D29
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400D29#FFFFFF#000000##FFFFFF
##400D291.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151B2A
Deuteranopia (green-blind)
#242528
Tritanopia (blue-blind)
#450A19
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400d29;
/* rgb */ color: rgb(64, 13, 41);
/* oklch */ color: oklch(26.0% 0.085 350.9);
Tailwind
colors: {
  custom: {
    50: '#775162',
    500: '#400d29',
    950: '#000000',
  },
}
SCSS
$custom: #400d29;
$custom-light: #775162;
$custom-dark: #000000;
JSON
{
  "hex": "#400d29",
  "rgb": {
    "r": 64,
    "g": 13,
    "b": 41
  },
  "hsl": {
    "h": 327.059,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25989,
    "c": 0.08481,
    "h": 350.9
  },
  "luminance": 0.01538
}

Semantic roles & 50–950 ramp

primary
#400D29
secondary
#2D7C51
accent
#E98C3F
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #400D29

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

Preview Lab → · Contrast checker → · Palette generator →

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