#D951B2#D951B2

#D951B2 is a light, vivid pink. Relative luminance 0.239; OKLCH L 64.6% C 0.200 H 340.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#D951B2
RGBrgb(217, 81, 178)
HSLhsl(317, 64%, 58%)
HSVhsv(317, 63%, 85%)
CMYKcmyk(0%, 62.7%, 18%, 14.9%)
CIE-LABlab(55.94, 63.33, -24.53)
CIE-LCHlch(55.94, 67.91, 338.83°)
OKLaboklab(64.63% 0.1883 -0.0659)
OKLCHoklch(64.63% 0.2 340.7)
XYZxyz(39.5945, 23.8545, 44.6299)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951B2 #51D978
analogous
#BC51D9 #D951B2 #D9516E
triadic
#D951B2 #B2D951 #51B2D9
tetradic
#D951B2 #D9BC51 #51D978 #516ED9
square
#D951B2 #D9BC51 #51D978 #516ED9
split-complementary
#D951B2 #6ED951 #51D9BC
monochromatic
#901F70 #C22A97 #D951B2 #E483C8 #EFB5DE

Accessibility & contrast

On white

3.64
#D951B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#D951B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951B2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951B2#FFFFFF#000000##000000
##D951B21.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A78B5
Deuteranopia (green-blind)
#828EAF
Tritanopia (blue-blind)
#E5547A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d951b2;
/* rgb */ color: rgb(217, 81, 178);
/* oklch */ color: oklch(64.6% 0.200 340.7);
Tailwind
colors: {
  custom: {
    50: '#e88ac9',
    500: '#d951b2',
    950: '#000000',
  },
}
SCSS
$custom: #d951b2;
$custom-light: #e88ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#d951b2",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 317.206,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64635,
    "c": 0.19954,
    "h": 340.7
  },
  "luminance": 0.23851
}

Semantic roles & 50–950 ramp

primary
#D951B2
secondary
#A8DEB7
accent
#E77041
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D951B2

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

Preview Lab → · Contrast checker → · Palette generator →

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