#EA87D3#EA87D3

#EA87D3 is a light, vivid pink. Relative luminance 0.395; OKLCH L 75.3% C 0.152 H 336.2°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#EA87D3
RGBrgb(234, 135, 211)
HSLhsl(314, 70%, 72%)
HSVhsv(314, 42%, 92%)
CMYKcmyk(0%, 42.3%, 9.8%, 8.2%)
CIE-LABlab(69.13, 48.07, -22.81)
CIE-LCHlch(69.13, 53.21, 334.62°)
OKLaboklab(75.32% 0.1391 -0.0613)
OKLCHoklch(75.32% 0.152 336.2)
XYZxyz(54.3535, 39.5267, 66.3819)
Luminance0.3952 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA87D3 #87EA9E
analogous
#CF87EA #EA87D3 #EA87A2
triadic
#EA87D3 #D3EA87 #87D3EA
tetradic
#EA87D3 #EACF87 #87EA9E #87A2EA
square
#EA87D3 #EACF87 #87EA9E #87A2EA
split-complementary
#EA87D3 #A2EA87 #87EACF
monochromatic
#D225AA #E153C0 #EA87D3 #F3BBE6 #FAE5F5

Accessibility & contrast

On white

2.36
#EA87D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#EA87D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA87D3
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA87D3#FFFFFF#000000##000000
##EA87D31.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A0D6
Deuteranopia (green-blind)
#A2AED0
Tritanopia (blue-blind)
#F38BA4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ea87d3;
/* rgb */ color: rgb(234, 135, 211);
/* oklch */ color: oklch(75.3% 0.152 336.2);
Tailwind
colors: {
  custom: {
    50: '#f2ace0',
    500: '#ea87d3',
    950: '#000000',
  },
}
SCSS
$custom: #ea87d3;
$custom-light: #f2ace0;
$custom-dark: #000000;
JSON
{
  "hex": "#ea87d3",
  "rgb": {
    "r": 234,
    "g": 135,
    "b": 211
  },
  "hsl": {
    "h": 313.939,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7532,
    "c": 0.15201,
    "h": 336.2
  },
  "luminance": 0.39524
}

Semantic roles & 50–950 ramp

primary
#EA87D3
secondary
#D9F2DF
accent
#D24013
background
#FFFAFD
surface
#FEF4FB
border
#D6CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EA87D3

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

Preview Lab → · Contrast checker → · Palette generator →

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