#D951A8#D951A8

#D951A8 is a light, vivid pink. Relative luminance 0.235; OKLCH L 64.2% C 0.193 H 344.6°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#D951A8
RGBrgb(217, 81, 168)
HSLhsl(322, 64%, 58%)
HSVhsv(322, 63%, 85%)
CMYKcmyk(0%, 62.7%, 22.6%, 14.9%)
CIE-LABlab(55.55, 61.95, -19.32)
CIE-LCHlch(55.55, 64.89, 342.68°)
OKLaboklab(64.22% 0.1862 -0.0513)
OKLCHoklch(64.22% 0.193 344.6)
XYZxyz(38.6269, 23.4674, 39.5336)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951A8 #51D982
analogous
#C651D9 #D951A8 #D95164
triadic
#D951A8 #A8D951 #51A8D9
tetradic
#D951A8 #D9C651 #51D982 #5164D9
square
#D951A8 #D9C651 #51D982 #5164D9
split-complementary
#D951A8 #64D951 #51D9C6
monochromatic
#901F68 #C22A8C #D951A8 #E483C1 #EFB5DA

Accessibility & contrast

On white

3.69
#D951A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#D951A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951A8
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951A8#FFFFFF#000000##000000
##D951A81.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E77AB
Deuteranopia (green-blind)
#858DA5
Tritanopia (blue-blind)
#E65075
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d951a8;
/* rgb */ color: rgb(217, 81, 168);
/* oklch */ color: oklch(64.2% 0.193 344.6);
Tailwind
colors: {
  custom: {
    50: '#e88ac2',
    500: '#d951a8',
    950: '#000000',
  },
}
SCSS
$custom: #d951a8;
$custom-light: #e88ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#d951a8",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 168
  },
  "hsl": {
    "h": 321.618,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6422,
    "c": 0.19319,
    "h": 344.6
  },
  "luminance": 0.23464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D951A8

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

Preview Lab → · Contrast checker → · Palette generator →

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