#EC97CC#EC97CC

#EC97CC is a light, vivid pink. Relative luminance 0.443; OKLCH L 77.8% C 0.121 H 342.3°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#EC97CC
RGBrgb(236, 151, 204)
HSLhsl(323, 69%, 76%)
HSVhsv(323, 36%, 93%)
CMYKcmyk(0%, 36%, 13.6%, 7.5%)
CIE-LABlab(72.45, 39.31, -13.89)
CIE-LCHlch(72.45, 41.70, 340.54°)
OKLaboklab(77.8% 0.1153 -0.0368)
OKLCHoklch(77.8% 0.121 342.3)
XYZxyz(56.5580, 44.3288, 62.6923)
Luminance0.4433 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC97CC #97ECB7
analogous
#E197EC #EC97CC #EC97A1
triadic
#EC97CC #CCEC97 #97CCEC
tetradic
#EC97CC #ECE197 #97ECB7 #97A1EC
square
#EC97CC #ECE197 #97ECB7 #97A1EC
split-complementary
#EC97CC #A1EC97 #97ECE1
monochromatic
#D93099 #E363B3 #EC97CC #F5CBE5 #FAE5F2

Accessibility & contrast

On white

2.13
#EC97CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#EC97CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC97CC
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC97CC#FFFFFF#000000##000000
##EC97CC1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA9CE
Deuteranopia (green-blind)
#B0B7CA
Tritanopia (blue-blind)
#F697AA
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ec97cc;
/* rgb */ color: rgb(236, 151, 204);
/* oklch */ color: oklch(77.8% 0.121 342.3);
Tailwind
colors: {
  custom: {
    50: '#f3b7db',
    500: '#ec97cc',
    950: '#000000',
  },
}
SCSS
$custom: #ec97cc;
$custom-light: #f3b7db;
$custom-dark: #000000;
JSON
{
  "hex": "#ec97cc",
  "rgb": {
    "r": 236,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 322.588,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77797,
    "c": 0.12103,
    "h": 342.3
  },
  "luminance": 0.44326
}

Semantic roles & 50–950 ramp

primary
#EC97CC
secondary
#D9F2E2
accent
#D15B14
background
#FFFBFD
surface
#FEF6FB
border
#D6D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EC97CC

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

Preview Lab → · Contrast checker → · Palette generator →

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