#D952A8#D952A8

#D952A8 is a light, vivid pink. Relative luminance 0.236; OKLCH L 64.3% C 0.192 H 344.7°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#D952A8
RGBrgb(217, 82, 168)
HSLhsl(322, 64%, 59%)
HSVhsv(322, 62%, 85%)
CMYKcmyk(0%, 62.2%, 22.6%, 14.9%)
CIE-LABlab(55.70, 61.53, -19.09)
CIE-LCHlch(55.70, 64.43, 342.77°)
OKLaboklab(64.33% 0.185 -0.0507)
OKLCHoklch(64.33% 0.192 344.7)
XYZxyz(38.7017, 23.6171, 39.5585)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D952A8 #52D983
analogous
#C652D9 #D952A8 #D95264
triadic
#D952A8 #A8D952 #52A8D9
tetradic
#D952A8 #D9C652 #52D983 #5264D9
square
#D952A8 #D9C652 #52D983 #5264D9
split-complementary
#D952A8 #64D952 #52D9C6
monochromatic
#912068 #C32B8C #D952A8 #E484C1 #EFB6DA

Accessibility & contrast

On white

3.67
#D952A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#D952A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D952A8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D952A8#FFFFFF#000000##000000
##D952A81.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F77AB
Deuteranopia (green-blind)
#868EA5
Tritanopia (blue-blind)
#E65176
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d952a8;
/* rgb */ color: rgb(217, 82, 168);
/* oklch */ color: oklch(64.3% 0.192 344.7);
Tailwind
colors: {
  custom: {
    50: '#e88ac2',
    500: '#d952a8',
    950: '#000000',
  },
}
SCSS
$custom: #d952a8;
$custom-light: #e88ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#d952a8",
  "rgb": {
    "r": 217,
    "g": 82,
    "b": 168
  },
  "hsl": {
    "h": 321.778,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64331,
    "c": 0.1918,
    "h": 344.7
  },
  "luminance": 0.23613
}

Semantic roles & 50–950 ramp

primary
#D952A8
secondary
#A9DEBC
accent
#E77D41
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #D952A8

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

Preview Lab → · Contrast checker → · Palette generator →

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