#D952B7#D952B7

#D952B7 is a light, highly saturated pink. Relative luminance 0.242; OKLCH L 65.0% C 0.202 H 338.9°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#D952B7
RGBrgb(217, 82, 183)
HSLhsl(315, 64%, 59%)
HSVhsv(315, 62%, 85%)
CMYKcmyk(0%, 62.2%, 15.7%, 14.9%)
CIE-LABlab(56.30, 63.64, -26.87)
CIE-LCHlch(56.30, 69.08, 337.11°)
OKLaboklab(64.96% 0.188 -0.0725)
OKLCHoklch(64.96% 0.202 338.9)
XYZxyz(40.1806, 24.2087, 47.3471)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D952B7 #52D974
analogous
#B752D9 #D952B7 #D95273
triadic
#D952B7 #B7D952 #52B7D9
tetradic
#D952B7 #D9B752 #52D974 #5273D9
square
#D952B7 #D9B752 #52D974 #5273D9
split-complementary
#D952B7 #73D952 #52D9B7
monochromatic
#912074 #C32B9D #D952B7 #E484CC #EFB6E1

Accessibility & contrast

On white

3.60
#D952B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#D952B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D952B7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D952B7#FFFFFF#000000##000000
##D952B71.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5879BA
Deuteranopia (green-blind)
#818FB4
Tritanopia (blue-blind)
#E5567D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d952b7;
/* rgb */ color: rgb(217, 82, 183);
/* oklch */ color: oklch(65.0% 0.202 338.9);
Tailwind
colors: {
  custom: {
    50: '#e88bcd',
    500: '#d952b7',
    950: '#000000',
  },
}
SCSS
$custom: #d952b7;
$custom-light: #e88bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#d952b7",
  "rgb": {
    "r": 217,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 315.111,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64962,
    "c": 0.20153,
    "h": 338.9
  },
  "luminance": 0.24205
}

Semantic roles & 50–950 ramp

primary
#D952B7
secondary
#A9DEB6
accent
#E76B41
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #D952B7

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

Preview Lab → · Contrast checker → · Palette generator →

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