#D952A7#D952A7

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

Color values

HEX#D952A7
RGBrgb(217, 82, 167)
HSLhsl(322, 64%, 59%)
HSVhsv(322, 62%, 85%)
CMYKcmyk(0%, 62.2%, 23%, 14.9%)
CIE-LABlab(55.66, 61.40, -18.56)
CIE-LCHlch(55.66, 64.14, 343.18°)
OKLaboklab(64.29% 0.1848 -0.0492)
OKLCHoklch(64.29% 0.191 345.1)
XYZxyz(38.6089, 23.5800, 39.0698)
Luminance0.2358 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D952A7 #52D984
analogous
#C752D9 #D952A7 #D95263
triadic
#D952A7 #A7D952 #52A7D9
tetradic
#D952A7 #D9C752 #52D984 #5263D9
square
#D952A7 #D9C752 #52D984 #5263D9
split-complementary
#D952A7 #63D952 #52D9C7
monochromatic
#912067 #C32B8B #D952A7 #E484C1 #EFB6DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D952A7#FFFFFF#000000##000000
##D952A71.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)
#5F77AA
Deuteranopia (green-blind)
#868EA4
Tritanopia (blue-blind)
#E75075
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d952a7;
/* rgb */ color: rgb(217, 82, 167);
/* oklch */ color: oklch(64.3% 0.191 345.1);
Tailwind
colors: {
  custom: {
    50: '#e88ac1',
    500: '#d952a7',
    950: '#000000',
  },
}
SCSS
$custom: #d952a7;
$custom-light: #e88ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#d952a7",
  "rgb": {
    "r": 217,
    "g": 82,
    "b": 167
  },
  "hsl": {
    "h": 322.222,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64291,
    "c": 0.1912,
    "h": 345.1
  },
  "luminance": 0.23576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D952A7

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

Preview Lab → · Contrast checker → · Palette generator →

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