#D951A7#D951A7

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

Color values

HEX#D951A7
RGBrgb(217, 81, 167)
HSLhsl(322, 64%, 58%)
HSVhsv(322, 63%, 85%)
CMYKcmyk(0%, 62.7%, 23%, 14.9%)
CIE-LABlab(55.51, 61.82, -18.79)
CIE-LCHlch(55.51, 64.61, 343.09°)
OKLaboklab(64.18% 0.186 -0.0499)
OKLCHoklch(64.18% 0.193 345)
XYZxyz(38.5341, 23.4303, 39.0448)
Luminance0.2343 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951A7 #51D983
analogous
#C751D9 #D951A7 #D95163
triadic
#D951A7 #A7D951 #51A7D9
tetradic
#D951A7 #D9C751 #51D983 #5163D9
square
#D951A7 #D9C751 #51D983 #5163D9
split-complementary
#D951A7 #63D951 #51D9C7
monochromatic
#901F67 #C22A8B #D951A7 #E483C0 #EFB5DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D951A7#FFFFFF#000000##000000
##D951A71.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)
#5E76AA
Deuteranopia (green-blind)
#868DA4
Tritanopia (blue-blind)
#E75075
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d951a7;
/* rgb */ color: rgb(217, 81, 167);
/* oklch */ color: oklch(64.2% 0.193 345.0);
Tailwind
colors: {
  custom: {
    50: '#e88ac1',
    500: '#d951a7',
    950: '#000000',
  },
}
SCSS
$custom: #d951a7;
$custom-light: #e88ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#d951a7",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 167
  },
  "hsl": {
    "h": 322.059,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6418,
    "c": 0.19259,
    "h": 345
  },
  "luminance": 0.23427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D951A7

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

Preview Lab → · Contrast checker → · Palette generator →

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