#EC518B#EC518B

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

Color values

HEX#EC518B
RGBrgb(236, 81, 139)
HSLhsl(338, 80%, 62%)
HSVhsv(338, 66%, 93%)
CMYKcmyk(0%, 65.7%, 41.1%, 7.5%)
CIE-LABlab(57.64, 64.01, 1.11)
CIE-LCHlch(57.64, 64.02, 0.99°)
OKLaboklab(66.04% 0.1958 0.0036)
OKLCHoklch(66.04% 0.196 1.1)
XYZxyz(42.1976, 25.5869, 27.1377)
Luminance0.2558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC518B #51ECB2
analogous
#EC51D9 #EC518B #EC6451
triadic
#EC518B #8BEC51 #518BEC
tetradic
#EC518B #D9EC51 #51ECB2 #6451EC
square
#EC518B #D9EC51 #51ECB2 #6451EC
split-complementary
#EC518B #51EC64 #51D9EC
monochromatic
#AF134E #E61A66 #EC518B #F288B0 #F8BFD5

Accessibility & contrast

On white

3.43
#EC518B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#EC518B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC518B
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC518B#FFFFFF#000000##000000
##EC518B1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#70788D
Deuteranopia (green-blind)
#999587
Tritanopia (blue-blind)
#FF3E68
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec518b;
/* rgb */ color: rgb(236, 81, 139);
/* oklch */ color: oklch(66.0% 0.196 1.1);
Tailwind
colors: {
  custom: {
    50: '#f78bac',
    500: '#ec518b',
    950: '#000000',
  },
}
SCSS
$custom: #ec518b;
$custom-light: #f78bac;
$custom-dark: #000000;
JSON
{
  "hex": "#ec518b",
  "rgb": {
    "r": 236,
    "g": 81,
    "b": 139
  },
  "hsl": {
    "h": 337.548,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66036,
    "c": 0.19585,
    "h": 1.1
  },
  "luminance": 0.25582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC518B

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

Preview Lab → · Contrast checker → · Palette generator →

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