#EB87CC#EB87CC

#EB87CC is a light, vivid pink. Relative luminance 0.394; OKLCH L 75.2% C 0.147 H 339.8°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#EB87CC
RGBrgb(235, 135, 204)
HSLhsl(319, 71%, 73%)
HSVhsv(319, 43%, 92%)
CMYKcmyk(0%, 42.6%, 13.2%, 7.8%)
CIE-LABlab(69.01, 47.26, -19.10)
CIE-LCHlch(69.01, 50.97, 338.00°)
OKLaboklab(75.17% 0.1383 -0.051)
OKLCHoklch(75.17% 0.147 339.8)
XYZxyz(53.8243, 39.3531, 61.8760)
Luminance0.3935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87CC #87EBA6
analogous
#D887EB #EB87CC #EB879A
triadic
#EB87CC #CCEB87 #87CCEB
tetradic
#EB87CC #EBD887 #87EBA6 #879AEB
square
#EB87CC #EBD887 #87EBA6 #879AEB
split-complementary
#EB87CC #9AEB87 #87EBD8
monochromatic
#D4239D #E253B6 #EB87CC #F4BBE2 #FBE5F4

Accessibility & contrast

On white

2.37
#EB87CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#EB87CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87CC
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87CC#FFFFFF#000000##000000
##EB87CC1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9FCE
Deuteranopia (green-blind)
#A5AEC9
Tritanopia (blue-blind)
#F589A1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #eb87cc;
/* rgb */ color: rgb(235, 135, 204);
/* oklch */ color: oklch(75.2% 0.147 339.8);
Tailwind
colors: {
  custom: {
    50: '#f3acdb',
    500: '#eb87cc',
    950: '#000000',
  },
}
SCSS
$custom: #eb87cc;
$custom-light: #f3acdb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87cc",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 204
  },
  "hsl": {
    "h": 318.6,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75171,
    "c": 0.14744,
    "h": 339.8
  },
  "luminance": 0.3935
}

Semantic roles & 50–950 ramp

primary
#EB87CC
secondary
#D9F2E1
accent
#D34E12
background
#FFFAFD
surface
#FEF4FB
border
#D6CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EB87CC

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

Preview Lab → · Contrast checker → · Palette generator →

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