#EC5A86#EC5A86

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

Color values

HEX#EC5A86
RGBrgb(236, 90, 134)
HSLhsl(342, 79%, 64%)
HSVhsv(342, 62%, 93%)
CMYKcmyk(0%, 61.9%, 43.2%, 7.5%)
CIE-LABlab(58.86, 59.85, 5.79)
CIE-LCHlch(58.86, 60.13, 5.52°)
OKLaboklab(66.89% 0.1825 0.0156)
OKLCHoklch(66.89% 0.183 4.9)
XYZxyz(42.5543, 26.8715, 25.4954)
Luminance0.2687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5A86 #5AECC0
analogous
#EC5ACF #EC5A86 #EC775A
triadic
#EC5A86 #86EC5A #5A86EC
tetradic
#EC5A86 #CFEC5A #5AECC0 #775AEC
square
#EC5A86 #CFEC5A #5AECC0 #775AEC
split-complementary
#EC5A86 #5AEC77 #5ACFEC
monochromatic
#B71546 #E6235E #EC5A86 #F291AE #F9C8D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5A86#FFFFFF#000000##000000
##EC5A861.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)
#787C87
Deuteranopia (green-blind)
#9E9883
Tritanopia (blue-blind)
#FF486B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5a86;
/* rgb */ color: rgb(236, 90, 134);
/* oklch */ color: oklch(66.9% 0.183 4.9);
Tailwind
colors: {
  custom: {
    50: '#f790a9',
    500: '#ec5a86',
    950: '#000000',
  },
}
SCSS
$custom: #ec5a86;
$custom-light: #f790a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5a86",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 134
  },
  "hsl": {
    "h": 341.918,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66893,
    "c": 0.18318,
    "h": 4.9
  },
  "luminance": 0.26866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5A86

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

Preview Lab → · Contrast checker → · Palette generator →

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