#EC97DB#EC97DB

#EC97DB is a light, vivid pink. Relative luminance 0.451; OKLCH L 78.3% C 0.133 H 334.3°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#EC97DB
RGBrgb(236, 151, 219)
HSLhsl(312, 69%, 76%)
HSVhsv(312, 36%, 93%)
CMYKcmyk(0%, 36%, 7.2%, 7.5%)
CIE-LABlab(72.95, 41.79, -21.39)
CIE-LCHlch(72.95, 46.94, 332.89°)
OKLaboklab(78.34% 0.1197 -0.0575)
OKLCHoklch(78.34% 0.133 334.3)
XYZxyz(58.4444, 45.0834, 72.6276)
Luminance0.4508 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC97DB #97ECA8
analogous
#D297EC #EC97DB #EC97B0
triadic
#EC97DB #DBEC97 #97DBEC
tetradic
#EC97DB #ECD297 #97ECA8 #97B0EC
square
#EC97DB #ECD297 #97ECA8 #97B0EC
split-complementary
#EC97DB #B0EC97 #97ECD2
monochromatic
#D930B7 #E363C9 #EC97DB #F5CBED #FAE5F6

Accessibility & contrast

On white

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

On black

10.02
#EC97DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC97DB
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC97DB#FFFFFF#000000##000000
##EC97DB1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ABDE
Deuteranopia (green-blind)
#ACB8D8
Tritanopia (blue-blind)
#F49BB0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ec97db;
/* rgb */ color: rgb(236, 151, 219);
/* oklch */ color: oklch(78.3% 0.133 334.3);
Tailwind
colors: {
  custom: {
    50: '#f3b7e6',
    500: '#ec97db',
    950: '#000000',
  },
}
SCSS
$custom: #ec97db;
$custom-light: #f3b7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec97db",
  "rgb": {
    "r": 236,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 312,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7834,
    "c": 0.13275,
    "h": 334.3
  },
  "luminance": 0.45081
}

Semantic roles & 50–950 ramp

primary
#EC97DB
secondary
#D9F2DE
accent
#D13A14
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC97DB

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

Preview Lab → · Contrast checker → · Palette generator →

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