#D978BD#D978BD

#D978BD is a light, vivid pink. Relative luminance 0.319; OKLCH L 70.2% C 0.147 H 339.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#D978BD
RGBrgb(217, 120, 189)
HSLhsl(317, 56%, 66%)
HSVhsv(317, 45%, 85%)
CMYKcmyk(0%, 44.7%, 12.9%, 14.9%)
CIE-LABlab(63.23, 46.80, -19.67)
CIE-LCHlch(63.23, 50.76, 337.20°)
OKLaboklab(70.18% 0.1368 -0.0527)
OKLCHoklch(70.18% 0.147 339)
XYZxyz(44.5173, 31.8617, 51.9394)
Luminance0.3186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D978BD #78D994
analogous
#C478D9 #D978BD #D9788C
triadic
#D978BD #BDD978 #78BDD9
tetradic
#D978BD #D9C478 #78D994 #788CD9
square
#D978BD #D9C478 #78D994 #788CD9
split-complementary
#D978BD #8CD978 #78D9C4
monochromatic
#A72F85 #CC48A6 #D978BD #E6A8D4 #F4D8EC

Accessibility & contrast

On white

2.85
#D978BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#D978BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D978BD
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D978BD#FFFFFF#000000##000000
##D978BD1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B90BF
Deuteranopia (green-blind)
#959FBA
Tritanopia (blue-blind)
#E37A92
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d978bd;
/* rgb */ color: rgb(217, 120, 189);
/* oklch */ color: oklch(70.2% 0.147 339.0);
Tailwind
colors: {
  custom: {
    50: '#e7a1d1',
    500: '#d978bd',
    950: '#000000',
  },
}
SCSS
$custom: #d978bd;
$custom-light: #e7a1d1;
$custom-dark: #000000;
JSON
{
  "hex": "#d978bd",
  "rgb": {
    "r": 217,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 317.32,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.7018,
    "c": 0.14662,
    "h": 339
  },
  "luminance": 0.31859
}

Semantic roles & 50–950 ramp

primary
#D978BD
secondary
#C6E6D0
accent
#C45122
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#160F14
muted
#847F82

Preview Lab

Preview with #D978BD

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

Preview Lab → · Contrast checker → · Palette generator →

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