#EB97DC#EB97DC

#EB97DC is a light, vivid pink. Relative luminance 0.450; OKLCH L 78.3% C 0.133 H 333.4°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#EB97DC
RGBrgb(235, 151, 220)
HSLhsl(311, 68%, 76%)
HSVhsv(311, 36%, 92%)
CMYKcmyk(0%, 35.7%, 6.4%, 7.8%)
CIE-LABlab(72.87, 41.64, -22.07)
CIE-LCHlch(72.87, 47.13, 332.08°)
OKLaboklab(78.27% 0.1188 -0.0594)
OKLCHoklch(78.27% 0.133 333.4)
XYZxyz(58.2453, 44.9655, 73.3075)
Luminance0.4496 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB97DC #97EBA6
analogous
#D097EB #EB97DC #EB97B2
triadic
#EB97DC #DCEB97 #97DCEB
tetradic
#EB97DC #EBD097 #97EBA6 #97B2EB
square
#EB97DC #EBD097 #97EBA6 #97B2EB
split-complementary
#EB97DC #B2EB97 #97EBD0
monochromatic
#D730B9 #E164CB #EB97DC #F5CAED #FAE5F6

Accessibility & contrast

On white

2.10
#EB97DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#EB97DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB97DC
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB97DC#FFFFFF#000000##000000
##EB97DC1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ABDF
Deuteranopia (green-blind)
#ABB7D9
Tritanopia (blue-blind)
#F29BB0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #eb97dc;
/* rgb */ color: rgb(235, 151, 220);
/* oklch */ color: oklch(78.3% 0.133 333.4);
Tailwind
colors: {
  custom: {
    50: '#f2b7e7',
    500: '#eb97dc',
    950: '#000000',
  },
}
SCSS
$custom: #eb97dc;
$custom-light: #f2b7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#eb97dc",
  "rgb": {
    "r": 235,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 310.714,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78268,
    "c": 0.13284,
    "h": 333.4
  },
  "luminance": 0.44963
}

Semantic roles & 50–950 ramp

primary
#EB97DC
secondary
#D9F2DE
accent
#D03716
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EB97DC

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

Preview Lab → · Contrast checker → · Palette generator →

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