#D978AE#D978AE

#D978AE is a light, vivid pink. Relative luminance 0.312; OKLCH L 69.6% C 0.136 H 346.7°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#D978AE
RGBrgb(217, 120, 174)
HSLhsl(327, 56%, 66%)
HSVhsv(327, 45%, 85%)
CMYKcmyk(0%, 44.7%, 19.8%, 14.9%)
CIE-LABlab(62.71, 44.48, -11.93)
CIE-LCHlch(62.71, 46.05, 344.98°)
OKLaboklab(69.62% 0.1326 -0.0313)
OKLCHoklch(69.62% 0.136 346.7)
XYZxyz(42.9725, 31.2438, 43.8035)
Luminance0.3124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D978AE #78D9A3
analogous
#D378D9 #D978AE #D9787D
triadic
#D978AE #AED978 #78AED9
tetradic
#D978AE #D9D378 #78D9A3 #787DD9
square
#D978AE #D9D378 #78D9A3 #787DD9
split-complementary
#D978AE #7DD978 #78D9D3
monochromatic
#A72F72 #CC4891 #D978AE #E6A8CB #F4D8E7

Accessibility & contrast

On white

2.90
#D978AE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#D978AE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D978AE
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D978AE#FFFFFF#000000##000000
##D978AE1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#808EB0
Deuteranopia (green-blind)
#999EAC
Tritanopia (blue-blind)
#E5778C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d978ae;
/* rgb */ color: rgb(217, 120, 174);
/* oklch */ color: oklch(69.6% 0.136 346.7);
Tailwind
colors: {
  custom: {
    50: '#e7a1c6',
    500: '#d978ae',
    950: '#000000',
  },
}
SCSS
$custom: #d978ae;
$custom-light: #e7a1c6;
$custom-dark: #000000;
JSON
{
  "hex": "#d978ae",
  "rgb": {
    "r": 217,
    "g": 120,
    "b": 174
  },
  "hsl": {
    "h": 326.598,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69623,
    "c": 0.13624,
    "h": 346.7
  },
  "luminance": 0.31241
}

Semantic roles & 50–950 ramp

primary
#D978AE
secondary
#C6E6D5
accent
#C46A22
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#160F13
muted
#847F82

Preview Lab

Preview with #D978AE

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

Preview Lab → · Contrast checker → · Palette generator →

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