#D952B2#D952B2

#D952B2 is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.7% C 0.198 H 340.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#D952B2
RGBrgb(217, 82, 178)
HSLhsl(317, 64%, 59%)
HSVhsv(317, 62%, 85%)
CMYKcmyk(0%, 62.2%, 18%, 14.9%)
CIE-LABlab(56.09, 62.92, -24.30)
CIE-LCHlch(56.09, 67.45, 338.88°)
OKLaboklab(64.75% 0.1871 -0.0652)
OKLCHoklch(64.75% 0.198 340.8)
XYZxyz(39.6694, 24.0042, 44.6549)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D952B2 #52D979
analogous
#BC52D9 #D952B2 #D9526E
triadic
#D952B2 #B2D952 #52B2D9
tetradic
#D952B2 #D9BC52 #52D979 #526ED9
square
#D952B2 #D9BC52 #52D979 #526ED9
split-complementary
#D952B2 #6ED952 #52D9BC
monochromatic
#912070 #C32B97 #D952B2 #E484C8 #EFB6DF

Accessibility & contrast

On white

3.62
#D952B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#D952B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D952B2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D952B2#FFFFFF#000000##000000
##D952B21.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A79B5
Deuteranopia (green-blind)
#838EAF
Tritanopia (blue-blind)
#E5557B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d952b2;
/* rgb */ color: rgb(217, 82, 178);
/* oklch */ color: oklch(64.7% 0.198 340.8);
Tailwind
colors: {
  custom: {
    50: '#e88bc9',
    500: '#d952b2',
    950: '#000000',
  },
}
SCSS
$custom: #d952b2;
$custom-light: #e88bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#d952b2",
  "rgb": {
    "r": 217,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 317.333,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64746,
    "c": 0.19815,
    "h": 340.8
  },
  "luminance": 0.24001
}

Semantic roles & 50–950 ramp

primary
#D952B2
secondary
#A9DEB8
accent
#E77141
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D952B2

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

Preview Lab → · Contrast checker → · Palette generator →

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