#EC5188#EC5188

#EC5188 is a light, vivid pink. Relative luminance 0.255; OKLCH L 65.9% C 0.195 H 2.3°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#EC5188
RGBrgb(236, 81, 136)
HSLhsl(339, 80%, 62%)
HSVhsv(339, 66%, 93%)
CMYKcmyk(0%, 65.7%, 42.4%, 7.5%)
CIE-LABlab(57.56, 63.71, 2.75)
CIE-LCHlch(57.56, 63.77, 2.47°)
OKLaboklab(65.95% 0.1948 0.0078)
OKLCHoklch(65.95% 0.195 2.3)
XYZxyz(41.9814, 25.5004, 25.9991)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5188 #51ECB5
analogous
#EC51D5 #EC5188 #EC6851
triadic
#EC5188 #88EC51 #5188EC
tetradic
#EC5188 #D5EC51 #51ECB5 #6851EC
square
#EC5188 #D5EC51 #51ECB5 #6851EC
split-complementary
#EC5188 #51EC68 #51D5EC
monochromatic
#AF134B #E61A62 #EC5188 #F288AE #F8BFD3

Accessibility & contrast

On white

3.44
#EC5188 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#EC5188 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5188
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5188#FFFFFF#000000##000000
##EC51881.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec5188;
/* rgb */ color: rgb(236, 81, 136);
/* oklch */ color: oklch(65.9% 0.195 2.3);
Tailwind
colors: {
  custom: {
    50: '#f78baa',
    500: '#ec5188',
    950: '#000000',
  },
}
SCSS
$custom: #ec5188;
$custom-light: #f78baa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5188",
  "rgb": {
    "r": 236,
    "g": 81,
    "b": 136
  },
  "hsl": {
    "h": 338.71,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65948,
    "c": 0.19498,
    "h": 2.3
  },
  "luminance": 0.25495
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5188

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

Preview Lab → · Contrast checker → · Palette generator →

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