#D951A6#D951A6

#D951A6 is a light, vivid pink. Relative luminance 0.234; OKLCH L 64.1% C 0.192 H 345.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#D951A6
RGBrgb(217, 81, 166)
HSLhsl(323, 64%, 58%)
HSVhsv(323, 63%, 85%)
CMYKcmyk(0%, 62.7%, 23.5%, 14.9%)
CIE-LABlab(55.48, 61.68, -18.27)
CIE-LCHlch(55.48, 64.33, 343.50°)
OKLaboklab(64.14% 0.1858 -0.0484)
OKLCHoklch(64.14% 0.192 345.4)
XYZxyz(38.4420, 23.3935, 38.5598)
Luminance0.2339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951A6 #51D984
analogous
#C851D9 #D951A6 #D95162
triadic
#D951A6 #A6D951 #51A6D9
tetradic
#D951A6 #D9C851 #51D984 #5162D9
square
#D951A6 #D9C851 #51D984 #5162D9
split-complementary
#D951A6 #62D951 #51D9C8
monochromatic
#901F66 #C22A89 #D951A6 #E483C0 #EFB5D9

Accessibility & contrast

On white

3.70
#D951A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#D951A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951A6
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951A6#FFFFFF#000000##000000
##D951A61.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F76A9
Deuteranopia (green-blind)
#868DA3
Tritanopia (blue-blind)
#E74F74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d951a6;
/* rgb */ color: rgb(217, 81, 166);
/* oklch */ color: oklch(64.1% 0.192 345.4);
Tailwind
colors: {
  custom: {
    50: '#e88ac0',
    500: '#d951a6',
    950: '#000000',
  },
}
SCSS
$custom: #d951a6;
$custom-light: #e88ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#d951a6",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 166
  },
  "hsl": {
    "h": 322.5,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6414,
    "c": 0.19199,
    "h": 345.4
  },
  "luminance": 0.2339
}

Semantic roles & 50–950 ramp

primary
#D951A6
secondary
#A8DEBC
accent
#E77F41
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #D951A6

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

Preview Lab → · Contrast checker → · Palette generator →

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