#EC5A85#EC5A85

#EC5A85 is a light, vivid pink. Relative luminance 0.268; OKLCH L 66.9% C 0.183 H 5.3°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#EC5A85
RGBrgb(236, 90, 133)
HSLhsl(342, 79%, 64%)
HSVhsv(342, 62%, 93%)
CMYKcmyk(0%, 61.9%, 43.6%, 7.5%)
CIE-LABlab(58.83, 59.76, 6.34)
CIE-LCHlch(58.83, 60.09, 6.05°)
OKLaboklab(66.86% 0.1822 0.0169)
OKLCHoklch(66.86% 0.183 5.3)
XYZxyz(42.4849, 26.8437, 25.1298)
Luminance0.2684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5A85 #5AECC1
analogous
#EC5ACE #EC5A85 #EC785A
triadic
#EC5A85 #85EC5A #5A85EC
tetradic
#EC5A85 #CEEC5A #5AECC1 #785AEC
square
#EC5A85 #CEEC5A #5AECC1 #785AEC
split-complementary
#EC5A85 #5AEC78 #5ACEEC
monochromatic
#B71545 #E6235C #EC5A85 #F291AE #F9C8D6

Accessibility & contrast

On white

3.30
#EC5A85 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#EC5A85 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5A85
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5A85#FFFFFF#000000##000000
##EC5A851.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#787B86
Deuteranopia (green-blind)
#9E9882
Tritanopia (blue-blind)
#FF486B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ec5a85;
/* rgb */ color: rgb(236, 90, 133);
/* oklch */ color: oklch(66.9% 0.183 5.3);
Tailwind
colors: {
  custom: {
    50: '#f790a8',
    500: '#ec5a85',
    950: '#000000',
  },
}
SCSS
$custom: #ec5a85;
$custom-light: #f790a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5a85",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 133
  },
  "hsl": {
    "h": 342.329,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66865,
    "c": 0.18296,
    "h": 5.3
  },
  "luminance": 0.26839
}

Semantic roles & 50–950 ramp

primary
#EC5A85
secondary
#B7EBDB
accent
#DC9E0A
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D0F
muted
#867E7F

Preview Lab

Preview with #EC5A85

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

Preview Lab → · Contrast checker → · Palette generator →

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