#E871BF#E871BF

#E871BF is a light, vivid pink. Relative luminance 0.327; OKLCH L 71.1% C 0.172 H 342.4°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#E871BF
RGBrgb(232, 113, 191)
HSLhsl(321, 72%, 68%)
HSVhsv(321, 51%, 91%)
CMYKcmyk(0%, 51.3%, 17.7%, 9%)
CIE-LABlab(63.94, 55.21, -19.53)
CIE-LCHlch(63.94, 58.57, 340.52°)
OKLaboklab(71.15% 0.1638 -0.052)
OKLCHoklch(71.15% 0.172 342.4)
XYZxyz(48.5887, 32.7314, 53.0388)
Luminance0.3273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E871BF #71E89A
analogous
#D571E8 #E871BF #E87184
triadic
#E871BF #BFE871 #71BFE8
tetradic
#E871BF #E8D571 #71E89A #7184E8
square
#E871BF #E8D571 #71E89A #7184E8
split-complementary
#E871BF #84E871 #71E8D5
monochromatic
#C01F88 #DF3CA7 #E871BF #F1A6D7 #F9DAEE

Accessibility & contrast

On white

2.78
#E871BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#E871BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E871BF
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E871BF#FFFFFF#000000##000000
##E871BF1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#798FC2
Deuteranopia (green-blind)
#99A2BC
Tritanopia (blue-blind)
#F4728F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #e871bf;
/* rgb */ color: rgb(232, 113, 191);
/* oklch */ color: oklch(71.1% 0.172 342.4);
Tailwind
colors: {
  custom: {
    50: '#f29ed2',
    500: '#e871bf',
    950: '#000000',
  },
}
SCSS
$custom: #e871bf;
$custom-light: #f29ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#e871bf",
  "rgb": {
    "r": 232,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 320.672,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71148,
    "c": 0.17189,
    "h": 342.4
  },
  "luminance": 0.32728
}

Semantic roles & 50–950 ramp

primary
#E871BF
secondary
#C8EDD5
accent
#D45411
background
#FFFAFC
surface
#FEF3F9
border
#D6CDD2
text
#170F14
muted
#857F82

Preview Lab

Preview with #E871BF

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

Preview Lab → · Contrast checker → · Palette generator →

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