#EC50C8#EC50C8

#EC50C8 is a light, highly saturated pink. Relative luminance 0.277; OKLCH L 68.2% C 0.228 H 338.3°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#EC50C8
RGBrgb(236, 80, 200)
HSLhsl(314, 80%, 62%)
HSVhsv(314, 66%, 93%)
CMYKcmyk(0%, 66.1%, 15.3%, 7.5%)
CIE-LABlab(59.66, 71.75, -31.18)
CIE-LCHlch(59.66, 78.23, 336.51°)
OKLaboklab(68.22% 0.212 -0.0844)
OKLCHoklch(68.22% 0.228 338.3)
XYZxyz(47.8870, 27.7446, 57.4656)
Luminance0.2774 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC50C8 #50EC74
analogous
#C250EC #EC50C8 #EC507A
triadic
#EC50C8 #C8EC50 #50C8EC
tetradic
#EC50C8 #ECC250 #50EC74 #507AEC
square
#EC50C8 #ECC250 #50EC74 #507AEC
split-complementary
#EC50C8 #7AEC50 #50ECC2
monochromatic
#AF138B #E619B7 #EC50C8 #F287D9 #F8BEEB

Accessibility & contrast

On white

3.21
#EC50C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#EC50C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC50C8
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC50C8#FFFFFF#000000##000000
##EC50C81.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CB
Deuteranopia (green-blind)
#8899C4
Tritanopia (blue-blind)
#F95685
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec50c8;
/* rgb */ color: rgb(236, 80, 200);
/* oklch */ color: oklch(68.2% 0.228 338.3);
Tailwind
colors: {
  custom: {
    50: '#f68cd9',
    500: '#ec50c8',
    950: '#000000',
  },
}
SCSS
$custom: #ec50c8;
$custom-light: #f68cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec50c8",
  "rgb": {
    "r": 236,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 313.846,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.68221,
    "c": 0.22814,
    "h": 338.3
  },
  "luminance": 0.2774
}

Semantic roles & 50–950 ramp

primary
#EC50C8
secondary
#AFE9BC
accent
#DD3A09
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EC50C8

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

Preview Lab → · Contrast checker → · Palette generator →

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