#D878BF#D878BF

#D878BF is a light, vivid pink. Relative luminance 0.318; OKLCH L 70.1% C 0.147 H 337.6°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#D878BF
RGBrgb(216, 120, 191)
HSLhsl(316, 55%, 66%)
HSVhsv(316, 44%, 85%)
CMYKcmyk(0%, 44.4%, 11.6%, 15.3%)
CIE-LABlab(63.17, 46.81, -20.90)
CIE-LCHlch(63.17, 51.26, 335.94°)
OKLaboklab(70.14% 0.1363 -0.0561)
OKLCHoklch(70.14% 0.147 337.6)
XYZxyz(44.4395, 31.7963, 53.0767)
Luminance0.3179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D878BF #78D891
analogous
#C178D8 #D878BF #D8788F
triadic
#D878BF #BFD878 #78BFD8
tetradic
#D878BF #D8C178 #78D891 #788FD8
square
#D878BF #D8C178 #78D891 #788FD8
split-complementary
#D878BF #8FD878 #78D8C1
monochromatic
#A63087 #CA49A8 #D878BF #E6A7D6 #F3D7EC

Accessibility & contrast

On white

2.85
#D878BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#D878BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D878BF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D878BF#FFFFFF#000000##000000
##D878BF1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A90C2
Deuteranopia (green-blind)
#949EBC
Tritanopia (blue-blind)
#E17B93
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d878bf;
/* rgb */ color: rgb(216, 120, 191);
/* oklch */ color: oklch(70.1% 0.147 337.6);
Tailwind
colors: {
  custom: {
    50: '#e6a1d2',
    500: '#d878bf',
    950: '#000000',
  },
}
SCSS
$custom: #d878bf;
$custom-light: #e6a1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d878bf",
  "rgb": {
    "r": 216,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 315.625,
    "s": 55.172,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70136,
    "c": 0.14734,
    "h": 337.6
  },
  "luminance": 0.31793
}

Semantic roles & 50–950 ramp

primary
#D878BF
secondary
#C6E6CE
accent
#C34C23
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#160F14
muted
#847F82

Preview Lab

Preview with #D878BF

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

Preview Lab → · Contrast checker → · Palette generator →

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