#D978A2#D978A2

#D978A2 is a light, vivid pink. Relative luminance 0.308; OKLCH L 69.2% C 0.130 H 353.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#D978A2
RGBrgb(217, 120, 162)
HSLhsl(334, 56%, 66%)
HSVhsv(334, 45%, 85%)
CMYKcmyk(0%, 44.7%, 25.3%, 14.9%)
CIE-LABlab(62.34, 42.74, -5.65)
CIE-LCHlch(62.34, 43.12, 352.48°)
OKLaboklab(69.21% 0.1288 -0.0144)
OKLCHoklch(69.21% 0.13 353.6)
XYZxyz(41.8545, 30.7965, 37.9153)
Luminance0.3079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D978A2 #78D9AF
analogous
#D978D2 #D978A2 #D97E78
triadic
#D978A2 #A2D978 #78A2D9
tetradic
#D978A2 #D2D978 #78D9AF #7E78D9
square
#D978A2 #D2D978 #78D9AF #7E78D9
split-complementary
#D978A2 #78D97E #78D2D9
monochromatic
#A72F63 #CC4881 #D978A2 #E6A8C3 #F4D8E4

Accessibility & contrast

On white

2.93
#D978A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#D978A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D978A2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D978A2#FFFFFF#000000##000000
##D978A21.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#848CA3
Deuteranopia (green-blind)
#9C9DA0
Tritanopia (blue-blind)
#E67487
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d978a2;
/* rgb */ color: rgb(217, 120, 162);
/* oklch */ color: oklch(69.2% 0.130 353.6);
Tailwind
colors: {
  custom: {
    50: '#e7a1bd',
    500: '#d978a2',
    950: '#000000',
  },
}
SCSS
$custom: #d978a2;
$custom-light: #e7a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d978a2",
  "rgb": {
    "r": 217,
    "g": 120,
    "b": 162
  },
  "hsl": {
    "h": 334.021,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69214,
    "c": 0.12958,
    "h": 353.6
  },
  "luminance": 0.30793
}

Semantic roles & 50–950 ramp

primary
#D978A2
secondary
#C6E6D9
accent
#C47E22
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D978A2

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

Preview Lab → · Contrast checker → · Palette generator →

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