#E878AB#E878AB

#E878AB is a light, vivid pink. Relative luminance 0.335; OKLCH L 71.4% C 0.149 H 352.9°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#E878AB
RGBrgb(232, 120, 171)
HSLhsl(333, 71%, 69%)
HSVhsv(333, 48%, 91%)
CMYKcmyk(0%, 48.3%, 26.3%, 9%)
CIE-LABlab(64.59, 48.99, -7.21)
CIE-LCHlch(64.59, 49.52, 351.62°)
OKLaboklab(71.41% 0.1479 -0.0185)
OKLCHoklch(71.41% 0.149 352.9)
XYZxyz(47.3474, 33.5330, 42.4990)
Luminance0.3353 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E878AB #78E8B5
analogous
#E878E3 #E878AB #E87D78
triadic
#E878AB #ABE878 #78ABE8
tetradic
#E878AB #E3E878 #78E8B5 #7D78E8
square
#E878AB #E3E878 #78E8B5 #7D78E8
split-complementary
#E878AB #78E87D #78E3E8
monochromatic
#C4216C #DF448A #E878AB #F1ACCC #FAE1EC

Accessibility & contrast

On white

2.73
#E878AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#E878AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E878AB
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E878AB#FFFFFF#000000##000000
##E878AB1.002.737.717.71
#FFFFFF2.731.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8690AD
Deuteranopia (green-blind)
#A3A4A8
Tritanopia (blue-blind)
#F7738B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #e878ab;
/* rgb */ color: rgb(232, 120, 171);
/* oklch */ color: oklch(71.4% 0.149 352.9);
Tailwind
colors: {
  custom: {
    50: '#f2a2c4',
    500: '#e878ab',
    950: '#000000',
  },
}
SCSS
$custom: #e878ab;
$custom-light: #f2a2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#e878ab",
  "rgb": {
    "r": 232,
    "g": 120,
    "b": 171
  },
  "hsl": {
    "h": 332.679,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71414,
    "c": 0.14901,
    "h": 352.9
  },
  "luminance": 0.33529
}

Semantic roles & 50–950 ramp

primary
#E878AB
secondary
#CDEEDF
accent
#D37B13
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#170F12
muted
#857F81

Preview Lab

Preview with #E878AB

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

Preview Lab → · Contrast checker → · Palette generator →

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