#EB8AB2#EB8AB2

#EB8AB2 is a light, vivid pink. Relative luminance 0.391; OKLCH L 74.7% C 0.126 H 354.4°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#EB8AB2
RGBrgb(235, 138, 178)
HSLhsl(335, 71%, 73%)
HSVhsv(335, 41%, 92%)
CMYKcmyk(0%, 41.3%, 24.3%, 7.8%)
CIE-LABlab(68.79, 41.84, -4.90)
CIE-LCHlch(68.79, 42.12, 353.33°)
OKLaboklab(74.74% 0.1259 -0.0124)
OKLCHoklch(74.74% 0.126 354.4)
XYZxyz(51.3866, 39.0572, 46.9431)
Luminance0.3905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB8AB2 #8AEBC3
analogous
#EB8AE2 #EB8AB2 #EB928A
triadic
#EB8AB2 #B2EB8A #8AB2EB
tetradic
#EB8AB2 #E2EB8A #8AEBC3 #928AEB
square
#EB8AB2 #E2EB8A #8AEBC3 #928AEB
split-complementary
#EB8AB2 #8AEB92 #8AE2EB
monochromatic
#D6256E #E25690 #EB8AB2 #F4BED4 #FBE5EE

Accessibility & contrast

On white

2.38
#EB8AB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#EB8AB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB8AB2
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB8AB2#FFFFFF#000000##000000
##EB8AB21.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#969DB3
Deuteranopia (green-blind)
#AEAEB0
Tritanopia (blue-blind)
#F98698
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #eb8ab2;
/* rgb */ color: rgb(235, 138, 178);
/* oklch */ color: oklch(74.7% 0.126 354.4);
Tailwind
colors: {
  custom: {
    50: '#f3aec9',
    500: '#eb8ab2',
    950: '#000000',
  },
}
SCSS
$custom: #eb8ab2;
$custom-light: #f3aec9;
$custom-dark: #000000;
JSON
{
  "hex": "#eb8ab2",
  "rgb": {
    "r": 235,
    "g": 138,
    "b": 178
  },
  "hsl": {
    "h": 335.258,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74737,
    "c": 0.12649,
    "h": 354.4
  },
  "luminance": 0.39053
}

Semantic roles & 50–950 ramp

primary
#EB8AB2
secondary
#D9F2E8
accent
#D38413
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#171013
muted
#857F82

Preview Lab

Preview with #EB8AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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