#E871CC#E871CC

#E871CC is a light, vivid pink. Relative luminance 0.333; OKLCH L 71.7% C 0.181 H 337.1°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#E871CC
RGBrgb(232, 113, 204)
HSLhsl(314, 72%, 68%)
HSVhsv(314, 51%, 91%)
CMYKcmyk(0%, 51.3%, 12.1%, 9%)
CIE-LABlab(64.43, 57.18, -26.13)
CIE-LCHlch(64.43, 62.87, 335.44°)
OKLaboklab(71.67% 0.1669 -0.0705)
OKLCHoklch(71.67% 0.181 337.1)
XYZxyz(50.0833, 33.3293, 60.9104)
Luminance0.3333 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E871CC #71E88D
analogous
#C971E8 #E871CC #E87190
triadic
#E871CC #CCE871 #71CCE8
tetradic
#E871CC #E8C971 #71E88D #7190E8
square
#E871CC #E8C971 #71E88D #7190E8
split-complementary
#E871CC #90E871 #71E8C9
monochromatic
#C01F9A #DF3CB9 #E871CC #F1A6DF #F9DAF2

Accessibility & contrast

On white

2.74
#E871CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#E871CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E871CC
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E871CC#FFFFFF#000000##000000
##E871CC1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391CF
Deuteranopia (green-blind)
#95A3C9
Tritanopia (blue-blind)
#F37695
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #e871cc;
/* rgb */ color: rgb(232, 113, 204);
/* oklch */ color: oklch(71.7% 0.181 337.1);
Tailwind
colors: {
  custom: {
    50: '#f29edb',
    500: '#e871cc',
    950: '#000000',
  },
}
SCSS
$custom: #e871cc;
$custom-light: #f29edb;
$custom-dark: #000000;
JSON
{
  "hex": "#e871cc",
  "rgb": {
    "r": 232,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 314.118,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71667,
    "c": 0.18113,
    "h": 337.1
  },
  "luminance": 0.33326
}

Semantic roles & 50–950 ramp

primary
#E871CC
secondary
#C8EDD1
accent
#D43F11
background
#FFFAFD
surface
#FEF3FB
border
#D6CDD4
text
#170F15
muted
#857F83

Preview Lab

Preview with #E871CC

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

Preview Lab → · Contrast checker → · Palette generator →

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