#E871BC#E871BC

#E871BC is a light, vivid pink. Relative luminance 0.326; OKLCH L 71.0% C 0.170 H 343.7°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#E871BC
RGBrgb(232, 113, 188)
HSLhsl(322, 72%, 68%)
HSVhsv(322, 51%, 91%)
CMYKcmyk(0%, 51.3%, 19%, 9%)
CIE-LABlab(63.84, 54.77, -18.00)
CIE-LCHlch(63.84, 57.65, 341.81°)
OKLaboklab(71.03% 0.1631 -0.0478)
OKLCHoklch(71.03% 0.17 343.7)
XYZxyz(48.2620, 32.6007, 51.3179)
Luminance0.3260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E871BC #71E89D
analogous
#D971E8 #E871BC #E87180
triadic
#E871BC #BCE871 #71BCE8
tetradic
#E871BC #E8D971 #71E89D #7180E8
square
#E871BC #E8D971 #71E89D #7180E8
split-complementary
#E871BC #80E871 #71E8D9
monochromatic
#C01F84 #DF3CA3 #E871BC #F1A6D5 #F9DAEE

Accessibility & contrast

On white

2.79
#E871BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#E871BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E871BC
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E871BC#FFFFFF#000000##000000
##E871BC1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8EBF
Deuteranopia (green-blind)
#9AA2B9
Tritanopia (blue-blind)
#F5718E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #e871bc;
/* rgb */ color: rgb(232, 113, 188);
/* oklch */ color: oklch(71.0% 0.170 343.7);
Tailwind
colors: {
  custom: {
    50: '#f29ed0',
    500: '#e871bc',
    950: '#000000',
  },
}
SCSS
$custom: #e871bc;
$custom-light: #f29ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#e871bc",
  "rgb": {
    "r": 232,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 322.185,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71034,
    "c": 0.16991,
    "h": 343.7
  },
  "luminance": 0.32597
}

Semantic roles & 50–950 ramp

primary
#E871BC
secondary
#C8EDD6
accent
#D45911
background
#FFFAFC
surface
#FFF3F9
border
#D7CDD2
text
#170F14
muted
#857F82

Preview Lab

Preview with #E871BC

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

Preview Lab → · Contrast checker → · Palette generator →

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