#D978BF#D978BF

#D978BF is a light, vivid pink. Relative luminance 0.319; OKLCH L 70.3% C 0.148 H 338.0°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#D978BF
RGBrgb(217, 120, 191)
HSLhsl(316, 56%, 66%)
HSVhsv(316, 45%, 85%)
CMYKcmyk(0%, 44.7%, 12%, 14.9%)
CIE-LABlab(63.30, 47.12, -20.69)
CIE-LCHlch(63.30, 51.46, 336.29°)
OKLaboklab(70.26% 0.1374 -0.0555)
OKLCHoklch(70.26% 0.148 338)
XYZxyz(44.7359, 31.9491, 53.0906)
Luminance0.3195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D978BF #78D992
analogous
#C278D9 #D978BF #D9788E
triadic
#D978BF #BFD978 #78BFD9
tetradic
#D978BF #D9C278 #78D992 #788ED9
square
#D978BF #D9C278 #78D992 #788ED9
split-complementary
#D978BF #8ED978 #78D9C2
monochromatic
#A72F87 #CC48A8 #D978BF #E6A8D6 #F4D8EC

Accessibility & contrast

On white

2.84
#D978BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#D978BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D978BF
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D978BF#FFFFFF#000000##000000
##D978BF1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B90C1
Deuteranopia (green-blind)
#949FBC
Tritanopia (blue-blind)
#E27B93
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d978bf;
/* rgb */ color: rgb(217, 120, 191);
/* oklch */ color: oklch(70.3% 0.148 338.0);
Tailwind
colors: {
  custom: {
    50: '#e7a1d2',
    500: '#d978bf',
    950: '#000000',
  },
}
SCSS
$custom: #d978bf;
$custom-light: #e7a1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d978bf",
  "rgb": {
    "r": 217,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 316.082,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70258,
    "c": 0.14815,
    "h": 338
  },
  "luminance": 0.31946
}

Semantic roles & 50–950 ramp

primary
#D978BF
secondary
#C6E6CF
accent
#C44D22
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#160F14
muted
#847F82

Preview Lab

Preview with #D978BF

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

Preview Lab → · Contrast checker → · Palette generator →

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