#EB98DC#EB98DC

#EB98DC is a light, vivid pink. Relative luminance 0.453; OKLCH L 78.4% C 0.131 H 333.5°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#EB98DC
RGBrgb(235, 152, 220)
HSLhsl(311, 67%, 76%)
HSVhsv(311, 35%, 92%)
CMYKcmyk(0%, 35.3%, 6.4%, 7.8%)
CIE-LABlab(73.08, 41.12, -21.74)
CIE-LCHlch(73.08, 46.51, 332.13°)
OKLaboklab(78.43% 0.1173 -0.0585)
OKLCHoklch(78.43% 0.131 333.5)
XYZxyz(58.4069, 45.2887, 73.3613)
Luminance0.4529 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB98DC #98EBA7
analogous
#D098EB #EB98DC #EB98B2
triadic
#EB98DC #DCEB98 #98DCEB
tetradic
#EB98DC #EBD098 #98EBA7 #98B2EB
square
#EB98DC #EBD098 #98EBA7 #98B2EB
split-complementary
#EB98DC #B2EB98 #98EBD0
monochromatic
#D732B9 #E165CB #EB98DC #F5CBED #FAE5F6

Accessibility & contrast

On white

2.09
#EB98DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#EB98DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB98DC
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB98DC#FFFFFF#000000##000000
##EB98DC1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ACDF
Deuteranopia (green-blind)
#ACB8D9
Tritanopia (blue-blind)
#F29CB1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #eb98dc;
/* rgb */ color: rgb(235, 152, 220);
/* oklch */ color: oklch(78.4% 0.131 333.5);
Tailwind
colors: {
  custom: {
    50: '#f2b7e7',
    500: '#eb98dc',
    950: '#000000',
  },
}
SCSS
$custom: #eb98dc;
$custom-light: #f2b7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#eb98dc",
  "rgb": {
    "r": 235,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 310.843,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78429,
    "c": 0.1311,
    "h": 333.5
  },
  "luminance": 0.45286
}

Semantic roles & 50–950 ramp

primary
#EB98DC
secondary
#D9F2DE
accent
#CF3816
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EB98DC

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

Preview Lab → · Contrast checker → · Palette generator →

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