#D978AF#D978AF

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

Color values

HEX#D978AF
RGBrgb(217, 120, 175)
HSLhsl(326, 56%, 66%)
HSVhsv(326, 45%, 85%)
CMYKcmyk(0%, 44.7%, 19.4%, 14.9%)
CIE-LABlab(62.75, 44.63, -12.45)
CIE-LCHlch(62.75, 46.33, 344.41°)
OKLaboklab(69.66% 0.1329 -0.0328)
OKLCHoklch(69.66% 0.137 346.2)
XYZxyz(43.0704, 31.2829, 44.3188)
Luminance0.3128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D978AF #78D9A2
analogous
#D278D9 #D978AF #D9787E
triadic
#D978AF #AFD978 #78AFD9
tetradic
#D978AF #D9D278 #78D9A2 #787ED9
square
#D978AF #D9D278 #78D9A2 #787ED9
split-complementary
#D978AF #7ED978 #78D9D2
monochromatic
#A72F73 #CC4893 #D978AF #E6A8CB #F4D8E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D978AF#FFFFFF#000000##000000
##D978AF1.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)
#808EB1
Deuteranopia (green-blind)
#999EAD
Tritanopia (blue-blind)
#E5778C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d978af;
/* rgb */ color: rgb(217, 120, 175);
/* oklch */ color: oklch(69.7% 0.137 346.2);
Tailwind
colors: {
  custom: {
    50: '#e7a1c6',
    500: '#d978af',
    950: '#000000',
  },
}
SCSS
$custom: #d978af;
$custom-light: #e7a1c6;
$custom-dark: #000000;
JSON
{
  "hex": "#d978af",
  "rgb": {
    "r": 217,
    "g": 120,
    "b": 175
  },
  "hsl": {
    "h": 325.979,
    "s": 56.069,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69658,
    "c": 0.13687,
    "h": 346.2
  },
  "luminance": 0.3128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D978AF

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

Preview Lab → · Contrast checker → · Palette generator →

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