#D951B6#D951B6

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

Color values

HEX#D951B6
RGBrgb(217, 81, 182)
HSLhsl(315, 64%, 58%)
HSVhsv(315, 63%, 85%)
CMYKcmyk(0%, 62.7%, 16.1%, 14.9%)
CIE-LABlab(56.11, 63.90, -26.59)
CIE-LCHlch(56.11, 69.21, 337.41°)
OKLaboklab(64.81% 0.1891 -0.0717)
OKLCHoklch(64.81% 0.202 339.2)
XYZxyz(40.0020, 24.0175, 46.7760)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951B6 #51D974
analogous
#B851D9 #D951B6 #D95172
triadic
#D951B6 #B6D951 #51B6D9
tetradic
#D951B6 #D9B851 #51D974 #5172D9
square
#D951B6 #D9B851 #51D974 #5172D9
split-complementary
#D951B6 #72D951 #51D9B8
monochromatic
#901F73 #C22A9B #D951B6 #E483CB #EFB5E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D951B6#FFFFFF#000000##000000
##D951B61.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)
#5779B9
Deuteranopia (green-blind)
#818EB3
Tritanopia (blue-blind)
#E5557C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d951b6;
/* rgb */ color: rgb(217, 81, 182);
/* oklch */ color: oklch(64.8% 0.202 339.2);
Tailwind
colors: {
  custom: {
    50: '#e88acc',
    500: '#d951b6',
    950: '#000000',
  },
}
SCSS
$custom: #d951b6;
$custom-light: #e88acc;
$custom-dark: #000000;
JSON
{
  "hex": "#d951b6",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 182
  },
  "hsl": {
    "h": 315.441,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64809,
    "c": 0.20223,
    "h": 339.2
  },
  "luminance": 0.24014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D951B6

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

Preview Lab → · Contrast checker → · Palette generator →

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