#E87CA2#E87CA2

#E87CA2 is a light, vivid pink. Relative luminance 0.342; OKLCH L 71.7% C 0.139 H 358.8°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#E87CA2
RGBrgb(232, 124, 162)
HSLhsl(339, 70%, 70%)
HSVhsv(339, 47%, 91%)
CMYKcmyk(0%, 46.6%, 30.2%, 9%)
CIE-LABlab(65.11, 45.81, -1.34)
CIE-LCHlch(65.11, 45.83, 358.33°)
OKLaboklab(71.72% 0.1388 -0.0029)
OKLCHoklch(71.72% 0.139 358.8)
XYZxyz(47.0098, 34.1838, 38.2977)
Luminance0.3418 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E87CA2 #7CE8C2
analogous
#E87CD8 #E87CA2 #E88C7C
triadic
#E87CA2 #A2E87C #7CA2E8
tetradic
#E87CA2 #D8E87C #7CE8C2 #8C7CE8
square
#E87CA2 #D8E87C #7CE8C2 #8C7CE8
split-complementary
#E87CA2 #7CE88C #7CD8E8
monochromatic
#C7235D #DF487D #E87CA2 #F1B0C7 #FAE4EC

Accessibility & contrast

On white

2.68
#E87CA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#E87CA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E87CA2
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E87CA2#FFFFFF#000000##000000
##E87CA21.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C92A3
Deuteranopia (green-blind)
#A7A5A0
Tritanopia (blue-blind)
#F7758A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e87ca2;
/* rgb */ color: rgb(232, 124, 162);
/* oklch */ color: oklch(71.7% 0.139 358.8);
Tailwind
colors: {
  custom: {
    50: '#f2a4bd',
    500: '#e87ca2',
    950: '#000000',
  },
}
SCSS
$custom: #e87ca2;
$custom-light: #f2a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#e87ca2",
  "rgb": {
    "r": 232,
    "g": 124,
    "b": 162
  },
  "hsl": {
    "h": 338.889,
    "s": 70.13,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71718,
    "c": 0.13885,
    "h": 358.8
  },
  "luminance": 0.3418
}

Semantic roles & 50–950 ramp

primary
#E87CA2
secondary
#D1EFE4
accent
#D28F13
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#170F12
muted
#857F81

Preview Lab

Preview with #E87CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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