#D951A1#D951A1

#D951A1 is a light, vivid pink. Relative luminance 0.232; OKLCH L 63.9% C 0.189 H 347.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#D951A1
RGBrgb(217, 81, 161)
HSLhsl(325, 64%, 58%)
HSVhsv(325, 63%, 85%)
CMYKcmyk(0%, 62.7%, 25.8%, 14.9%)
CIE-LABlab(55.29, 61.03, -15.62)
CIE-LCHlch(55.29, 62.99, 345.64°)
OKLaboklab(63.94% 0.1846 -0.0411)
OKLCHoklch(63.94% 0.189 347.4)
XYZxyz(37.9922, 23.2136, 36.1911)
Luminance0.2321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D951A1 #51D989
analogous
#CD51D9 #D951A1 #D9515D
triadic
#D951A1 #A1D951 #51A1D9
tetradic
#D951A1 #D9CD51 #51D989 #515DD9
square
#D951A1 #D9CD51 #51D989 #515DD9
split-complementary
#D951A1 #5DD951 #51D9CD
monochromatic
#901F62 #C22A84 #D951A1 #E483BC #EFB5D7

Accessibility & contrast

On white

3.72
#D951A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#D951A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D951A1
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D951A1#FFFFFF#000000##000000
##D951A11.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6175A3
Deuteranopia (green-blind)
#888D9E
Tritanopia (blue-blind)
#E74D72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d951a1;
/* rgb */ color: rgb(217, 81, 161);
/* oklch */ color: oklch(63.9% 0.189 347.4);
Tailwind
colors: {
  custom: {
    50: '#e88abd',
    500: '#d951a1',
    950: '#000000',
  },
}
SCSS
$custom: #d951a1;
$custom-light: #e88abd;
$custom-dark: #000000;
JSON
{
  "hex": "#d951a1",
  "rgb": {
    "r": 217,
    "g": 81,
    "b": 161
  },
  "hsl": {
    "h": 324.706,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63944,
    "c": 0.1891,
    "h": 347.4
  },
  "luminance": 0.2321
}

Semantic roles & 50–950 ramp

primary
#D951A1
secondary
#A8DEBE
accent
#E78541
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #D951A1

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

Preview Lab → · Contrast checker → · Palette generator →

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