#EC5387#EC5387

#EC5387 is a light, vivid pink. Relative luminance 0.258; OKLCH L 66.1% C 0.192 H 3.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#EC5387
RGBrgb(236, 83, 135)
HSLhsl(340, 80%, 63%)
HSVhsv(340, 65%, 93%)
CMYKcmyk(0%, 64.8%, 42.8%, 7.5%)
CIE-LABlab(57.82, 62.83, 3.72)
CIE-LCHlch(57.82, 62.94, 3.38°)
OKLaboklab(66.13% 0.192 0.0103)
OKLCHoklch(66.13% 0.192 3.1)
XYZxyz(42.0615, 25.7737, 25.6768)
Luminance0.2577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5387 #53ECB8
analogous
#EC53D3 #EC5387 #EC6C53
triadic
#EC5387 #87EC53 #5387EC
tetradic
#EC5387 #D3EC53 #53ECB8 #6C53EC
square
#EC5387 #D3EC53 #53ECB8 #6C53EC
split-complementary
#EC5387 #53EC6C #53D3EC
monochromatic
#B11449 #E61C61 #EC5387 #F28AAD #F8C1D4

Accessibility & contrast

On white

3.41
#EC5387 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#EC5387 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5387
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5387#FFFFFF#000000##000000
##EC53871.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#727888
Deuteranopia (green-blind)
#9B9683
Tritanopia (blue-blind)
#FF4068
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec5387;
/* rgb */ color: rgb(236, 83, 135);
/* oklch */ color: oklch(66.1% 0.192 3.1);
Tailwind
colors: {
  custom: {
    50: '#f78ca9',
    500: '#ec5387',
    950: '#000000',
  },
}
SCSS
$custom: #ec5387;
$custom-light: #f78ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5387",
  "rgb": {
    "r": 236,
    "g": 83,
    "b": 135
  },
  "hsl": {
    "h": 339.608,
    "s": 80.105,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66133,
    "c": 0.19225,
    "h": 3.1
  },
  "luminance": 0.25769
}

Semantic roles & 50–950 ramp

primary
#EC5387
secondary
#B2E9D6
accent
#DC9509
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EC5387

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

Preview Lab → · Contrast checker → · Palette generator →

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