#EC81BA#EC81BA

#EC81BA is a light, vivid pink. Relative luminance 0.371; OKLCH L 73.7% C 0.146 H 348.1°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#EC81BA
RGBrgb(236, 129, 186)
HSLhsl(328, 74%, 72%)
HSVhsv(328, 45%, 93%)
CMYKcmyk(0%, 45.3%, 21.2%, 7.5%)
CIE-LABlab(67.34, 47.89, -11.53)
CIE-LCHlch(67.34, 49.26, 346.46°)
OKLaboklab(73.75% 0.1432 -0.0302)
OKLCHoklch(73.75% 0.146 348.1)
XYZxyz(51.3064, 37.0824, 50.9002)
Luminance0.3708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC81BA #81ECB3
analogous
#E881EC #EC81BA #EC8185
triadic
#EC81BA #BAEC81 #81BAEC
tetradic
#EC81BA #ECE881 #81ECB3 #8185EC
square
#EC81BA #ECE881 #81ECB3 #8185EC
split-complementary
#EC81BA #85EC81 #81ECE8
monochromatic
#D3207F #E44C9D #EC81BA #F4B6D7 #FBE4F0

Accessibility & contrast

On white

2.50
#EC81BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#EC81BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC81BA
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC81BA#FFFFFF#000000##000000
##EC81BA1.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B99BC
Deuteranopia (green-blind)
#A7ABB7
Tritanopia (blue-blind)
#F97F96
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec81ba;
/* rgb */ color: rgb(236, 129, 186);
/* oklch */ color: oklch(73.7% 0.146 348.1);
Tailwind
colors: {
  custom: {
    50: '#f4a8ce',
    500: '#ec81ba',
    950: '#000000',
  },
}
SCSS
$custom: #ec81ba;
$custom-light: #f4a8ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ec81ba",
  "rgb": {
    "r": 236,
    "g": 129,
    "b": 186
  },
  "hsl": {
    "h": 328.037,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73745,
    "c": 0.14638,
    "h": 348.1
  },
  "luminance": 0.37079
}

Semantic roles & 50–950 ramp

primary
#EC81BA
secondary
#D7F2E4
accent
#D66C10
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#171013
muted
#857F82

Preview Lab

Preview with #EC81BA

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

Preview Lab → · Contrast checker → · Palette generator →

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