#D952A6#D952A6

#D952A6 is a light, vivid pink. Relative luminance 0.235; OKLCH L 64.3% C 0.191 H 345.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#D952A6
RGBrgb(217, 82, 166)
HSLhsl(323, 64%, 59%)
HSVhsv(323, 62%, 85%)
CMYKcmyk(0%, 62.2%, 23.5%, 14.9%)
CIE-LABlab(55.63, 61.27, -18.03)
CIE-LCHlch(55.63, 63.86, 343.60°)
OKLaboklab(64.25% 0.1845 -0.0478)
OKLCHoklch(64.25% 0.191 345.5)
XYZxyz(38.5168, 23.5432, 38.5848)
Luminance0.2354 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D952A6 #52D985
analogous
#C952D9 #D952A6 #D95262
triadic
#D952A6 #A6D952 #52A6D9
tetradic
#D952A6 #D9C952 #52D985 #5262D9
square
#D952A6 #D9C952 #52D985 #5262D9
split-complementary
#D952A6 #62D952 #52D9C9
monochromatic
#912066 #C32B89 #D952A6 #E484C0 #EFB6DA

Accessibility & contrast

On white

3.68
#D952A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#D952A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D952A6
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D952A6#FFFFFF#000000##000000
##D952A61.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6077A9
Deuteranopia (green-blind)
#878EA3
Tritanopia (blue-blind)
#E75075
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d952a6;
/* rgb */ color: rgb(217, 82, 166);
/* oklch */ color: oklch(64.3% 0.191 345.5);
Tailwind
colors: {
  custom: {
    50: '#e88ac0',
    500: '#d952a6',
    950: '#000000',
  },
}
SCSS
$custom: #d952a6;
$custom-light: #e88ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#d952a6",
  "rgb": {
    "r": 217,
    "g": 82,
    "b": 166
  },
  "hsl": {
    "h": 322.667,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64252,
    "c": 0.1906,
    "h": 345.5
  },
  "luminance": 0.23539
}

Semantic roles & 50–950 ramp

primary
#D952A6
secondary
#A9DEBD
accent
#E78041
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #D952A6

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

Preview Lab → · Contrast checker → · Palette generator →

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