#EB87CB#EB87CB

#EB87CB is a light, vivid pink. Relative luminance 0.393; OKLCH L 75.1% C 0.147 H 340.2°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#EB87CB
RGBrgb(235, 135, 203)
HSLhsl(319, 71%, 73%)
HSVhsv(319, 43%, 92%)
CMYKcmyk(0%, 42.6%, 13.6%, 7.8%)
CIE-LABlab(68.97, 47.10, -18.59)
CIE-LCHlch(68.97, 50.64, 338.46°)
OKLaboklab(75.13% 0.1381 -0.0496)
OKLCHoklch(75.13% 0.147 340.2)
XYZxyz(53.7048, 39.3053, 61.2463)
Luminance0.3930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87CB #87EBA7
analogous
#D987EB #EB87CB #EB8799
triadic
#EB87CB #CBEB87 #87CBEB
tetradic
#EB87CB #EBD987 #87EBA7 #8799EB
square
#EB87CB #EBD987 #87EBA7 #8799EB
split-complementary
#EB87CB #99EB87 #87EBD9
monochromatic
#D4239C #E253B4 #EB87CB #F4BBE2 #FBE5F4

Accessibility & contrast

On white

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

On black

8.86
#EB87CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87CB
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87CB#FFFFFF#000000##000000
##EB87CB1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9FCD
Deuteranopia (green-blind)
#A5AEC8
Tritanopia (blue-blind)
#F689A0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #eb87cb;
/* rgb */ color: rgb(235, 135, 203);
/* oklch */ color: oklch(75.1% 0.147 340.2);
Tailwind
colors: {
  custom: {
    50: '#f3acdb',
    500: '#eb87cb',
    950: '#000000',
  },
}
SCSS
$custom: #eb87cb;
$custom-light: #f3acdb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87cb",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 319.2,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75133,
    "c": 0.14671,
    "h": 340.2
  },
  "luminance": 0.39302
}

Semantic roles & 50–950 ramp

primary
#EB87CB
secondary
#D9F2E1
accent
#D35012
background
#FFFAFD
surface
#FEF4FA
border
#D6CED3
text
#171015
muted
#857F83

Preview Lab

Preview with #EB87CB

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

Preview Lab → · Contrast checker → · Palette generator →

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