#D878BC#D878BC

#D878BC is a light, vivid pink. Relative luminance 0.317; OKLCH L 70.0% C 0.145 H 339.1°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#D878BC
RGBrgb(216, 120, 188)
HSLhsl(318, 55%, 66%)
HSVhsv(318, 44%, 85%)
CMYKcmyk(0%, 44.4%, 13%, 15.3%)
CIE-LABlab(63.07, 46.32, -19.36)
CIE-LCHlch(63.07, 50.20, 337.31°)
OKLaboklab(70.02% 0.1355 -0.0518)
OKLCHoklch(70.02% 0.145 339.1)
XYZxyz(44.1128, 31.6656, 51.3558)
Luminance0.3166 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D878BC #78D894
analogous
#C478D8 #D878BC #D8788C
triadic
#D878BC #BCD878 #78BCD8
tetradic
#D878BC #D8C478 #78D894 #788CD8
square
#D878BC #D8C478 #78D894 #788CD8
split-complementary
#D878BC #8CD878 #78D8C4
monochromatic
#A63083 #CA49A4 #D878BC #E6A7D4 #F3D7EB

Accessibility & contrast

On white

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

On black

7.33
#D878BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D878BC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D878BC#FFFFFF#000000##000000
##D878BC1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8FBE
Deuteranopia (green-blind)
#959EB9
Tritanopia (blue-blind)
#E27A92
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d878bc;
/* rgb */ color: rgb(216, 120, 188);
/* oklch */ color: oklch(70.0% 0.145 339.1);
Tailwind
colors: {
  custom: {
    50: '#e6a1d0',
    500: '#d878bc',
    950: '#000000',
  },
}
SCSS
$custom: #d878bc;
$custom-light: #e6a1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d878bc",
  "rgb": {
    "r": 216,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 317.5,
    "s": 55.172,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70019,
    "c": 0.14503,
    "h": 339.1
  },
  "luminance": 0.31663
}

Semantic roles & 50–950 ramp

primary
#D878BC
secondary
#C6E6CF
accent
#C35123
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#160F14
muted
#847F82

Preview Lab

Preview with #D878BC

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

Preview Lab → · Contrast checker → · Palette generator →

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