#EB97C2#EB97C2

#EB97C2 is a light, moderate pink. Relative luminance 0.437; OKLCH L 77.3% C 0.114 H 348.0°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#EB97C2
RGBrgb(235, 151, 194)
HSLhsl(329, 68%, 76%)
HSVhsv(329, 36%, 92%)
CMYKcmyk(0%, 35.7%, 17.4%, 7.8%)
CIE-LABlab(72.02, 37.41, -9.01)
CIE-LCHlch(72.02, 38.48, 346.46°)
OKLaboklab(77.35% 0.111 -0.0235)
OKLCHoklch(77.35% 0.114 348)
XYZxyz(55.0657, 43.6937, 56.5618)
Luminance0.4369 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB97C2 #97EBC0
analogous
#EA97EB #EB97C2 #EB9798
triadic
#EB97C2 #C2EB97 #97C2EB
tetradic
#EB97C2 #EBEA97 #97EBC0 #9798EB
square
#EB97C2 #EBEA97 #97EBC0 #9798EB
split-complementary
#EB97C2 #98EB97 #97EBEA
monochromatic
#D73086 #E164A4 #EB97C2 #F5CAE0 #FAE5F0

Accessibility & contrast

On white

2.16
#EB97C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#EB97C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB97C2
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB97C2#FFFFFF#000000##000000
##EB97C21.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EA8C4
Deuteranopia (green-blind)
#B3B6C0
Tritanopia (blue-blind)
#F695A6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #eb97c2;
/* rgb */ color: rgb(235, 151, 194);
/* oklch */ color: oklch(77.3% 0.114 348.0);
Tailwind
colors: {
  custom: {
    50: '#f3b7d4',
    500: '#eb97c2',
    950: '#000000',
  },
}
SCSS
$custom: #eb97c2;
$custom-light: #f3b7d4;
$custom-dark: #000000;
JSON
{
  "hex": "#eb97c2",
  "rgb": {
    "r": 235,
    "g": 151,
    "b": 194
  },
  "hsl": {
    "h": 329.286,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77347,
    "c": 0.1135,
    "h": 348
  },
  "luminance": 0.4369
}

Semantic roles & 50–950 ramp

primary
#EB97C2
secondary
#D9F2E5
accent
#D07116
background
#FFFBFD
surface
#FEF6FA
border
#D6D0D3
text
#171114
muted
#858083

Preview Lab

Preview with #EB97C2

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

Preview Lab → · Contrast checker → · Palette generator →

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