#EC97CE#EC97CE

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

Color values

HEX#EC97CE
RGBrgb(236, 151, 206)
HSLhsl(321, 69%, 76%)
HSVhsv(321, 36%, 93%)
CMYKcmyk(0%, 36%, 12.7%, 7.5%)
CIE-LABlab(72.51, 39.63, -14.90)
CIE-LCHlch(72.51, 42.34, 339.40°)
OKLaboklab(77.87% 0.1159 -0.0395)
OKLCHoklch(77.87% 0.122 341.2)
XYZxyz(56.7994, 44.4254, 63.9637)
Luminance0.4442 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC97CE #97ECB5
analogous
#DF97EC #EC97CE #EC97A3
triadic
#EC97CE #CEEC97 #97CEEC
tetradic
#EC97CE #ECDF97 #97ECB5 #97A3EC
square
#EC97CE #ECDF97 #97ECB5 #97A3EC
split-complementary
#EC97CE #A3EC97 #97ECDF
monochromatic
#D9309D #E363B6 #EC97CE #F5CBE6 #FAE5F3

Accessibility & contrast

On white

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

On black

9.88
#EC97CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC97CE
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC97CE#FFFFFF#000000##000000
##EC97CE1.002.129.889.88
#FFFFFF2.121.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BAAD0
Deuteranopia (green-blind)
#B0B7CC
Tritanopia (blue-blind)
#F698AB
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ec97ce;
/* rgb */ color: rgb(236, 151, 206);
/* oklch */ color: oklch(77.9% 0.122 341.2);
Tailwind
colors: {
  custom: {
    50: '#f3b7dd',
    500: '#ec97ce',
    950: '#000000',
  },
}
SCSS
$custom: #ec97ce;
$custom-light: #f3b7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec97ce",
  "rgb": {
    "r": 236,
    "g": 151,
    "b": 206
  },
  "hsl": {
    "h": 321.176,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77867,
    "c": 0.12248,
    "h": 341.2
  },
  "luminance": 0.44422
}

Semantic roles & 50–950 ramp

primary
#EC97CE
secondary
#D9F2E2
accent
#D15714
background
#FFFBFD
surface
#FEF6FB
border
#D6D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EC97CE

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

Preview Lab → · Contrast checker → · Palette generator →

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