#EB97D2#EB97D2

#EB97D2 is a light, vivid pink. Relative luminance 0.444; OKLCH L 77.9% C 0.125 H 338.6°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#EB97D2
RGBrgb(235, 151, 210)
HSLhsl(318, 68%, 76%)
HSVhsv(318, 36%, 92%)
CMYKcmyk(0%, 35.7%, 10.6%, 7.8%)
CIE-LABlab(72.53, 39.96, -17.09)
CIE-LCHlch(72.53, 43.46, 336.85°)
OKLaboklab(77.9% 0.116 -0.0456)
OKLCHoklch(77.9% 0.125 338.6)
XYZxyz(56.9603, 44.4515, 66.5400)
Luminance0.4445 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB97D2 #97EBB0
analogous
#DA97EB #EB97D2 #EB97A8
triadic
#EB97D2 #D2EB97 #97D2EB
tetradic
#EB97D2 #EBDA97 #97EBB0 #97A8EB
square
#EB97D2 #EBDA97 #97EBB0 #97A8EB
split-complementary
#EB97D2 #A8EB97 #97EBDA
monochromatic
#D730A6 #E164BC #EB97D2 #F5CAE8 #FAE5F4

Accessibility & contrast

On white

2.12
#EB97D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#EB97D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB97D2
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB97D2#FFFFFF#000000##000000
##EB97D21.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#99AAD4
Deuteranopia (green-blind)
#AEB7D0
Tritanopia (blue-blind)
#F499AC
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #eb97d2;
/* rgb */ color: rgb(235, 151, 210);
/* oklch */ color: oklch(77.9% 0.125 338.6);
Tailwind
colors: {
  custom: {
    50: '#f3b7df',
    500: '#eb97d2',
    950: '#000000',
  },
}
SCSS
$custom: #eb97d2;
$custom-light: #f3b7df;
$custom-dark: #000000;
JSON
{
  "hex": "#eb97d2",
  "rgb": {
    "r": 235,
    "g": 151,
    "b": 210
  },
  "hsl": {
    "h": 317.857,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77899,
    "c": 0.12463,
    "h": 338.6
  },
  "luminance": 0.44449
}

Semantic roles & 50–950 ramp

primary
#EB97D2
secondary
#D9F2E1
accent
#D04D16
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EB97D2

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

Preview Lab → · Contrast checker → · Palette generator →

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