#EC5088#EC5088

#EC5088 is a light, vivid pink. Relative luminance 0.253; OKLCH L 65.8% C 0.196 H 2.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#EC5088
RGBrgb(236, 80, 136)
HSLhsl(338, 80%, 62%)
HSVhsv(338, 66%, 93%)
CMYKcmyk(0%, 66.1%, 42.4%, 7.5%)
CIE-LABlab(57.42, 64.10, 2.54)
CIE-LCHlch(57.42, 64.15, 2.27°)
OKLaboklab(65.84% 0.1961 0.0073)
OKLCHoklch(65.84% 0.196 2.1)
XYZxyz(41.9077, 25.3529, 25.9745)
Luminance0.2535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5088 #50ECB4
analogous
#EC50D6 #EC5088 #EC6650
triadic
#EC5088 #88EC50 #5088EC
tetradic
#EC5088 #D6EC50 #50ECB4 #6650EC
square
#EC5088 #D6EC50 #50ECB4 #6650EC
split-complementary
#EC5088 #50EC66 #50D6EC
monochromatic
#AF134B #E61963 #EC5088 #F287AE #F8BED3

Accessibility & contrast

On white

3.46
#EC5088 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#EC5088 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5088
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5088#FFFFFF#000000##000000
##EC50881.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#707789
Deuteranopia (green-blind)
#9A9584
Tritanopia (blue-blind)
#FF3C67
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec5088;
/* rgb */ color: rgb(236, 80, 136);
/* oklch */ color: oklch(65.8% 0.196 2.1);
Tailwind
colors: {
  custom: {
    50: '#f78aaa',
    500: '#ec5088',
    950: '#000000',
  },
}
SCSS
$custom: #ec5088;
$custom-light: #f78aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5088",
  "rgb": {
    "r": 236,
    "g": 80,
    "b": 136
  },
  "hsl": {
    "h": 338.462,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65842,
    "c": 0.19619,
    "h": 2.1
  },
  "luminance": 0.25348
}

Semantic roles & 50–950 ramp

primary
#EC5088
secondary
#AFE9D4
accent
#DD9109
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180D10
muted
#867D7F

Preview Lab

Preview with #EC5088

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

Preview Lab → · Contrast checker → · Palette generator →

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