#EB87C8#EB87C8

#EB87C8 is a light, vivid pink. Relative luminance 0.392; OKLCH L 75.0% C 0.145 H 341.7°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#EB87C8
RGBrgb(235, 135, 200)
HSLhsl(321, 71%, 73%)
HSVhsv(321, 43%, 92%)
CMYKcmyk(0%, 42.6%, 14.9%, 7.8%)
CIE-LABlab(68.87, 46.63, -17.08)
CIE-LCHlch(68.87, 49.66, 339.89°)
OKLaboklab(75.02% 0.1372 -0.0454)
OKLCHoklch(75.02% 0.145 341.7)
XYZxyz(53.3507, 39.1637, 59.3817)
Luminance0.3916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87C8 #87EBAA
analogous
#DC87EB #EB87C8 #EB8796
triadic
#EB87C8 #C8EB87 #87C8EB
tetradic
#EB87C8 #EBDC87 #87EBAA #8796EB
square
#EB87C8 #EBDC87 #87EBAA #8796EB
split-complementary
#EB87C8 #96EB87 #87EBDC
monochromatic
#D42396 #E253B0 #EB87C8 #F4BBE0 #FBE5F3

Accessibility & contrast

On white

2.38
#EB87C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#EB87C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87C8
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87C8#FFFFFF#000000##000000
##EB87C81.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9ECA
Deuteranopia (green-blind)
#A6AEC5
Tritanopia (blue-blind)
#F6889F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #eb87c8;
/* rgb */ color: rgb(235, 135, 200);
/* oklch */ color: oklch(75.0% 0.145 341.7);
Tailwind
colors: {
  custom: {
    50: '#f3acd8',
    500: '#eb87c8',
    950: '#000000',
  },
}
SCSS
$custom: #eb87c8;
$custom-light: #f3acd8;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87c8",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 321,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75023,
    "c": 0.14455,
    "h": 341.7
  },
  "luminance": 0.3916
}

Semantic roles & 50–950 ramp

primary
#EB87C8
secondary
#D9F2E2
accent
#D35612
background
#FFFAFD
surface
#FEF4FA
border
#D6CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #EB87C8

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

Preview Lab → · Contrast checker → · Palette generator →

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