#EB7ED8#EB7ED8

#EB7ED8 is a light, vivid pink. Relative luminance 0.375; OKLCH L 74.3% C 0.172 H 334.0°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#EB7ED8
RGBrgb(235, 126, 216)
HSLhsl(310, 73%, 71%)
HSVhsv(310, 46%, 92%)
CMYKcmyk(0%, 46.4%, 8.1%, 7.8%)
CIE-LABlab(67.68, 53.71, -27.79)
CIE-LCHlch(67.68, 60.47, 332.64°)
OKLaboklab(74.32% 0.1544 -0.0752)
OKLCHoklch(74.32% 0.172 334)
XYZxyz(54.1164, 37.5451, 69.3490)
Luminance0.3754 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7ED8 #7EEB91
analogous
#C77EEB #EB7ED8 #EB7EA1
triadic
#EB7ED8 #D8EB7E #7ED8EB
tetradic
#EB7ED8 #EBC77E #7EEB91 #7EA1EB
square
#EB7ED8 #EBC77E #7EEB91 #7EA1EB
split-complementary
#EB7ED8 #A1EB7E #7EEBC7
monochromatic
#CF20B0 #E349C8 #EB7ED8 #F3B3E8 #FBE5F7

Accessibility & contrast

On white

2.47
#EB7ED8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#EB7ED8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7ED8
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7ED8#FFFFFF#000000##000000
##EB7ED81.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9BDB
Deuteranopia (green-blind)
#9BABD5
Tritanopia (blue-blind)
#F484A1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #eb7ed8;
/* rgb */ color: rgb(235, 126, 216);
/* oklch */ color: oklch(74.3% 0.172 334.0);
Tailwind
colors: {
  custom: {
    50: '#f3a6e4',
    500: '#eb7ed8',
    950: '#000000',
  },
}
SCSS
$custom: #eb7ed8;
$custom-light: #f3a6e4;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7ed8",
  "rgb": {
    "r": 235,
    "g": 126,
    "b": 216
  },
  "hsl": {
    "h": 310.459,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74324,
    "c": 0.17176,
    "h": 334
  },
  "luminance": 0.37542
}

Semantic roles & 50–950 ramp

primary
#EB7ED8
secondary
#D4F1D9
accent
#D53310
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #EB7ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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