#D431A8#D431A8

#D431A8 is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.5% C 0.228 H 341.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#D431A8
RGBrgb(212, 49, 168)
HSLhsl(316, 65%, 51%)
HSVhsv(316, 77%, 83%)
CMYKcmyk(0%, 76.9%, 20.8%, 16.9%)
CIE-LABlab(50.72, 71.90, -26.83)
CIE-LCHlch(50.72, 76.74, 339.54°)
OKLaboklab(60.54% 0.2158 -0.0722)
OKLCHoklch(60.54% 0.228 341.5)
XYZxyz(35.3188, 19.0245, 38.8503)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D431A8 #31D45D
analogous
#AE31D4 #D431A8 #D43156
triadic
#D431A8 #A8D431 #31A8D4
tetradic
#D431A8 #D4AE31 #31D45D #3156D4
square
#D431A8 #D4AE31 #31D45D #3156D4
split-complementary
#D431A8 #56D431 #31D4AE
monochromatic
#73185A #A52382 #D431A8 #DF64BD #E996D3

Accessibility & contrast

On white

4.37
#D431A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#D431A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D431A8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D431A8#FFFFFF#000000##000000
##D431A81.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4168AB
Deuteranopia (green-blind)
#7582A4
Tritanopia (blue-blind)
#E1346A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d431a8;
/* rgb */ color: rgb(212, 49, 168);
/* oklch */ color: oklch(60.5% 0.228 341.5);
Tailwind
colors: {
  custom: {
    50: '#e67ac2',
    500: '#d431a8',
    950: '#000000',
  },
}
SCSS
$custom: #d431a8;
$custom-light: #e67ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#d431a8",
  "rgb": {
    "r": 212,
    "g": 49,
    "b": 168
  },
  "hsl": {
    "h": 316.196,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60538,
    "c": 0.2276,
    "h": 341.5
  },
  "luminance": 0.19021
}

Semantic roles & 50–950 ramp

primary
#D431A8
secondary
#8CD4A0
accent
#E86D3F
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D431A8

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

Preview Lab → · Contrast checker → · Palette generator →

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