#D951C2#D951C2

#D951C2 is a light, highly saturated pink. Relative luminance 0.245; OKLCH L 65.4% C 0.211 H 335.0°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#D951C2
RGBrgb(217, 81, 194)
HSLhsl(310, 64%, 58%)
HSVhsv(310, 63%, 85%)
CMYKcmyk(0%, 62.7%, 10.6%, 14.9%)
CIE-LABlab(56.62, 65.68, -32.70)
CIE-LCHlch(56.62, 73.37, 333.53°)
OKLaboklab(65.35% 0.191 -0.089)
OKLCHoklch(65.35% 0.211 335)
XYZxyz(41.2957, 24.5349, 53.5892)
Luminance0.2453 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951C2 #51D968
analogous
#AC51D9 #D951C2 #D9517E
triadic
#D951C2 #C2D951 #51C2D9
tetradic
#D951C2 #D9AC51 #51D968 #517ED9
square
#D951C2 #D9AC51 #51D968 #517ED9
split-complementary
#D951C2 #7ED951 #51D9AC
monochromatic
#901F7D #C22AA9 #D951C2 #E483D4 #EFB5E5

Accessibility & contrast

On white

3.56
#D951C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#D951C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951C2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951C2#FFFFFF#000000##000000
##D951C21.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#517BC5
Deuteranopia (green-blind)
#7C8FBF
Tritanopia (blue-blind)
#E35A82
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d951c2;
/* rgb */ color: rgb(217, 81, 194);
/* oklch */ color: oklch(65.4% 0.211 335.0);
Tailwind
colors: {
  custom: {
    50: '#e88ad4',
    500: '#d951c2',
    950: '#000000',
  },
}
SCSS
$custom: #d951c2;
$custom-light: #e88ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#d951c2",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 310.147,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65353,
    "c": 0.21072,
    "h": 335
  },
  "luminance": 0.24532
}

Semantic roles & 50–950 ramp

primary
#D951C2
secondary
#A8DEB1
accent
#E75D41
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D951C2

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

Preview Lab → · Contrast checker → · Palette generator →

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