#E871BD#E871BD

#E871BD is a light, vivid pink. Relative luminance 0.326; OKLCH L 71.1% C 0.171 H 343.2°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#E871BD
RGBrgb(232, 113, 189)
HSLhsl(322, 72%, 68%)
HSVhsv(322, 51%, 91%)
CMYKcmyk(0%, 51.3%, 18.5%, 9%)
CIE-LABlab(63.87, 54.92, -18.51)
CIE-LCHlch(63.87, 57.95, 341.38°)
OKLaboklab(71.07% 0.1633 -0.0492)
OKLCHoklch(71.07% 0.171 343.2)
XYZxyz(48.3701, 32.6440, 51.8876)
Luminance0.3264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E871BD #71E89C
analogous
#D871E8 #E871BD #E87181
triadic
#E871BD #BDE871 #71BDE8
tetradic
#E871BD #E8D871 #71E89C #7181E8
square
#E871BD #E8D871 #71E89C #7181E8
split-complementary
#E871BD #81E871 #71E8D8
monochromatic
#C01F86 #DF3CA5 #E871BD #F1A6D5 #F9DAEE

Accessibility & contrast

On white

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

On black

7.53
#E871BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E871BD
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E871BD#FFFFFF#000000##000000
##E871BD1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#798FC0
Deuteranopia (green-blind)
#9AA2BA
Tritanopia (blue-blind)
#F5718F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #e871bd;
/* rgb */ color: rgb(232, 113, 189);
/* oklch */ color: oklch(71.1% 0.171 343.2);
Tailwind
colors: {
  custom: {
    50: '#f29ed1',
    500: '#e871bd',
    950: '#000000',
  },
}
SCSS
$custom: #e871bd;
$custom-light: #f29ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#e871bd",
  "rgb": {
    "r": 232,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 321.681,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71072,
    "c": 0.17056,
    "h": 343.2
  },
  "luminance": 0.3264
}

Semantic roles & 50–950 ramp

primary
#E871BD
secondary
#C8EDD5
accent
#D45811
background
#FFFAFC
surface
#FFF3F9
border
#D7CDD2
text
#170F14
muted
#857F82

Preview Lab

Preview with #E871BD

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

Preview Lab → · Contrast checker → · Palette generator →

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