#EB87B3#EB87B3

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

Color values

HEX#EB87B3
RGBrgb(235, 135, 179)
HSLhsl(334, 71%, 73%)
HSVhsv(334, 43%, 92%)
CMYKcmyk(0%, 42.6%, 23.8%, 7.8%)
CIE-LABlab(68.20, 43.52, -6.33)
CIE-LCHlch(68.20, 43.98, 351.73°)
OKLaboklab(74.3% 0.1308 -0.0162)
OKLCHoklch(74.3% 0.132 352.9)
XYZxyz(51.0629, 38.2486, 47.3324)
Luminance0.3825 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87B3 #87EBBF
analogous
#EB87E5 #EB87B3 #EB8D87
triadic
#EB87B3 #B3EB87 #87B3EB
tetradic
#EB87B3 #E5EB87 #87EBBF #8D87EB
square
#EB87B3 #E5EB87 #87EBBF #8D87EB
split-complementary
#EB87B3 #87EB8D #87E5EB
monochromatic
#D42371 #E25392 #EB87B3 #F4BBD4 #FBE5EE

Accessibility & contrast

On white

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

On black

8.65
#EB87B3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87B3
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87B3#FFFFFF#000000##000000
##EB87B31.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#929CB5
Deuteranopia (green-blind)
#ACADB1
Tritanopia (blue-blind)
#F98397
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #eb87b3;
/* rgb */ color: rgb(235, 135, 179);
/* oklch */ color: oklch(74.3% 0.132 352.9);
Tailwind
colors: {
  custom: {
    50: '#f3acc9',
    500: '#eb87b3',
    950: '#000000',
  },
}
SCSS
$custom: #eb87b3;
$custom-light: #f3acc9;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87b3",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 179
  },
  "hsl": {
    "h": 333.6,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.743,
    "c": 0.13183,
    "h": 352.9
  },
  "luminance": 0.38245
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB87B3

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

Preview Lab → · Contrast checker → · Palette generator →

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