#EC97CF#EC97CF

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

Color values

HEX#EC97CF
RGBrgb(236, 151, 207)
HSLhsl(320, 69%, 76%)
HSVhsv(320, 36%, 93%)
CMYKcmyk(0%, 36%, 12.3%, 7.5%)
CIE-LABlab(72.54, 39.80, -15.40)
CIE-LCHlch(72.54, 42.67, 338.85°)
OKLaboklab(77.9% 0.1162 -0.0409)
OKLCHoklch(77.9% 0.123 340.6)
XYZxyz(56.9213, 44.4742, 64.6056)
Luminance0.4447 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC97CF #97ECB4
analogous
#DF97EC #EC97CF #EC97A4
triadic
#EC97CF #CFEC97 #97CFEC
tetradic
#EC97CF #ECDF97 #97ECB4 #97A4EC
square
#EC97CF #ECDF97 #97ECB4 #97A4EC
split-complementary
#EC97CF #A4EC97 #97ECDF
monochromatic
#D9309F #E363B7 #EC97CF #F5CBE7 #FAE5F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC97CF#FFFFFF#000000##000000
##EC97CF1.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)
#9BAAD1
Deuteranopia (green-blind)
#B0B7CD
Tritanopia (blue-blind)
#F698AB
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ec97cf;
/* rgb */ color: rgb(236, 151, 207);
/* oklch */ color: oklch(77.9% 0.123 340.6);
Tailwind
colors: {
  custom: {
    50: '#f3b7dd',
    500: '#ec97cf',
    950: '#000000',
  },
}
SCSS
$custom: #ec97cf;
$custom-light: #f3b7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec97cf",
  "rgb": {
    "r": 236,
    "g": 151,
    "b": 207
  },
  "hsl": {
    "h": 320.471,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77902,
    "c": 0.12321,
    "h": 340.6
  },
  "luminance": 0.44471
}

Semantic roles & 50–950 ramp

primary
#EC97CF
secondary
#D9F2E2
accent
#D15514
background
#FFFBFD
surface
#FEF6FB
border
#D6D0D4
text
#171115
muted
#858083

Preview Lab

Preview with #EC97CF

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

Preview Lab → · Contrast checker → · Palette generator →

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