#EB87C4#EB87C4

#EB87C4 is a light, vivid pink. Relative luminance 0.390; OKLCH L 74.9% C 0.142 H 343.7°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#EB87C4
RGBrgb(235, 135, 196)
HSLhsl(323, 71%, 73%)
HSVhsv(323, 43%, 92%)
CMYKcmyk(0%, 42.6%, 16.6%, 7.8%)
CIE-LABlab(68.74, 46.01, -15.05)
CIE-LCHlch(68.74, 48.41, 341.89°)
OKLaboklab(74.88% 0.1361 -0.0398)
OKLCHoklch(74.88% 0.142 343.7)
XYZxyz(52.8894, 38.9792, 56.9519)
Luminance0.3898 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87C4 #87EBAE
analogous
#E087EB #EB87C4 #EB8792
triadic
#EB87C4 #C4EB87 #87C4EB
tetradic
#EB87C4 #EBE087 #87EBAE #8792EB
square
#EB87C4 #EBE087 #87EBAE #8792EB
split-complementary
#EB87C4 #92EB87 #87EBE0
monochromatic
#D4238F #E253AA #EB87C4 #F4BBDE #FBE5F2

Accessibility & contrast

On white

2.39
#EB87C4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#EB87C4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87C4
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87C4#FFFFFF#000000##000000
##EB87C41.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9EC6
Deuteranopia (green-blind)
#A7AEC1
Tritanopia (blue-blind)
#F6879D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #eb87c4;
/* rgb */ color: rgb(235, 135, 196);
/* oklch */ color: oklch(74.9% 0.142 343.7);
Tailwind
colors: {
  custom: {
    50: '#f3acd6',
    500: '#eb87c4',
    950: '#000000',
  },
}
SCSS
$custom: #eb87c4;
$custom-light: #f3acd6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87c4",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 196
  },
  "hsl": {
    "h": 323.4,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74878,
    "c": 0.1418,
    "h": 343.7
  },
  "luminance": 0.38976
}

Semantic roles & 50–950 ramp

primary
#EB87C4
secondary
#D9F2E3
accent
#D35D12
background
#FFFAFD
surface
#FEF4FA
border
#D6CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #EB87C4

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

Preview Lab → · Contrast checker → · Palette generator →

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