#EB87D2#EB87D2

#EB87D2 is a light, vivid pink. Relative luminance 0.396; OKLCH L 75.4% C 0.152 H 337.0°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#EB87D2
RGBrgb(235, 135, 210)
HSLhsl(315, 71%, 73%)
HSVhsv(315, 43%, 92%)
CMYKcmyk(0%, 42.6%, 10.6%, 7.8%)
CIE-LABlab(69.22, 48.22, -22.11)
CIE-LCHlch(69.22, 53.05, 335.37°)
OKLaboklab(75.4% 0.1399 -0.0594)
OKLCHoklch(75.4% 0.152 337)
XYZxyz(54.5579, 39.6465, 65.7392)
Luminance0.3964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87D2 #87EBA0
analogous
#D287EB #EB87D2 #EB87A0
triadic
#EB87D2 #D2EB87 #87D2EB
tetradic
#EB87D2 #EBD287 #87EBA0 #87A0EB
square
#EB87D2 #EBD287 #87EBA0 #87A0EB
split-complementary
#EB87D2 #A0EB87 #87EBD2
monochromatic
#D423A8 #E253BE #EB87D2 #F4BBE6 #FBE5F5

Accessibility & contrast

On white

2.35
#EB87D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#EB87D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87D2
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87D2#FFFFFF#000000##000000
##EB87D21.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A0D5
Deuteranopia (green-blind)
#A3AFCF
Tritanopia (blue-blind)
#F58AA3
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #eb87d2;
/* rgb */ color: rgb(235, 135, 210);
/* oklch */ color: oklch(75.4% 0.152 337.0);
Tailwind
colors: {
  custom: {
    50: '#f3ace0',
    500: '#eb87d2',
    950: '#000000',
  },
}
SCSS
$custom: #eb87d2;
$custom-light: #f3ace0;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87d2",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 315,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75398,
    "c": 0.152,
    "h": 337
  },
  "luminance": 0.39643
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB87D2

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

Preview Lab → · Contrast checker → · Palette generator →

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