#D981CA#D981CA

#D981CA is a light, vivid pink. Relative luminance 0.347; OKLCH L 72.1% C 0.142 H 333.4°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#D981CA
RGBrgb(217, 129, 202)
HSLhsl(310, 54%, 68%)
HSVhsv(310, 41%, 85%)
CMYKcmyk(0%, 40.6%, 6.9%, 14.9%)
CIE-LABlab(65.53, 44.32, -23.48)
CIE-LCHlch(65.53, 50.16, 332.09°)
OKLaboklab(72.06% 0.1268 -0.0634)
OKLCHoklch(72.06% 0.142 333.4)
XYZxyz(47.1259, 34.7190, 60.0849)
Luminance0.3472 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D981CA #81D990
analogous
#BC81D9 #D981CA #D9819E
triadic
#D981CA #CAD981 #81CAD9
tetradic
#D981CA #D9BC81 #81D990 #819ED9
square
#D981CA #D9BC81 #81D990 #819ED9
split-complementary
#D981CA #9ED981 #81D9BC
monochromatic
#AC3497 #CB52B6 #D981CA #E7B0DE #F5DFF2

Accessibility & contrast

On white

2.64
#D981CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#D981CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D981CA
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D981CA#FFFFFF#000000##000000
##D981CA1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8097CD
Deuteranopia (green-blind)
#97A4C7
Tritanopia (blue-blind)
#E0869C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d981ca;
/* rgb */ color: rgb(217, 129, 202);
/* oklch */ color: oklch(72.1% 0.142 333.4);
Tailwind
colors: {
  custom: {
    50: '#e6a7da',
    500: '#d981ca',
    950: '#000000',
  },
}
SCSS
$custom: #d981ca;
$custom-light: #e6a7da;
$custom-dark: #000000;
JSON
{
  "hex": "#d981ca",
  "rgb": {
    "r": 217,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 310.227,
    "s": 53.659,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72064,
    "c": 0.14172,
    "h": 333.4
  },
  "luminance": 0.34716
}

Semantic roles & 50–950 ramp

primary
#D981CA
secondary
#CDE8D2
accent
#C13F24
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#161014
muted
#847F83

Preview Lab

Preview with #D981CA

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

Preview Lab → · Contrast checker → · Palette generator →

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