#EB87BC#EB87BC

#EB87BC is a light, vivid pink. Relative luminance 0.386; OKLCH L 74.6% C 0.137 H 347.9°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#EB87BC
RGBrgb(235, 135, 188)
HSLhsl(328, 71%, 73%)
HSVhsv(328, 43%, 92%)
CMYKcmyk(0%, 42.6%, 20%, 7.8%)
CIE-LABlab(68.48, 44.82, -10.96)
CIE-LCHlch(68.48, 46.14, 346.26°)
OKLaboklab(74.6% 0.1337 -0.0287)
OKLCHoklch(74.6% 0.137 347.9)
XYZxyz(52.0030, 38.6246, 52.2835)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87BC #87EBB6
analogous
#E887EB #EB87BC #EB878A
triadic
#EB87BC #BCEB87 #87BCEB
tetradic
#EB87BC #EBE887 #87EBB6 #878AEB
square
#EB87BC #EBE887 #87EBB6 #878AEB
split-complementary
#EB87BC #8AEB87 #87EBE8
monochromatic
#D42381 #E2539F #EB87BC #F4BBD9 #FBE5F0

Accessibility & contrast

On white

2.41
#EB87BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#EB87BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87BC
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87BC#FFFFFF#000000##000000
##EB87BC1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#909DBE
Deuteranopia (green-blind)
#A9ADB9
Tritanopia (blue-blind)
#F8859A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #eb87bc;
/* rgb */ color: rgb(235, 135, 188);
/* oklch */ color: oklch(74.6% 0.137 347.9);
Tailwind
colors: {
  custom: {
    50: '#f3acd0',
    500: '#eb87bc',
    950: '#000000',
  },
}
SCSS
$custom: #eb87bc;
$custom-light: #f3acd0;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87bc",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 328.2,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74599,
    "c": 0.13673,
    "h": 347.9
  },
  "luminance": 0.38621
}

Semantic roles & 50–950 ramp

primary
#EB87BC
secondary
#D9F2E5
accent
#D36D12
background
#FFFAFC
surface
#FEF4F9
border
#D6CED2
text
#171014
muted
#857F82

Preview Lab

Preview with #EB87BC

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

Preview Lab → · Contrast checker → · Palette generator →

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