#EC5285#EC5285

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

Color values

HEX#EC5285
RGBrgb(236, 82, 133)
HSLhsl(340, 80%, 62%)
HSVhsv(340, 65%, 93%)
CMYKcmyk(0%, 65.3%, 43.6%, 7.5%)
CIE-LABlab(57.62, 63.03, 4.60)
CIE-LCHlch(57.62, 63.20, 4.18°)
OKLaboklab(65.97% 0.1925 0.0126)
OKLCHoklch(65.97% 0.193 3.7)
XYZxyz(41.8461, 25.5660, 24.9169)
Luminance0.2556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5285 #52ECB9
analogous
#EC52D2 #EC5285 #EC6C52
triadic
#EC5285 #85EC52 #5285EC
tetradic
#EC5285 #D2EC52 #52ECB9 #6C52EC
square
#EC5285 #D2EC52 #52ECB9 #6C52EC
split-complementary
#EC5285 #52EC6C #52D2EC
monochromatic
#B01347 #E61B5E #EC5285 #F289AC #F8C0D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5285#FFFFFF#000000##000000
##EC52851.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)
#727786
Deuteranopia (green-blind)
#9B9681
Tritanopia (blue-blind)
#FF3D66
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec5285;
/* rgb */ color: rgb(236, 82, 133);
/* oklch */ color: oklch(66.0% 0.193 3.7);
Tailwind
colors: {
  custom: {
    50: '#f78ba8',
    500: '#ec5285',
    950: '#000000',
  },
}
SCSS
$custom: #ec5285;
$custom-light: #f78ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5285",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 133
  },
  "hsl": {
    "h": 340.13,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65968,
    "c": 0.19295,
    "h": 3.7
  },
  "luminance": 0.25561
}

Semantic roles & 50–950 ramp

primary
#EC5285
secondary
#B1E9D6
accent
#DD9609
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EC5285

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

Preview Lab → · Contrast checker → · Palette generator →

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