#D951A9#D951A9

#D951A9 is a light, vivid pink. Relative luminance 0.235; OKLCH L 64.3% C 0.194 H 344.2°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#D951A9
RGBrgb(217, 81, 169)
HSLhsl(321, 64%, 58%)
HSVhsv(321, 63%, 85%)
CMYKcmyk(0%, 62.7%, 22.1%, 14.9%)
CIE-LABlab(55.59, 62.08, -19.84)
CIE-LCHlch(55.59, 65.18, 342.28°)
OKLaboklab(64.26% 0.1865 -0.0528)
OKLCHoklch(64.26% 0.194 344.2)
XYZxyz(38.7204, 23.5048, 40.0261)
Luminance0.2350 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951A9 #51D981
analogous
#C551D9 #D951A9 #D95165
triadic
#D951A9 #A9D951 #51A9D9
tetradic
#D951A9 #D9C551 #51D981 #5165D9
square
#D951A9 #D9C551 #51D981 #5165D9
split-complementary
#D951A9 #65D951 #51D9C5
monochromatic
#901F68 #C22A8D #D951A9 #E483C2 #EFB5DB

Accessibility & contrast

On white

3.68
#D951A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#D951A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951A9
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951A9#FFFFFF#000000##000000
##D951A91.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E77AC
Deuteranopia (green-blind)
#858EA6
Tritanopia (blue-blind)
#E65076
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d951a9;
/* rgb */ color: rgb(217, 81, 169);
/* oklch */ color: oklch(64.3% 0.194 344.2);
Tailwind
colors: {
  custom: {
    50: '#e88ac2',
    500: '#d951a9',
    950: '#000000',
  },
}
SCSS
$custom: #d951a9;
$custom-light: #e88ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#d951a9",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 169
  },
  "hsl": {
    "h": 321.176,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6426,
    "c": 0.1938,
    "h": 344.2
  },
  "luminance": 0.23501
}

Semantic roles & 50–950 ramp

primary
#D951A9
secondary
#A8DEBB
accent
#E77B41
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #D951A9

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

Preview Lab → · Contrast checker → · Palette generator →

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