#D978BA#D978BA

#D978BA is a light, vivid pink. Relative luminance 0.317; OKLCH L 70.1% C 0.144 H 340.4°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#D978BA
RGBrgb(217, 120, 186)
HSLhsl(319, 56%, 66%)
HSVhsv(319, 45%, 85%)
CMYKcmyk(0%, 44.7%, 14.3%, 14.9%)
CIE-LABlab(63.12, 46.32, -18.13)
CIE-LCHlch(63.12, 49.74, 338.62°)
OKLaboklab(70.06% 0.136 -0.0484)
OKLCHoklch(70.06% 0.144 340.4)
XYZxyz(44.1951, 31.7328, 50.2421)
Luminance0.3173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D978BA #78D997
analogous
#C778D9 #D978BA #D97889
triadic
#D978BA #BAD978 #78BAD9
tetradic
#D978BA #D9C778 #78D997 #7889D9
square
#D978BA #D9C778 #78D997 #7889D9
split-complementary
#D978BA #89D978 #78D9C7
monochromatic
#A72F81 #CC48A2 #D978BA #E6A8D2 #F4D8EB

Accessibility & contrast

On white

2.86
#D978BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#D978BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D978BA
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D978BA#FFFFFF#000000##000000
##D978BA1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8FBC
Deuteranopia (green-blind)
#969EB7
Tritanopia (blue-blind)
#E37991
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d978ba;
/* rgb */ color: rgb(217, 120, 186);
/* oklch */ color: oklch(70.1% 0.144 340.4);
Tailwind
colors: {
  custom: {
    50: '#e7a1ce',
    500: '#d978ba',
    950: '#000000',
  },
}
SCSS
$custom: #d978ba;
$custom-light: #e7a1ce;
$custom-dark: #000000;
JSON
{
  "hex": "#d978ba",
  "rgb": {
    "r": 217,
    "g": 120,
    "b": 186
  },
  "hsl": {
    "h": 319.175,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70064,
    "c": 0.14438,
    "h": 340.4
  },
  "luminance": 0.3173
}

Semantic roles & 50–950 ramp

primary
#D978BA
secondary
#C6E6D1
accent
#C45622
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#160F13
muted
#847F82

Preview Lab

Preview with #D978BA

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

Preview Lab → · Contrast checker → · Palette generator →

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