#EB87C2#EB87C2

#EB87C2 is a light, vivid pink. Relative luminance 0.389; OKLCH L 74.8% C 0.140 H 344.7°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#EB87C2
RGBrgb(235, 135, 194)
HSLhsl(325, 71%, 73%)
HSVhsv(325, 43%, 92%)
CMYKcmyk(0%, 42.6%, 17.4%, 7.8%)
CIE-LABlab(68.67, 45.71, -14.03)
CIE-LCHlch(68.67, 47.82, 342.94°)
OKLaboklab(74.81% 0.1355 -0.037)
OKLCHoklch(74.81% 0.14 344.7)
XYZxyz(52.6633, 38.8887, 55.7610)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87C2 #87EBB0
analogous
#E287EB #EB87C2 #EB8790
triadic
#EB87C2 #C2EB87 #87C2EB
tetradic
#EB87C2 #EBE287 #87EBB0 #8790EB
square
#EB87C2 #EBE287 #87EBB0 #8790EB
split-complementary
#EB87C2 #90EB87 #87EBE2
monochromatic
#D4238C #E253A7 #EB87C2 #F4BBDD #FBE5F2

Accessibility & contrast

On white

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

On black

8.78
#EB87C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87C2
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87C2#FFFFFF#000000##000000
##EB87C21.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9DC4
Deuteranopia (green-blind)
#A8AEBF
Tritanopia (blue-blind)
#F7869D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #eb87c2;
/* rgb */ color: rgb(235, 135, 194);
/* oklch */ color: oklch(74.8% 0.140 344.7);
Tailwind
colors: {
  custom: {
    50: '#f3acd4',
    500: '#eb87c2',
    950: '#000000',
  },
}
SCSS
$custom: #eb87c2;
$custom-light: #f3acd4;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87c2",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 324.6,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74807,
    "c": 0.14047,
    "h": 344.7
  },
  "luminance": 0.38885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB87C2

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

Preview Lab → · Contrast checker → · Palette generator →

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