#EA87B2#EA87B2

#EA87B2 is a light, vivid pink. Relative luminance 0.380; OKLCH L 74.1% C 0.130 H 353.2°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#EA87B2
RGBrgb(234, 135, 178)
HSLhsl(334, 70%, 72%)
HSVhsv(334, 42%, 92%)
CMYKcmyk(0%, 42.3%, 23.9%, 8.2%)
CIE-LABlab(68.05, 43.04, -6.01)
CIE-LCHlch(68.05, 43.46, 352.05°)
OKLaboklab(74.15% 0.1294 -0.0153)
OKLCHoklch(74.15% 0.13 353.2)
XYZxyz(50.6328, 38.0385, 46.7862)
Luminance0.3804 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87B2 #87EABF
analogous
#EA87E4 #EA87B2 #EA8D87
triadic
#EA87B2 #B2EA87 #87B2EA
tetradic
#EA87B2 #E4EA87 #87EABF #8D87EA
square
#EA87B2 #E4EA87 #87EABF #8D87EA
split-complementary
#EA87B2 #87EA8D #87E4EA
monochromatic
#D22570 #E15391 #EA87B2 #F3BBD3 #FAE5EE

Accessibility & contrast

On white

2.44
#EA87B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#EA87B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87B2
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87B2#FFFFFF#000000##000000
##EA87B21.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#929BB3
Deuteranopia (green-blind)
#ABACB0
Tritanopia (blue-blind)
#F88396
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ea87b2;
/* rgb */ color: rgb(234, 135, 178);
/* oklch */ color: oklch(74.1% 0.130 353.2);
Tailwind
colors: {
  custom: {
    50: '#f3acc9',
    500: '#ea87b2',
    950: '#000000',
  },
}
SCSS
$custom: #ea87b2;
$custom-light: #f3acc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87b2",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 178
  },
  "hsl": {
    "h": 333.939,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.74147,
    "c": 0.13033,
    "h": 353.2
  },
  "luminance": 0.38035
}

Semantic roles & 50–950 ramp

primary
#EA87B2
secondary
#D9F2E7
accent
#D27F13
background
#FFFAFC
surface
#FEF4F8
border
#D6CED1
text
#171013
muted
#857F82

Preview Lab

Preview with #EA87B2

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

Preview Lab → · Contrast checker → · Palette generator →

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