#D977A2#D977A2

#D977A2 is a light, vivid pink. Relative luminance 0.306; OKLCH L 69.1% C 0.131 H 353.4°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#D977A2
RGBrgb(217, 119, 162)
HSLhsl(334, 56%, 66%)
HSVhsv(334, 45%, 85%)
CMYKcmyk(0%, 45.2%, 25.3%, 14.9%)
CIE-LABlab(62.13, 43.26, -5.95)
CIE-LCHlch(62.13, 43.67, 352.17°)
OKLaboklab(69.06% 0.1303 -0.0152)
OKLCHoklch(69.06% 0.131 353.4)
XYZxyz(41.7349, 30.5573, 37.8755)
Luminance0.3055 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D977A2 #77D9AE
analogous
#D977D3 #D977A2 #D97D77
triadic
#D977A2 #A2D977 #77A2D9
tetradic
#D977A2 #D3D977 #77D9AE #7D77D9
square
#D977A2 #D3D977 #77D9AE #7D77D9
split-complementary
#D977A2 #77D97D #77D3D9
monochromatic
#A72F63 #CC4781 #D977A2 #E6A7C3 #F4D7E3

Accessibility & contrast

On white

2.95
#D977A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#D977A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D977A2
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D977A2#FFFFFF#000000##000000
##D977A21.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#838CA3
Deuteranopia (green-blind)
#9C9DA0
Tritanopia (blue-blind)
#E67387
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d977a2;
/* rgb */ color: rgb(217, 119, 162);
/* oklch */ color: oklch(69.1% 0.131 353.4);
Tailwind
colors: {
  custom: {
    50: '#e7a0bd',
    500: '#d977a2',
    950: '#000000',
  },
}
SCSS
$custom: #d977a2;
$custom-light: #e7a0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d977a2",
  "rgb": {
    "r": 217,
    "g": 119,
    "b": 162
  },
  "hsl": {
    "h": 333.673,
    "s": 56.322,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6906,
    "c": 0.13121,
    "h": 353.4
  },
  "luminance": 0.30554
}

Semantic roles & 50–950 ramp

primary
#D977A2
secondary
#C6E6D8
accent
#C47D22
background
#FEFAFB
surface
#FDF3F6
border
#D5CDD0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D977A2

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

Preview Lab → · Contrast checker → · Palette generator →

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