#EC97DA#EC97DA

#EC97DA is a light, vivid pink. Relative luminance 0.450; OKLCH L 78.3% C 0.132 H 334.8°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#EC97DA
RGBrgb(236, 151, 218)
HSLhsl(313, 69%, 76%)
HSVhsv(313, 36%, 93%)
CMYKcmyk(0%, 36%, 7.6%, 7.5%)
CIE-LABlab(72.91, 41.62, -20.89)
CIE-LCHlch(72.91, 46.57, 333.34°)
OKLaboklab(78.3% 0.1194 -0.0561)
OKLCHoklch(78.3% 0.132 334.8)
XYZxyz(58.3132, 45.0309, 71.9363)
Luminance0.4503 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC97DA #97ECA9
analogous
#D397EC #EC97DA #EC97AF
triadic
#EC97DA #DAEC97 #97DAEC
tetradic
#EC97DA #ECD397 #97ECA9 #97AFEC
square
#EC97DA #ECD397 #97ECA9 #97AFEC
split-complementary
#EC97DA #AFEC97 #97ECD3
monochromatic
#D930B5 #E363C8 #EC97DA #F5CBEC #FAE5F6

Accessibility & contrast

On white

2.10
#EC97DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#EC97DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC97DA
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC97DA#FFFFFF#000000##000000
##EC97DA1.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ABDD
Deuteranopia (green-blind)
#ACB7D7
Tritanopia (blue-blind)
#F49BAF
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ec97da;
/* rgb */ color: rgb(236, 151, 218);
/* oklch */ color: oklch(78.3% 0.132 334.8);
Tailwind
colors: {
  custom: {
    50: '#f3b7e5',
    500: '#ec97da',
    950: '#000000',
  },
}
SCSS
$custom: #ec97da;
$custom-light: #f3b7e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec97da",
  "rgb": {
    "r": 236,
    "g": 151,
    "b": 218
  },
  "hsl": {
    "h": 312.706,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78303,
    "c": 0.13192,
    "h": 334.8
  },
  "luminance": 0.45028
}

Semantic roles & 50–950 ramp

primary
#EC97DA
secondary
#D9F2DE
accent
#D13C14
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171115
muted
#858084

Preview Lab

Preview with #EC97DA

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

Preview Lab → · Contrast checker → · Palette generator →

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