#EC96DD#EC96DD

#EC96DD is a light, vivid pink. Relative luminance 0.449; OKLCH L 78.3% C 0.136 H 333.3°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#EC96DD
RGBrgb(236, 150, 221)
HSLhsl(310, 69%, 76%)
HSVhsv(310, 36%, 93%)
CMYKcmyk(0%, 36.4%, 6.4%, 7.5%)
CIE-LABlab(72.81, 42.65, -22.70)
CIE-LCHlch(72.81, 48.32, 331.97°)
OKLaboklab(78.26% 0.1217 -0.0611)
OKLCHoklch(78.26% 0.136 333.3)
XYZxyz(58.5490, 44.8689, 73.9692)
Luminance0.4487 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC96DD #96ECA5
analogous
#D096EC #EC96DD #EC96B2
triadic
#EC96DD #DDEC96 #96DDEC
tetradic
#EC96DD #ECD096 #96ECA5 #96B2EC
square
#EC96DD #ECD096 #96ECA5 #96B2EC
split-complementary
#EC96DD #B2EC96 #96ECD0
monochromatic
#D92EBB #E362CC #EC96DD #F5CAEE #FAE5F7

Accessibility & contrast

On white

2.11
#EC96DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#EC96DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC96DD
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC96DD#FFFFFF#000000##000000
##EC96DD1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95ABE0
Deuteranopia (green-blind)
#ABB7DA
Tritanopia (blue-blind)
#F49AB0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ec96dd;
/* rgb */ color: rgb(236, 150, 221);
/* oklch */ color: oklch(78.3% 0.136 333.3);
Tailwind
colors: {
  custom: {
    50: '#f3b6e7',
    500: '#ec96dd',
    950: '#000000',
  },
}
SCSS
$custom: #ec96dd;
$custom-light: #f3b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec96dd",
  "rgb": {
    "r": 236,
    "g": 150,
    "b": 221
  },
  "hsl": {
    "h": 310.465,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78256,
    "c": 0.13619,
    "h": 333.3
  },
  "luminance": 0.44866
}

Semantic roles & 50–950 ramp

primary
#EC96DD
secondary
#D9F2DD
accent
#D13514
background
#FFFBFE
surface
#FEF6FC
border
#D6D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EC96DD

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

Preview Lab → · Contrast checker → · Palette generator →

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