#E871D2#E871D2

#E871D2 is a light, vivid pink. Relative luminance 0.336; OKLCH L 71.9% C 0.186 H 334.8°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#E871D2
RGBrgb(232, 113, 210)
HSLhsl(311, 72%, 68%)
HSVhsv(311, 51%, 91%)
CMYKcmyk(0%, 51.3%, 9.5%, 9%)
CIE-LABlab(64.66, 58.13, -29.13)
CIE-LCHlch(64.66, 65.02, 333.38°)
OKLaboklab(71.92% 0.1681 -0.0789)
OKLCHoklch(71.92% 0.186 334.8)
XYZxyz(50.8168, 33.6227, 64.7736)
Luminance0.3362 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E871D2 #71E887
analogous
#C271E8 #E871D2 #E87197
triadic
#E871D2 #D2E871 #71D2E8
tetradic
#E871D2 #E8C271 #71E887 #7197E8
square
#E871D2 #E8C271 #71E887 #7197E8
split-complementary
#E871D2 #97E871 #71E8C2
monochromatic
#C01FA2 #DF3CC1 #E871D2 #F1A6E3 #F9DAF3

Accessibility & contrast

On white

2.72
#E871D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#E871D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E871D2
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E871D2#FFFFFF#000000##000000
##E871D21.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7192D5
Deuteranopia (green-blind)
#93A3CF
Tritanopia (blue-blind)
#F27798
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #e871d2;
/* rgb */ color: rgb(232, 113, 210);
/* oklch */ color: oklch(71.9% 0.186 334.8);
Tailwind
colors: {
  custom: {
    50: '#f29ee0',
    500: '#e871d2',
    950: '#000000',
  },
}
SCSS
$custom: #e871d2;
$custom-light: #f29ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#e871d2",
  "rgb": {
    "r": 232,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 311.092,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71919,
    "c": 0.18572,
    "h": 334.8
  },
  "luminance": 0.33619
}

Semantic roles & 50–950 ramp

primary
#E871D2
secondary
#C8EDCF
accent
#D43511
background
#FFFAFD
surface
#FEF3FB
border
#D6CDD4
text
#170F15
muted
#857F83

Preview Lab

Preview with #E871D2

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

Preview Lab → · Contrast checker → · Palette generator →

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