#EB87D3#EB87D3

#EB87D3 is a light, vivid pink. Relative luminance 0.397; OKLCH L 75.4% C 0.153 H 336.6°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#EB87D3
RGBrgb(235, 135, 211)
HSLhsl(314, 71%, 73%)
HSVhsv(314, 43%, 92%)
CMYKcmyk(0%, 42.6%, 10.2%, 7.8%)
CIE-LABlab(69.25, 48.38, -22.61)
CIE-LCHlch(69.25, 53.41, 334.95°)
OKLaboklab(75.44% 0.1402 -0.0608)
OKLCHoklch(75.44% 0.153 336.6)
XYZxyz(54.6828, 39.6965, 66.3973)
Luminance0.3969 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87D3 #87EB9F
analogous
#D187EB #EB87D3 #EB87A1
triadic
#EB87D3 #D3EB87 #87D3EB
tetradic
#EB87D3 #EBD187 #87EB9F #87A1EB
square
#EB87D3 #EBD187 #87EB9F #87A1EB
split-complementary
#EB87D3 #A1EB87 #87EBD1
monochromatic
#D423AA #E253C0 #EB87D3 #F4BBE6 #FBE5F5

Accessibility & contrast

On white

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

On black

8.94
#EB87D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87D3
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87D3#FFFFFF#000000##000000
##EB87D31.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eb87d3;
/* rgb */ color: rgb(235, 135, 211);
/* oklch */ color: oklch(75.4% 0.153 336.6);
Tailwind
colors: {
  custom: {
    50: '#f3ace0',
    500: '#eb87d3',
    950: '#000000',
  },
}
SCSS
$custom: #eb87d3;
$custom-light: #f3ace0;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87d3",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 211
  },
  "hsl": {
    "h": 314.4,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75437,
    "c": 0.15279,
    "h": 336.6
  },
  "luminance": 0.39693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB87D3

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

Preview Lab → · Contrast checker → · Palette generator →

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