#EC81DA#EC81DA

#EC81DA is a light, vivid pink. Relative luminance 0.386; OKLCH L 75.0% C 0.169 H 333.7°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#EC81DA
RGBrgb(236, 129, 218)
HSLhsl(310, 74%, 72%)
HSVhsv(310, 45%, 93%)
CMYKcmyk(0%, 45.3%, 7.6%, 7.5%)
CIE-LABlab(68.46, 52.85, -27.70)
CIE-LCHlch(68.46, 59.67, 332.34°)
OKLaboklab(74.95% 0.1517 -0.075)
OKLCHoklch(74.95% 0.169 333.7)
XYZxyz(55.0970, 38.5986, 70.8643)
Luminance0.3860 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC81DA #81EC93
analogous
#C881EC #EC81DA #EC81A5
triadic
#EC81DA #DAEC81 #81DAEC
tetradic
#EC81DA #ECC881 #81EC93 #81A5EC
square
#EC81DA #ECC881 #81EC93 #81A5EC
split-complementary
#EC81DA #A5EC81 #81ECC8
monochromatic
#D320B5 #E44CCA #EC81DA #F4B6EA #FBE4F7

Accessibility & contrast

On white

2.41
#EC81DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#EC81DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC81DA
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC81DA#FFFFFF#000000##000000
##EC81DA1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#809DDD
Deuteranopia (green-blind)
#9DADD7
Tritanopia (blue-blind)
#F587A4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ec81da;
/* rgb */ color: rgb(236, 129, 218);
/* oklch */ color: oklch(75.0% 0.169 333.7);
Tailwind
colors: {
  custom: {
    50: '#f4a8e5',
    500: '#ec81da',
    950: '#000000',
  },
}
SCSS
$custom: #ec81da;
$custom-light: #f4a8e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec81da",
  "rgb": {
    "r": 236,
    "g": 129,
    "b": 218
  },
  "hsl": {
    "h": 310.093,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74954,
    "c": 0.16919,
    "h": 333.7
  },
  "luminance": 0.38595
}

Semantic roles & 50–950 ramp

primary
#EC81DA
secondary
#D7F2DB
accent
#D63110
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171015
muted
#857F84

Preview Lab

Preview with #EC81DA

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

Preview Lab → · Contrast checker → · Palette generator →

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