#E871CD#E871CD

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

Color values

HEX#E871CD
RGBrgb(232, 113, 205)
HSLhsl(314, 72%, 68%)
HSVhsv(314, 51%, 91%)
CMYKcmyk(0%, 51.3%, 11.6%, 9%)
CIE-LABlab(64.47, 57.34, -26.63)
CIE-LCHlch(64.47, 63.22, 335.09°)
OKLaboklab(71.71% 0.1671 -0.0719)
OKLCHoklch(71.71% 0.182 336.7)
XYZxyz(50.2036, 33.3774, 61.5440)
Luminance0.3337 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E871CD #71E88C
analogous
#C771E8 #E871CD #E87192
triadic
#E871CD #CDE871 #71CDE8
tetradic
#E871CD #E8C771 #71E88C #7192E8
square
#E871CD #E8C771 #71E88C #7192E8
split-complementary
#E871CD #92E871 #71E8C7
monochromatic
#C01F9B #DF3CBA #E871CD #F1A6E0 #F9DAF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E871CD#FFFFFF#000000##000000
##E871CD1.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)
#7391D0
Deuteranopia (green-blind)
#95A3CA
Tritanopia (blue-blind)
#F27696
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #e871cd;
/* rgb */ color: rgb(232, 113, 205);
/* oklch */ color: oklch(71.7% 0.182 336.7);
Tailwind
colors: {
  custom: {
    50: '#f29edc',
    500: '#e871cd',
    950: '#000000',
  },
}
SCSS
$custom: #e871cd;
$custom-light: #f29edc;
$custom-dark: #000000;
JSON
{
  "hex": "#e871cd",
  "rgb": {
    "r": 232,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 313.613,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71708,
    "c": 0.18188,
    "h": 336.7
  },
  "luminance": 0.33374
}

Semantic roles & 50–950 ramp

primary
#E871CD
secondary
#C8EDD0
accent
#D43E11
background
#FFFAFD
surface
#FEF3FB
border
#D6CDD4
text
#170F15
muted
#857F83

Preview Lab

Preview with #E871CD

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

Preview Lab → · Contrast checker → · Palette generator →

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