#D431AD#D431AD

#D431AD is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.8% C 0.231 H 339.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#D431AD
RGBrgb(212, 49, 173)
HSLhsl(314, 65%, 51%)
HSVhsv(314, 77%, 83%)
CMYKcmyk(0%, 76.9%, 18.4%, 16.9%)
CIE-LABlab(50.94, 72.55, -29.43)
CIE-LCHlch(50.94, 78.29, 337.92°)
OKLaboklab(60.77% 0.2165 -0.0796)
OKLCHoklch(60.77% 0.231 339.8)
XYZxyz(35.7935, 19.2144, 41.3508)
Luminance0.1921 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D431AD #31D458
analogous
#A931D4 #D431AD #D4315B
triadic
#D431AD #ADD431 #31ADD4
tetradic
#D431AD #D4A931 #31D458 #315BD4
square
#D431AD #D4A931 #31D458 #315BD4
split-complementary
#D431AD #5BD431 #31D4A9
monochromatic
#73185D #A52386 #D431AD #DF64C1 #E996D5

Accessibility & contrast

On white

4.34
#D431AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#D431AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D431AD
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D431AD#FFFFFF#000000##000000
##D431AD1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D69B0
Deuteranopia (green-blind)
#7382A9
Tritanopia (blue-blind)
#E1376C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d431ad;
/* rgb */ color: rgb(212, 49, 173);
/* oklch */ color: oklch(60.8% 0.231 339.8);
Tailwind
colors: {
  custom: {
    50: '#e67bc5',
    500: '#d431ad',
    950: '#000000',
  },
}
SCSS
$custom: #d431ad;
$custom-light: #e67bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#d431ad",
  "rgb": {
    "r": 212,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 314.356,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.6077,
    "c": 0.23065,
    "h": 339.8
  },
  "luminance": 0.19211
}

Semantic roles & 50–950 ramp

primary
#D431AD
secondary
#8CD49E
accent
#E8683F
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D431AD

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

Preview Lab → · Contrast checker → · Palette generator →

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