#EB87D4#EB87D4

#EB87D4 is a light, vivid pink. Relative luminance 0.397; OKLCH L 75.5% C 0.154 H 336.1°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#EB87D4
RGBrgb(235, 135, 212)
HSLhsl(314, 71%, 73%)
HSVhsv(314, 43%, 92%)
CMYKcmyk(0%, 42.6%, 9.8%, 7.8%)
CIE-LABlab(69.29, 48.55, -23.11)
CIE-LCHlch(69.29, 53.77, 334.54°)
OKLaboklab(75.48% 0.1404 -0.0622)
OKLCHoklch(75.48% 0.154 336.1)
XYZxyz(54.8086, 39.7468, 67.0596)
Luminance0.3974 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87D4 #87EB9E
analogous
#D087EB #EB87D4 #EB87A2
triadic
#EB87D4 #D4EB87 #87D4EB
tetradic
#EB87D4 #EBD087 #87EB9E #87A2EB
square
#EB87D4 #EBD087 #87EB9E #87A2EB
split-complementary
#EB87D4 #A2EB87 #87EBD0
monochromatic
#D423AC #E253C1 #EB87D4 #F4BBE7 #FBE5F6

Accessibility & contrast

On white

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

On black

8.95
#EB87D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87D4
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87D4#FFFFFF#000000##000000
##EB87D41.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A0D7
Deuteranopia (green-blind)
#A2AFD1
Tritanopia (blue-blind)
#F48BA4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #eb87d4;
/* rgb */ color: rgb(235, 135, 212);
/* oklch */ color: oklch(75.5% 0.154 336.1);
Tailwind
colors: {
  custom: {
    50: '#f3ace1',
    500: '#eb87d4',
    950: '#000000',
  },
}
SCSS
$custom: #eb87d4;
$custom-light: #f3ace1;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87d4",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 212
  },
  "hsl": {
    "h": 313.8,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75476,
    "c": 0.15358,
    "h": 336.1
  },
  "luminance": 0.39744
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB87D4

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

Preview Lab → · Contrast checker → · Palette generator →

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