#EC518A#EC518A

#EC518A is a light, vivid pink. Relative luminance 0.256; OKLCH L 66.0% C 0.196 H 1.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#EC518A
RGBrgb(236, 81, 138)
HSLhsl(338, 80%, 62%)
HSVhsv(338, 66%, 93%)
CMYKcmyk(0%, 65.7%, 41.5%, 7.5%)
CIE-LABlab(57.61, 63.91, 1.65)
CIE-LCHlch(57.61, 63.93, 1.48°)
OKLaboklab(66.01% 0.1955 0.005)
OKLCHoklch(66.01% 0.196 1.5)
XYZxyz(42.1249, 25.5578, 26.7546)
Luminance0.2555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC518A #51ECB3
analogous
#EC51D8 #EC518A #EC6551
triadic
#EC518A #8AEC51 #518AEC
tetradic
#EC518A #D8EC51 #51ECB3 #6551EC
square
#EC518A #D8EC51 #51ECB3 #6551EC
split-complementary
#EC518A #51EC65 #51D8EC
monochromatic
#AF134D #E61A65 #EC518A #F288AF #F8BFD4

Accessibility & contrast

On white

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

On black

6.11
#EC518A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC518A
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC518A#FFFFFF#000000##000000
##EC518A1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#70778B
Deuteranopia (green-blind)
#9A9586
Tritanopia (blue-blind)
#FF3E68
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec518a;
/* rgb */ color: rgb(236, 81, 138);
/* oklch */ color: oklch(66.0% 0.196 1.5);
Tailwind
colors: {
  custom: {
    50: '#f78bac',
    500: '#ec518a',
    950: '#000000',
  },
}
SCSS
$custom: #ec518a;
$custom-light: #f78bac;
$custom-dark: #000000;
JSON
{
  "hex": "#ec518a",
  "rgb": {
    "r": 236,
    "g": 81,
    "b": 138
  },
  "hsl": {
    "h": 337.935,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66007,
    "c": 0.19555,
    "h": 1.5
  },
  "luminance": 0.25553
}

Semantic roles & 50–950 ramp

primary
#EC518A
secondary
#B0E9D4
accent
#DD8F09
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180D10
muted
#867D7F

Preview Lab

Preview with #EC518A

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

Preview Lab → · Contrast checker → · Palette generator →

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