#D978B0#D978B0

#D978B0 is a light, vivid pink. Relative luminance 0.313; OKLCH L 69.7% C 0.138 H 345.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#D978B0
RGBrgb(217, 120, 176)
HSLhsl(325, 56%, 66%)
HSVhsv(325, 45%, 85%)
CMYKcmyk(0%, 44.7%, 18.9%, 14.9%)
CIE-LABlab(62.78, 44.78, -12.97)
CIE-LCHlch(62.78, 46.62, 343.84°)
OKLaboklab(69.69% 0.1332 -0.0342)
OKLCHoklch(69.69% 0.138 345.6)
XYZxyz(43.1690, 31.3223, 44.8380)
Luminance0.3132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D978B0 #78D9A1
analogous
#D178D9 #D978B0 #D9787F
triadic
#D978B0 #B0D978 #78B0D9
tetradic
#D978B0 #D9D178 #78D9A1 #787FD9
square
#D978B0 #D9D178 #78D9A1 #787FD9
split-complementary
#D978B0 #7FD978 #78D9D1
monochromatic
#A72F75 #CC4894 #D978B0 #E6A8CC #F4D8E8

Accessibility & contrast

On white

2.89
#D978B0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#D978B0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D978B0
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D978B0#FFFFFF#000000##000000
##D978B01.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#808EB2
Deuteranopia (green-blind)
#999EAD
Tritanopia (blue-blind)
#E4778D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d978b0;
/* rgb */ color: rgb(217, 120, 176);
/* oklch */ color: oklch(69.7% 0.138 345.6);
Tailwind
colors: {
  custom: {
    50: '#e7a1c7',
    500: '#d978b0',
    950: '#000000',
  },
}
SCSS
$custom: #d978b0;
$custom-light: #e7a1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#d978b0",
  "rgb": {
    "r": 217,
    "g": 120,
    "b": 176
  },
  "hsl": {
    "h": 325.361,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69694,
    "c": 0.13751,
    "h": 345.6
  },
  "luminance": 0.31319
}

Semantic roles & 50–950 ramp

primary
#D978B0
secondary
#C6E6D4
accent
#C46622
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#160F13
muted
#847F82

Preview Lab

Preview with #D978B0

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

Preview Lab → · Contrast checker → · Palette generator →

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