#D431A9#D431A9

#D431A9 is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.6% C 0.228 H 341.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#D431A9
RGBrgb(212, 49, 169)
HSLhsl(316, 65%, 51%)
HSVhsv(316, 77%, 83%)
CMYKcmyk(0%, 76.9%, 20.3%, 16.9%)
CIE-LABlab(50.76, 72.03, -27.35)
CIE-LCHlch(50.76, 77.04, 339.21°)
OKLaboklab(60.58% 0.216 -0.0737)
OKLCHoklch(60.58% 0.228 341.2)
XYZxyz(35.4123, 19.0619, 39.3428)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D431A9 #31D45C
analogous
#AD31D4 #D431A9 #D43157
triadic
#D431A9 #A9D431 #31A9D4
tetradic
#D431A9 #D4AD31 #31D45C #3157D4
square
#D431A9 #D4AD31 #31D45C #3157D4
split-complementary
#D431A9 #57D431 #31D4AD
monochromatic
#73185B #A52383 #D431A9 #DF64BE #E996D3

Accessibility & contrast

On white

4.36
#D431A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#D431A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D431A9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D431A9#FFFFFF#000000##000000
##D431A91.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4068AC
Deuteranopia (green-blind)
#7582A5
Tritanopia (blue-blind)
#E1356A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d431a9;
/* rgb */ color: rgb(212, 49, 169);
/* oklch */ color: oklch(60.6% 0.228 341.2);
Tailwind
colors: {
  custom: {
    50: '#e67ac3',
    500: '#d431a9',
    950: '#000000',
  },
}
SCSS
$custom: #d431a9;
$custom-light: #e67ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#d431a9",
  "rgb": {
    "r": 212,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 315.828,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60584,
    "c": 0.2282,
    "h": 341.2
  },
  "luminance": 0.19058
}

Semantic roles & 50–950 ramp

primary
#D431A9
secondary
#8CD49F
accent
#E86C3F
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D431A9

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

Preview Lab → · Contrast checker → · Palette generator →

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