#D951BF#D951BF

#D951BF is a light, highly saturated pink. Relative luminance 0.244; OKLCH L 65.2% C 0.209 H 336.0°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#D951BF
RGBrgb(217, 81, 191)
HSLhsl(311, 64%, 58%)
HSVhsv(311, 63%, 85%)
CMYKcmyk(0%, 62.7%, 12%, 14.9%)
CIE-LABlab(56.49, 65.23, -31.18)
CIE-LCHlch(56.49, 72.30, 334.45°)
OKLaboklab(65.21% 0.1906 -0.0847)
OKLCHoklch(65.21% 0.209 336)
XYZxyz(40.9621, 24.4015, 51.8327)
Luminance0.2440 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951BF #51D96B
analogous
#AF51D9 #D951BF #D9517B
triadic
#D951BF #BFD951 #51BFD9
tetradic
#D951BF #D9AF51 #51D96B #517BD9
square
#D951BF #D9AF51 #51D96B #517BD9
split-complementary
#D951BF #7BD951 #51D9AF
monochromatic
#901F7B #C22AA5 #D951BF #E483D1 #EFB5E4

Accessibility & contrast

On white

3.57
#D951BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#D951BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951BF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951BF#FFFFFF#000000##000000
##D951BF1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC2
Deuteranopia (green-blind)
#7E8FBC
Tritanopia (blue-blind)
#E35981
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d951bf;
/* rgb */ color: rgb(217, 81, 191);
/* oklch */ color: oklch(65.2% 0.209 336.0);
Tailwind
colors: {
  custom: {
    50: '#e88ad2',
    500: '#d951bf',
    950: '#000000',
  },
}
SCSS
$custom: #d951bf;
$custom-light: #e88ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#d951bf",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 311.471,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65213,
    "c": 0.20854,
    "h": 336
  },
  "luminance": 0.24398
}

Semantic roles & 50–950 ramp

primary
#D951BF
secondary
#A8DEB2
accent
#E76041
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #D951BF

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

Preview Lab → · Contrast checker → · Palette generator →

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