#D877B2#D877B2

#D877B2 is a light, vivid pink. Relative luminance 0.310; OKLCH L 69.5% C 0.140 H 344.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#D877B2
RGBrgb(216, 119, 178)
HSLhsl(324, 55%, 66%)
HSVhsv(324, 45%, 85%)
CMYKcmyk(0%, 44.9%, 17.6%, 15.3%)
CIE-LABlab(62.52, 45.26, -14.52)
CIE-LCHlch(62.52, 47.54, 342.22°)
OKLaboklab(69.49% 0.1342 -0.0384)
OKLCHoklch(69.49% 0.14 344)
XYZxyz(42.9523, 31.0099, 45.8341)
Luminance0.3101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877B2 #77D89D
analogous
#CD77D8 #D877B2 #D87781
triadic
#D877B2 #B2D877 #77B2D8
tetradic
#D877B2 #D8CD77 #77D89D #7781D8
square
#D877B2 #D8CD77 #77D89D #7781D8
split-complementary
#D877B2 #81D877 #77D8CD
monochromatic
#A52F77 #CA4797 #D877B2 #E6A7CD #F3D6E8

Accessibility & contrast

On white

2.92
#D877B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#D877B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877B2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877B2#FFFFFF#000000##000000
##D877B21.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8DB4
Deuteranopia (green-blind)
#979DAF
Tritanopia (blue-blind)
#E3778D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d877b2;
/* rgb */ color: rgb(216, 119, 178);
/* oklch */ color: oklch(69.5% 0.140 344.0);
Tailwind
colors: {
  custom: {
    50: '#e6a1c9',
    500: '#d877b2',
    950: '#000000',
  },
}
SCSS
$custom: #d877b2;
$custom-light: #e6a1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d877b2",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 178
  },
  "hsl": {
    "h": 323.505,
    "s": 55.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69492,
    "c": 0.13958,
    "h": 344
  },
  "luminance": 0.31007
}

Semantic roles & 50–950 ramp

primary
#D877B2
secondary
#C5E6D2
accent
#C36123
background
#FEFAFC
surface
#FDF3F8
border
#D5CDD1
text
#160F13
muted
#847F82

Preview Lab

Preview with #D877B2

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

Preview Lab → · Contrast checker → · Palette generator →

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