#D952A2#D952A2

#D952A2 is a light, vivid pink. Relative luminance 0.234; OKLCH L 64.1% C 0.188 H 347.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#D952A2
RGBrgb(217, 82, 162)
HSLhsl(324, 64%, 59%)
HSVhsv(324, 62%, 85%)
CMYKcmyk(0%, 62.2%, 25.3%, 14.9%)
CIE-LABlab(55.48, 60.74, -15.92)
CIE-LCHlch(55.48, 62.79, 345.31°)
OKLaboklab(64.1% 0.1835 -0.042)
OKLCHoklch(64.1% 0.188 347.1)
XYZxyz(38.1556, 23.3987, 36.6824)
Luminance0.2339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D952A2 #52D989
analogous
#CC52D9 #D952A2 #D9525E
triadic
#D952A2 #A2D952 #52A2D9
tetradic
#D952A2 #D9CC52 #52D989 #525ED9
square
#D952A2 #D9CC52 #52D989 #525ED9
split-complementary
#D952A2 #5ED952 #52D9CC
monochromatic
#912063 #C32B85 #D952A2 #E484BD #EFB6D8

Accessibility & contrast

On white

3.70
#D952A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#D952A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D952A2
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D952A2#FFFFFF#000000##000000
##D952A21.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6176A4
Deuteranopia (green-blind)
#888D9F
Tritanopia (blue-blind)
#E74F73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d952a2;
/* rgb */ color: rgb(217, 82, 162);
/* oklch */ color: oklch(64.1% 0.188 347.1);
Tailwind
colors: {
  custom: {
    50: '#e88abd',
    500: '#d952a2',
    950: '#000000',
  },
}
SCSS
$custom: #d952a2;
$custom-light: #e88abd;
$custom-dark: #000000;
JSON
{
  "hex": "#d952a2",
  "rgb": {
    "r": 217,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 324.444,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64095,
    "c": 0.18828,
    "h": 347.1
  },
  "luminance": 0.23395
}

Semantic roles & 50–950 ramp

primary
#D952A2
secondary
#A9DEBE
accent
#E78541
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #D952A2

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

Preview Lab → · Contrast checker → · Palette generator →

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