#EC5288#EC5288

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

Color values

HEX#EC5288
RGBrgb(236, 82, 136)
HSLhsl(339, 80%, 62%)
HSVhsv(339, 65%, 93%)
CMYKcmyk(0%, 65.3%, 42.4%, 7.5%)
CIE-LABlab(57.70, 63.32, 2.96)
CIE-LCHlch(57.70, 63.39, 2.67°)
OKLaboklab(66.05% 0.1936 0.0084)
OKLCHoklch(66.05% 0.194 2.5)
XYZxyz(42.0563, 25.6501, 26.0240)
Luminance0.2565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5288 #52ECB6
analogous
#EC52D5 #EC5288 #EC6952
triadic
#EC5288 #88EC52 #5288EC
tetradic
#EC5288 #D5EC52 #52ECB6 #6952EC
square
#EC5288 #D5EC52 #52ECB6 #6952EC
split-complementary
#EC5288 #52EC69 #52D5EC
monochromatic
#B0134A #E61B62 #EC5288 #F289AE #F8C0D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5288#FFFFFF#000000##000000
##EC52881.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#717889
Deuteranopia (green-blind)
#9A9684
Tritanopia (blue-blind)
#FF3F68
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec5288;
/* rgb */ color: rgb(236, 82, 136);
/* oklch */ color: oklch(66.1% 0.194 2.5);
Tailwind
colors: {
  custom: {
    50: '#f78baa',
    500: '#ec5288',
    950: '#000000',
  },
}
SCSS
$custom: #ec5288;
$custom-light: #f78baa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5288",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 136
  },
  "hsl": {
    "h": 338.961,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66054,
    "c": 0.19375,
    "h": 2.5
  },
  "luminance": 0.25645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5288

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

Preview Lab → · Contrast checker → · Palette generator →

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