#D951BC#D951BC

#D951BC is a light, highly saturated pink. Relative luminance 0.243; OKLCH L 65.1% C 0.206 H 337.1°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#D951BC
RGBrgb(217, 81, 188)
HSLhsl(313, 64%, 58%)
HSVhsv(313, 63%, 85%)
CMYKcmyk(0%, 62.7%, 13.4%, 14.9%)
CIE-LABlab(56.36, 64.78, -29.66)
CIE-LCHlch(56.36, 71.25, 335.40°)
OKLaboklab(65.08% 0.1901 -0.0804)
OKLCHoklch(65.08% 0.206 337.1)
XYZxyz(40.6354, 24.2708, 50.1118)
Luminance0.2427 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951BC #51D96E
analogous
#B251D9 #D951BC #D95178
triadic
#D951BC #BCD951 #51BCD9
tetradic
#D951BC #D9B251 #51D96E #5178D9
square
#D951BC #D9B251 #51D96E #5178D9
split-complementary
#D951BC #78D951 #51D9B2
monochromatic
#901F78 #C22AA2 #D951BC #E483CF #EFB5E3

Accessibility & contrast

On white

3.59
#D951BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#D951BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951BC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951BC#FFFFFF#000000##000000
##D951BC1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#547ABF
Deuteranopia (green-blind)
#7F8FB9
Tritanopia (blue-blind)
#E4577F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d951bc;
/* rgb */ color: rgb(217, 81, 188);
/* oklch */ color: oklch(65.1% 0.206 337.1);
Tailwind
colors: {
  custom: {
    50: '#e88ad0',
    500: '#d951bc',
    950: '#000000',
  },
}
SCSS
$custom: #d951bc;
$custom-light: #e88ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#d951bc",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 312.794,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65076,
    "c": 0.20639,
    "h": 337.1
  },
  "luminance": 0.24267
}

Semantic roles & 50–950 ramp

primary
#D951BC
secondary
#A8DEB3
accent
#E76441
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D951BC

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

Preview Lab → · Contrast checker → · Palette generator →

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