#EC5289#EC5289

#EC5289 is a light, vivid pink. Relative luminance 0.257; OKLCH L 66.1% C 0.194 H 2.1°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#EC5289
RGBrgb(236, 82, 137)
HSLhsl(339, 80%, 62%)
HSVhsv(339, 65%, 93%)
CMYKcmyk(0%, 65.3%, 41.9%, 7.5%)
CIE-LABlab(57.73, 63.42, 2.41)
CIE-LCHlch(57.73, 63.46, 2.18°)
OKLaboklab(66.08% 0.1939 0.007)
OKLCHoklch(66.08% 0.194 2.1)
XYZxyz(42.1277, 25.6787, 26.4001)
Luminance0.2567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5289 #52ECB5
analogous
#EC52D6 #EC5289 #EC6852
triadic
#EC5289 #89EC52 #5289EC
tetradic
#EC5289 #D6EC52 #52ECB5 #6852EC
square
#EC5289 #D6EC52 #52ECB5 #6852EC
split-complementary
#EC5289 #52EC68 #52D6EC
monochromatic
#B0134B #E61B63 #EC5289 #F289AF #F8C0D4

Accessibility & contrast

On white

3.42
#EC5289 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#EC5289 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5289
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5289#FFFFFF#000000##000000
##EC52891.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#71788A
Deuteranopia (green-blind)
#9A9685
Tritanopia (blue-blind)
#FF3F68
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec5289;
/* rgb */ color: rgb(236, 82, 137);
/* oklch */ color: oklch(66.1% 0.194 2.1);
Tailwind
colors: {
  custom: {
    50: '#f78bab',
    500: '#ec5289',
    950: '#000000',
  },
}
SCSS
$custom: #ec5289;
$custom-light: #f78bab;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5289",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 137
  },
  "hsl": {
    "h": 338.571,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66083,
    "c": 0.19403,
    "h": 2.1
  },
  "luminance": 0.25674
}

Semantic roles & 50–950 ramp

primary
#EC5289
secondary
#B1E9D5
accent
#DD9109
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5289

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

Preview Lab → · Contrast checker → · Palette generator →

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