#EC97DD#EC97DD

#EC97DD is a light, vivid pink. Relative luminance 0.452; OKLCH L 78.4% C 0.134 H 333.4°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#EC97DD
RGBrgb(236, 151, 221)
HSLhsl(311, 69%, 76%)
HSVhsv(311, 36%, 93%)
CMYKcmyk(0%, 36%, 6.4%, 7.5%)
CIE-LABlab(73.02, 42.13, -22.38)
CIE-LCHlch(73.02, 47.71, 332.02°)
OKLaboklab(78.42% 0.1202 -0.0602)
OKLCHoklch(78.42% 0.134 333.4)
XYZxyz(58.7093, 45.1894, 74.0226)
Luminance0.4519 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC97DD #97ECA6
analogous
#D097EC #EC97DD #EC97B2
triadic
#EC97DD #DDEC97 #97DDEC
tetradic
#EC97DD #ECD097 #97ECA6 #97B2EC
square
#EC97DD #ECD097 #97ECA6 #97B2EC
split-complementary
#EC97DD #B2EC97 #97ECD0
monochromatic
#D930BB #E363CC #EC97DD #F5CBEE #FAE5F7

Accessibility & contrast

On white

2.09
#EC97DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#EC97DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC97DD
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC97DD#FFFFFF#000000##000000
##EC97DD1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ACE0
Deuteranopia (green-blind)
#ABB8DA
Tritanopia (blue-blind)
#F39BB1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ec97dd;
/* rgb */ color: rgb(236, 151, 221);
/* oklch */ color: oklch(78.4% 0.134 333.4);
Tailwind
colors: {
  custom: {
    50: '#f3b7e7',
    500: '#ec97dd',
    950: '#000000',
  },
}
SCSS
$custom: #ec97dd;
$custom-light: #f3b7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec97dd",
  "rgb": {
    "r": 236,
    "g": 151,
    "b": 221
  },
  "hsl": {
    "h": 310.588,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78416,
    "c": 0.13446,
    "h": 333.4
  },
  "luminance": 0.45187
}

Semantic roles & 50–950 ramp

primary
#EC97DD
secondary
#D9F2DE
accent
#D13614
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC97DD

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

Preview Lab → · Contrast checker → · Palette generator →

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