#D951B5#D951B5

#D951B5 is a light, highly saturated pink. Relative luminance 0.240; OKLCH L 64.8% C 0.202 H 339.6°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#D951B5
RGBrgb(217, 81, 181)
HSLhsl(316, 64%, 58%)
HSVhsv(316, 63%, 85%)
CMYKcmyk(0%, 62.7%, 16.6%, 14.9%)
CIE-LABlab(56.06, 63.76, -26.08)
CIE-LCHlch(56.06, 68.88, 337.76°)
OKLaboklab(64.77% 0.1889 -0.0703)
OKLCHoklch(64.77% 0.202 339.6)
XYZxyz(39.8990, 23.9763, 46.2336)
Luminance0.2397 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951B5 #51D975
analogous
#B951D9 #D951B5 #D95171
triadic
#D951B5 #B5D951 #51B5D9
tetradic
#D951B5 #D9B951 #51D975 #5171D9
square
#D951B5 #D9B951 #51D975 #5171D9
split-complementary
#D951B5 #71D951 #51D9B9
monochromatic
#901F72 #C22A9A #D951B5 #E483CA #EFB5E0

Accessibility & contrast

On white

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

On black

5.79
#D951B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951B5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951B5#FFFFFF#000000##000000
##D951B51.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5879B8
Deuteranopia (green-blind)
#818EB2
Tritanopia (blue-blind)
#E5557C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d951b5;
/* rgb */ color: rgb(217, 81, 181);
/* oklch */ color: oklch(64.8% 0.202 339.6);
Tailwind
colors: {
  custom: {
    50: '#e88acb',
    500: '#d951b5',
    950: '#000000',
  },
}
SCSS
$custom: #d951b5;
$custom-light: #e88acb;
$custom-dark: #000000;
JSON
{
  "hex": "#d951b5",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 181
  },
  "hsl": {
    "h": 315.882,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64765,
    "c": 0.20154,
    "h": 339.6
  },
  "luminance": 0.23973
}

Semantic roles & 50–950 ramp

primary
#D951B5
secondary
#A8DEB6
accent
#E76D41
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D951B5

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

Preview Lab → · Contrast checker → · Palette generator →

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