#EC97CA#EC97CA

#EC97CA is a light, moderate pink. Relative luminance 0.442; OKLCH L 77.7% C 0.120 H 343.5°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#EC97CA
RGBrgb(236, 151, 202)
HSLhsl(324, 69%, 76%)
HSVhsv(324, 36%, 93%)
CMYKcmyk(0%, 36%, 14.4%, 7.5%)
CIE-LABlab(72.38, 39.00, -12.88)
CIE-LCHlch(72.38, 41.07, 341.72°)
OKLaboklab(77.73% 0.1147 -0.034)
OKLCHoklch(77.73% 0.12 343.5)
XYZxyz(56.3196, 44.2335, 61.4371)
Luminance0.4423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC97CA #97ECB9
analogous
#E397EC #EC97CA #EC979F
triadic
#EC97CA #CAEC97 #97CAEC
tetradic
#EC97CA #ECE397 #97ECB9 #979FEC
square
#EC97CA #ECE397 #97ECB9 #979FEC
split-complementary
#EC97CA #9FEC97 #97ECE3
monochromatic
#D93095 #E363B0 #EC97CA #F5CBE4 #FAE5F2

Accessibility & contrast

On white

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

On black

9.85
#EC97CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC97CA
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC97CA#FFFFFF#000000##000000
##EC97CA1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CA9CC
Deuteranopia (green-blind)
#B1B7C8
Tritanopia (blue-blind)
#F697A9
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ec97ca;
/* rgb */ color: rgb(236, 151, 202);
/* oklch */ color: oklch(77.7% 0.120 343.5);
Tailwind
colors: {
  custom: {
    50: '#f3b7da',
    500: '#ec97ca',
    950: '#000000',
  },
}
SCSS
$custom: #ec97ca;
$custom-light: #f3b7da;
$custom-dark: #000000;
JSON
{
  "hex": "#ec97ca",
  "rgb": {
    "r": 236,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 324,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77728,
    "c": 0.11963,
    "h": 343.5
  },
  "luminance": 0.4423
}

Semantic roles & 50–950 ramp

primary
#EC97CA
secondary
#D9F2E3
accent
#D16014
background
#FFFBFD
surface
#FEF6FA
border
#D6D0D3
text
#171114
muted
#858083

Preview Lab

Preview with #EC97CA

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

Preview Lab → · Contrast checker → · Palette generator →

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