#EB87AC#EB87AC

#EB87AC is a light, vivid pink. Relative luminance 0.380; OKLCH L 74.1% C 0.129 H 357.1°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#EB87AC
RGBrgb(235, 135, 172)
HSLhsl(338, 71%, 73%)
HSVhsv(338, 43%, 92%)
CMYKcmyk(0%, 42.6%, 26.8%, 7.8%)
CIE-LABlab(68.00, 42.56, -2.70)
CIE-LCHlch(68.00, 42.64, 356.37°)
OKLaboklab(74.08% 0.1285 -0.0065)
OKLCHoklch(74.08% 0.129 357.1)
XYZxyz(50.3728, 37.9725, 43.6981)
Luminance0.3797 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87AC #87EBC6
analogous
#EB87DE #EB87AC #EB9487
triadic
#EB87AC #ACEB87 #87ACEB
tetradic
#EB87AC #DEEB87 #87EBC6 #9487EB
square
#EB87AC #DEEB87 #87EBC6 #9487EB
split-complementary
#EB87AC #87EB94 #87DEEB
monochromatic
#D42365 #E25388 #EB87AC #F4BBD0 #FBE5ED

Accessibility & contrast

On white

2.44
#EB87AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#EB87AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87AC
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87AC#FFFFFF#000000##000000
##EB87AC1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#949BAD
Deuteranopia (green-blind)
#ADACAA
Tritanopia (blue-blind)
#F98194
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #eb87ac;
/* rgb */ color: rgb(235, 135, 172);
/* oklch */ color: oklch(74.1% 0.129 357.1);
Tailwind
colors: {
  custom: {
    50: '#f4acc4',
    500: '#eb87ac',
    950: '#000000',
  },
}
SCSS
$custom: #eb87ac;
$custom-light: #f4acc4;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87ac",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 172
  },
  "hsl": {
    "h": 337.8,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7408,
    "c": 0.12867,
    "h": 357.1
  },
  "luminance": 0.37969
}

Semantic roles & 50–950 ramp

primary
#EB87AC
secondary
#D9F2E9
accent
#D38C12
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#171012
muted
#857F81

Preview Lab

Preview with #EB87AC

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

Preview Lab → · Contrast checker → · Palette generator →

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