#D877C2#D877C2

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

Color values

HEX#D877C2
RGBrgb(216, 119, 194)
HSLhsl(314, 55%, 66%)
HSVhsv(314, 45%, 85%)
CMYKcmyk(0%, 44.9%, 10.2%, 15.3%)
CIE-LABlab(63.09, 47.81, -22.73)
CIE-LCHlch(63.09, 52.93, 334.57°)
OKLaboklab(70.11% 0.1385 -0.0612)
OKLCHoklch(70.11% 0.151 336.2)
XYZxyz(44.6534, 31.6904, 54.7934)
Luminance0.3169 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D877C2 #77D88D
analogous
#BD77D8 #D877C2 #D87791
triadic
#D877C2 #C2D877 #77C2D8
tetradic
#D877C2 #D8BD77 #77D88D #7791D8
square
#D877C2 #D8BD77 #77D88D #7791D8
split-complementary
#D877C2 #91D877 #77D8BD
monochromatic
#A52F8A #CA47AD #D877C2 #E6A7D7 #F3D6ED

Accessibility & contrast

On white

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

On black

7.34
#D877C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D877C2
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D877C2#FFFFFF#000000##000000
##D877C21.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7890C5
Deuteranopia (green-blind)
#929EBF
Tritanopia (blue-blind)
#E17B94
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d877c2;
/* rgb */ color: rgb(216, 119, 194);
/* oklch */ color: oklch(70.1% 0.151 336.2);
Tailwind
colors: {
  custom: {
    50: '#e6a1d4',
    500: '#d877c2',
    950: '#000000',
  },
}
SCSS
$custom: #d877c2;
$custom-light: #e6a1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d877c2",
  "rgb": {
    "r": 216,
    "g": 119,
    "b": 194
  },
  "hsl": {
    "h": 313.608,
    "s": 55.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70107,
    "c": 0.15141,
    "h": 336.2
  },
  "luminance": 0.31688
}

Semantic roles & 50–950 ramp

primary
#D877C2
secondary
#C5E6CD
accent
#C34723
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D877C2

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

Preview Lab → · Contrast checker → · Palette generator →

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