#EC819D#EC819D

#EC819D is a light, vivid pink. Relative luminance 0.360; OKLCH L 72.8% C 0.134 H 4.2°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#EC819D
RGBrgb(236, 129, 157)
HSLhsl(344, 74%, 72%)
HSVhsv(344, 45%, 93%)
CMYKcmyk(0%, 45.3%, 33.5%, 7.5%)
CIE-LABlab(66.50, 44.04, 3.59)
CIE-LCHlch(66.50, 44.18, 4.66°)
OKLaboklab(72.83% 0.1336 0.0099)
OKLCHoklch(72.83% 0.134 4.2)
XYZxyz(48.5302, 35.9719, 36.2791)
Luminance0.3597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC819D #81ECD0
analogous
#EC81D3 #EC819D #EC9B81
triadic
#EC819D #9DEC81 #819DEC
tetradic
#EC819D #D3EC81 #81ECD0 #9B81EC
square
#EC819D #D3EC81 #81ECD0 #9B81EC
split-complementary
#EC819D #81EC9B #81D3EC
monochromatic
#D3204F #E44C74 #EC819D #F4B6C6 #FBE4EA

Accessibility & contrast

On white

2.56
#EC819D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#EC819D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC819D
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC819D#FFFFFF#000000##000000
##EC819D1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93959E
Deuteranopia (green-blind)
#ADA99B
Tritanopia (blue-blind)
#FC788B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec819d;
/* rgb */ color: rgb(236, 129, 157);
/* oklch */ color: oklch(72.8% 0.134 4.2);
Tailwind
colors: {
  custom: {
    50: '#f5a8b9',
    500: '#ec819d',
    950: '#000000',
  },
}
SCSS
$custom: #ec819d;
$custom-light: #f5a8b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec819d",
  "rgb": {
    "r": 236,
    "g": 129,
    "b": 157
  },
  "hsl": {
    "h": 344.299,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72834,
    "c": 0.134,
    "h": 4.2
  },
  "luminance": 0.35968
}

Semantic roles & 50–950 ramp

primary
#EC819D
secondary
#D7F2EB
accent
#D6A210
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#171011
muted
#857F80

Preview Lab

Preview with #EC819D

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

Preview Lab → · Contrast checker → · Palette generator →

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