#EC81CA#EC81CA

#EC81CA is a light, vivid pink. Relative luminance 0.378; OKLCH L 74.3% C 0.157 H 340.4°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#EC81CA
RGBrgb(236, 129, 202)
HSLhsl(319, 74%, 72%)
HSVhsv(319, 45%, 93%)
CMYKcmyk(0%, 45.3%, 14.4%, 7.5%)
CIE-LABlab(67.87, 50.29, -19.69)
CIE-LCHlch(67.87, 54.00, 338.62°)
OKLaboklab(74.32% 0.1478 -0.0526)
OKLCHoklch(74.32% 0.157 340.4)
XYZxyz(53.1035, 37.8012, 60.3651)
Luminance0.3780 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC81CA #81ECA3
analogous
#D881EC #EC81CA #EC8195
triadic
#EC81CA #CAEC81 #81CAEC
tetradic
#EC81CA #ECD881 #81ECA3 #8195EC
square
#EC81CA #ECD881 #81ECA3 #8195EC
split-complementary
#EC81CA #95EC81 #81ECD8
monochromatic
#D3209A #E44CB4 #EC81CA #F4B6E0 #FBE4F4

Accessibility & contrast

On white

2.45
#EC81CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#EC81CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC81CA
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC81CA#FFFFFF#000000##000000
##EC81CA1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#869BCD
Deuteranopia (green-blind)
#A2ACC7
Tritanopia (blue-blind)
#F7839D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec81ca;
/* rgb */ color: rgb(236, 129, 202);
/* oklch */ color: oklch(74.3% 0.157 340.4);
Tailwind
colors: {
  custom: {
    50: '#f4a8da',
    500: '#ec81ca',
    950: '#000000',
  },
}
SCSS
$custom: #ec81ca;
$custom-light: #f4a8da;
$custom-dark: #000000;
JSON
{
  "hex": "#ec81ca",
  "rgb": {
    "r": 236,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 319.065,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74323,
    "c": 0.15684,
    "h": 340.4
  },
  "luminance": 0.37798
}

Semantic roles & 50–950 ramp

primary
#EC81CA
secondary
#D7F2DF
accent
#D64F10
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171014
muted
#857F83

Preview Lab

Preview with #EC81CA

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

Preview Lab → · Contrast checker → · Palette generator →

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