#EB97DB#EB97DB

#EB97DB is a light, vivid pink. Relative luminance 0.449; OKLCH L 78.2% C 0.132 H 333.9°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#EB97DB
RGBrgb(235, 151, 219)
HSLhsl(311, 68%, 76%)
HSVhsv(311, 36%, 92%)
CMYKcmyk(0%, 35.7%, 6.8%, 7.8%)
CIE-LABlab(72.83, 41.47, -21.57)
CIE-LCHlch(72.83, 46.74, 332.52°)
OKLaboklab(78.23% 0.1186 -0.058)
OKLCHoklch(78.23% 0.132 333.9)
XYZxyz(58.1133, 44.9127, 72.6121)
Luminance0.4491 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB97DB #97EBA7
analogous
#D197EB #EB97DB #EB97B1
triadic
#EB97DB #DBEB97 #97DBEB
tetradic
#EB97DB #EBD197 #97EBA7 #97B1EB
square
#EB97DB #EBD197 #97EBA7 #97B1EB
split-complementary
#EB97DB #B1EB97 #97EBD1
monochromatic
#D730B7 #E164C9 #EB97DB #F5CAED #FAE5F6

Accessibility & contrast

On white

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

On black

9.98
#EB97DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB97DB
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB97DB#FFFFFF#000000##000000
##EB97DB1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ABDE
Deuteranopia (green-blind)
#ACB7D8
Tritanopia (blue-blind)
#F39BB0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #eb97db;
/* rgb */ color: rgb(235, 151, 219);
/* oklch */ color: oklch(78.2% 0.132 333.9);
Tailwind
colors: {
  custom: {
    50: '#f2b7e6',
    500: '#eb97db',
    950: '#000000',
  },
}
SCSS
$custom: #eb97db;
$custom-light: #f2b7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb97db",
  "rgb": {
    "r": 235,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 311.429,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7823,
    "c": 0.13198,
    "h": 333.9
  },
  "luminance": 0.4491
}

Semantic roles & 50–950 ramp

primary
#EB97DB
secondary
#D9F2DE
accent
#D03916
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EB97DB

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

Preview Lab → · Contrast checker → · Palette generator →

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