#EB87B2#EB87B2

#EB87B2 is a light, vivid pink. Relative luminance 0.382; OKLCH L 74.3% C 0.131 H 353.5°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#EB87B2
RGBrgb(235, 135, 178)
HSLhsl(334, 71%, 73%)
HSVhsv(334, 43%, 92%)
CMYKcmyk(0%, 42.6%, 24.3%, 7.8%)
CIE-LABlab(68.17, 43.38, -5.81)
CIE-LCHlch(68.17, 43.77, 352.37°)
OKLaboklab(74.27% 0.1305 -0.0148)
OKLCHoklch(74.27% 0.131 353.5)
XYZxyz(50.9621, 38.2083, 46.8017)
Luminance0.3820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87B2 #87EBC0
analogous
#EB87E4 #EB87B2 #EB8E87
triadic
#EB87B2 #B2EB87 #87B2EB
tetradic
#EB87B2 #E4EB87 #87EBC0 #8E87EB
square
#EB87B2 #E4EB87 #87EBC0 #8E87EB
split-complementary
#EB87B2 #87EB8E #87E4EB
monochromatic
#D4236F #E25390 #EB87B2 #F4BBD4 #FBE5EE

Accessibility & contrast

On white

2.43
#EB87B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#EB87B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87B2
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87B2#FFFFFF#000000##000000
##EB87B21.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#939BB3
Deuteranopia (green-blind)
#ACADB0
Tritanopia (blue-blind)
#F98396
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #eb87b2;
/* rgb */ color: rgb(235, 135, 178);
/* oklch */ color: oklch(74.3% 0.131 353.5);
Tailwind
colors: {
  custom: {
    50: '#f3acc9',
    500: '#eb87b2',
    950: '#000000',
  },
}
SCSS
$custom: #eb87b2;
$custom-light: #f3acc9;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87b2",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 178
  },
  "hsl": {
    "h": 334.2,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.74268,
    "c": 0.13135,
    "h": 353.5
  },
  "luminance": 0.38204
}

Semantic roles & 50–950 ramp

primary
#EB87B2
secondary
#D9F2E7
accent
#D38012
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#171013
muted
#857F82

Preview Lab

Preview with #EB87B2

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

Preview Lab → · Contrast checker → · Palette generator →

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