#EC96DB#EC96DB

#EC96DB is a light, vivid pink. Relative luminance 0.448; OKLCH L 78.2% C 0.134 H 334.3°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#EC96DB
RGBrgb(236, 150, 219)
HSLhsl(312, 69%, 76%)
HSVhsv(312, 36%, 93%)
CMYKcmyk(0%, 36.4%, 7.2%, 7.5%)
CIE-LABlab(72.74, 42.31, -21.71)
CIE-LCHlch(72.74, 47.56, 332.83°)
OKLaboklab(78.18% 0.1212 -0.0584)
OKLCHoklch(78.18% 0.134 334.3)
XYZxyz(58.2842, 44.7629, 72.5742)
Luminance0.4476 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC96DB #96ECA7
analogous
#D296EC #EC96DB #EC96B0
triadic
#EC96DB #DBEC96 #96DBEC
tetradic
#EC96DB #ECD296 #96ECA7 #96B0EC
square
#EC96DB #ECD296 #96ECA7 #96B0EC
split-complementary
#EC96DB #B0EC96 #96ECD2
monochromatic
#D92EB7 #E362C9 #EC96DB #F5CAED #FAE5F6

Accessibility & contrast

On white

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

On black

9.95
#EC96DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC96DB
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC96DB#FFFFFF#000000##000000
##EC96DB1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ABDE
Deuteranopia (green-blind)
#ABB7D8
Tritanopia (blue-blind)
#F49AAF
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ec96db;
/* rgb */ color: rgb(236, 150, 219);
/* oklch */ color: oklch(78.2% 0.134 334.3);
Tailwind
colors: {
  custom: {
    50: '#f3b6e6',
    500: '#ec96db',
    950: '#000000',
  },
}
SCSS
$custom: #ec96db;
$custom-light: #f3b6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec96db",
  "rgb": {
    "r": 236,
    "g": 150,
    "b": 219
  },
  "hsl": {
    "h": 311.86,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7818,
    "c": 0.13449,
    "h": 334.3
  },
  "luminance": 0.4476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC96DB

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

Preview Lab → · Contrast checker → · Palette generator →

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