#D951B8#D951B8

#D951B8 is a light, highly saturated pink. Relative luminance 0.241; OKLCH L 64.9% C 0.204 H 338.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#D951B8
RGBrgb(217, 81, 184)
HSLhsl(315, 64%, 58%)
HSVhsv(315, 63%, 85%)
CMYKcmyk(0%, 62.7%, 15.2%, 14.9%)
CIE-LABlab(56.19, 64.19, -27.62)
CIE-LCHlch(56.19, 69.88, 336.72°)
OKLaboklab(64.9% 0.1894 -0.0746)
OKLCHoklch(64.9% 0.204 338.5)
XYZxyz(40.2102, 24.1007, 47.8723)
Luminance0.2410 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951B8 #51D972
analogous
#B651D9 #D951B8 #D95174
triadic
#D951B8 #B8D951 #51B8D9
tetradic
#D951B8 #D9B651 #51D972 #5174D9
square
#D951B8 #D9B651 #51D972 #5174D9
split-complementary
#D951B8 #74D951 #51D9B6
monochromatic
#901F75 #C22A9D #D951B8 #E483CC #EFB5E1

Accessibility & contrast

On white

3.61
#D951B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#D951B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951B8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951B8#FFFFFF#000000##000000
##D951B81.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5679BB
Deuteranopia (green-blind)
#808EB5
Tritanopia (blue-blind)
#E4567D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d951b8;
/* rgb */ color: rgb(217, 81, 184);
/* oklch */ color: oklch(64.9% 0.204 338.5);
Tailwind
colors: {
  custom: {
    50: '#e88acd',
    500: '#d951b8',
    950: '#000000',
  },
}
SCSS
$custom: #d951b8;
$custom-light: #e88acd;
$custom-dark: #000000;
JSON
{
  "hex": "#d951b8",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 184
  },
  "hsl": {
    "h": 314.559,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64897,
    "c": 0.2036,
    "h": 338.5
  },
  "luminance": 0.24097
}

Semantic roles & 50–950 ramp

primary
#D951B8
secondary
#A8DEB5
accent
#E76941
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #D951B8

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

Preview Lab → · Contrast checker → · Palette generator →

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