#400E29#400E29

#400E29 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.1% C 0.083 H 351.2°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#400E29
RGBrgb(64, 14, 41)
HSLhsl(328, 64%, 15%)
HSVhsv(328, 78%, 25%)
CMYKcmyk(0%, 78.1%, 35.9%, 74.9%)
CIE-LABlab(13.01, 26.98, -4.93)
CIE-LCHlch(13.01, 27.42, 349.64°)
OKLaboklab(26.11% 0.0823 -0.0128)
OKLCHoklch(26.11% 0.083 351.2)
XYZxyz(2.6718, 1.5645, 2.2587)
Luminance0.0156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E29 #0E4025
analogous
#3E0E40 #400E29 #400E10
triadic
#400E29 #29400E #0E2940
tetradic
#400E29 #403E0E #0E4025 #0E1040
square
#400E29 #403E0E #0E4025 #0E1040
split-complementary
#400E29 #10400E #0E403E
monochromatic
#190510 #190510 #400E29 #721949 #A42469

Accessibility & contrast

On white

16.00
#400E29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400E29
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E29#FFFFFF#000000##FFFFFF
##400E291.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161C2A
Deuteranopia (green-blind)
#242528
Tritanopia (blue-blind)
#450B19
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #400e29;
/* rgb */ color: rgb(64, 14, 41);
/* oklch */ color: oklch(26.1% 0.083 351.2);
Tailwind
colors: {
  custom: {
    50: '#775162',
    500: '#400e29',
    950: '#000000',
  },
}
SCSS
$custom: #400e29;
$custom-light: #775162;
$custom-dark: #000000;
JSON
{
  "hex": "#400e29",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 41
  },
  "hsl": {
    "h": 327.6,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26108,
    "c": 0.08331,
    "h": 351.2
  },
  "luminance": 0.01564
}

Semantic roles & 50–950 ramp

primary
#400E29
secondary
#2F7B52
accent
#E78D41
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #400E29

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

Preview Lab → · Contrast checker → · Palette generator →

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