#D951AB#D951AB

#D951AB is a light, vivid pink. Relative luminance 0.236; OKLCH L 64.3% C 0.195 H 343.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#D951AB
RGBrgb(217, 81, 171)
HSLhsl(320, 64%, 58%)
HSVhsv(320, 63%, 85%)
CMYKcmyk(0%, 62.7%, 21.2%, 14.9%)
CIE-LABlab(55.67, 62.36, -20.89)
CIE-LCHlch(55.67, 65.76, 341.48°)
OKLaboklab(64.34% 0.1869 -0.0557)
OKLCHoklch(64.34% 0.195 343.4)
XYZxyz(38.9096, 23.5805, 41.0225)
Luminance0.2358 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951AB #51D97F
analogous
#C351D9 #D951AB #D95167
triadic
#D951AB #ABD951 #51ABD9
tetradic
#D951AB #D9C351 #51D97F #5167D9
square
#D951AB #D9C351 #51D97F #5167D9
split-complementary
#D951AB #67D951 #51D9C3
monochromatic
#901F6A #C22A8F #D951AB #E483C3 #EFB5DB

Accessibility & contrast

On white

3.67
#D951AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#D951AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951AB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951AB#FFFFFF#000000##000000
##D951AB1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D77AE
Deuteranopia (green-blind)
#858EA8
Tritanopia (blue-blind)
#E65177
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d951ab;
/* rgb */ color: rgb(217, 81, 171);
/* oklch */ color: oklch(64.3% 0.195 343.4);
Tailwind
colors: {
  custom: {
    50: '#e88ac4',
    500: '#d951ab',
    950: '#000000',
  },
}
SCSS
$custom: #d951ab;
$custom-light: #e88ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#d951ab",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 320.294,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64342,
    "c": 0.19504,
    "h": 343.4
  },
  "luminance": 0.23577
}

Semantic roles & 50–950 ramp

primary
#D951AB
secondary
#A8DEBA
accent
#E77941
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C12
muted
#857D81

Preview Lab

Preview with #D951AB

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

Preview Lab → · Contrast checker → · Palette generator →

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