#D431AA#D431AA

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

Color values

HEX#D431AA
RGBrgb(212, 49, 170)
HSLhsl(315, 65%, 51%)
HSVhsv(315, 77%, 83%)
CMYKcmyk(0%, 76.9%, 19.8%, 16.9%)
CIE-LABlab(50.80, 72.16, -27.87)
CIE-LCHlch(50.80, 77.35, 338.88°)
OKLaboklab(60.63% 0.2161 -0.0751)
OKLCHoklch(60.63% 0.229 340.8)
XYZxyz(35.5065, 19.0996, 39.8391)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D431AA #31D45B
analogous
#AC31D4 #D431AA #D43158
triadic
#D431AA #AAD431 #31AAD4
tetradic
#D431AA #D4AC31 #31D45B #3158D4
square
#D431AA #D4AC31 #31D45B #3158D4
split-complementary
#D431AA #58D431 #31D4AC
monochromatic
#73185B #A52384 #D431AA #DF64BF #E996D4

Accessibility & contrast

On white

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

On black

4.82
#D431AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D431AA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D431AA#FFFFFF#000000##000000
##D431AA1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AD
Deuteranopia (green-blind)
#7582A6
Tritanopia (blue-blind)
#E1366B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d431aa;
/* rgb */ color: rgb(212, 49, 170);
/* oklch */ color: oklch(60.6% 0.229 340.8);
Tailwind
colors: {
  custom: {
    50: '#e67ac3',
    500: '#d431aa',
    950: '#000000',
  },
}
SCSS
$custom: #d431aa;
$custom-light: #e67ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#d431aa",
  "rgb": {
    "r": 212,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 315.46,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.6063,
    "c": 0.2288,
    "h": 340.8
  },
  "luminance": 0.19096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D431AA

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

Preview Lab → · Contrast checker → · Palette generator →

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