#400429#400429

#400429 is a dark, moderate pink. Relative luminance 0.013; OKLCH L 25.0% C 0.097 H 348.8°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#400429
RGBrgb(64, 4, 41)
HSLhsl(323, 88%, 13%)
HSVhsv(323, 94%, 25%)
CMYKcmyk(0%, 93.8%, 35.9%, 74.9%)
CIE-LABlab(11.53, 31.16, -7.17)
CIE-LCHlch(11.53, 31.98, 347.04°)
OKLaboklab(25.03% 0.0955 -0.0188)
OKLCHoklch(25.03% 0.097 348.8)
XYZxyz(2.5582, 1.3372, 2.2208)
Luminance0.0134 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400429 #04401B
analogous
#390440 #400429 #40040B
triadic
#400429 #294004 #042940
tetradic
#400429 #403904 #04401B #040B40
square
#400429 #403904 #04401B #040B40
split-complementary
#400429 #0B4004 #044039
monochromatic
#1D0212 #1D0212 #400429 #7A084E #B30B73

Accessibility & contrast

On white

16.57
#400429 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#400429 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400429
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400429#FFFFFF#000000##FFFFFF
##4004291.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E182A
Deuteranopia (green-blind)
#202228
Tritanopia (blue-blind)
#450116
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400429;
/* rgb */ color: rgb(64, 4, 41);
/* oklch */ color: oklch(25.0% 0.097 348.8);
Tailwind
colors: {
  custom: {
    50: '#784d62',
    500: '#400429',
    950: '#000000',
  },
}
SCSS
$custom: #400429;
$custom-light: #784d62;
$custom-dark: #000000;
JSON
{
  "hex": "#400429",
  "rgb": {
    "r": 64,
    "g": 4,
    "b": 41
  },
  "hsl": {
    "h": 323,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2503,
    "c": 0.09732,
    "h": 348.8
  },
  "luminance": 0.01337
}

Semantic roles & 50–950 ramp

primary
#400429
secondary
#1F8144
accent
#FE7B29
background
#F7F4F5
surface
#EEE7EA
border
#C9C3C6
text
#090105
muted
#7B7779

Preview Lab

Preview with #400429

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

Preview Lab → · Contrast checker → · Palette generator →

#400429 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva