#EC5A95#EC5A95

#EC5A95 is a light, vivid pink. Relative luminance 0.273; OKLCH L 67.3% C 0.188 H 358.3°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#EC5A95
RGBrgb(236, 90, 149)
HSLhsl(336, 79%, 64%)
HSVhsv(336, 62%, 93%)
CMYKcmyk(0%, 61.9%, 36.9%, 7.5%)
CIE-LABlab(59.27, 61.40, -2.36)
CIE-LCHlch(59.27, 61.45, 357.80°)
OKLaboklab(67.34% 0.1876 -0.0054)
OKLCHoklch(67.34% 0.188 358.3)
XYZxyz(43.6757, 27.3200, 31.4012)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5A95 #5AECB1
analogous
#EC5ADE #EC5A95 #EC685A
triadic
#EC5A95 #95EC5A #5A95EC
tetradic
#EC5A95 #DEEC5A #5AECB1 #685AEC
square
#EC5A95 #DEEC5A #5AECB1 #685AEC
split-complementary
#EC5A95 #5AEC68 #5ADEEC
monochromatic
#B71556 #E62372 #EC5A95 #F291B8 #F9C8DC

Accessibility & contrast

On white

3.25
#EC5A95 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#EC5A95 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5A95
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5A95#FFFFFF#000000##000000
##EC5A951.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#747D97
Deuteranopia (green-blind)
#9B9992
Tritanopia (blue-blind)
#FE4D71
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5a95;
/* rgb */ color: rgb(236, 90, 149);
/* oklch */ color: oklch(67.3% 0.188 358.3);
Tailwind
colors: {
  custom: {
    50: '#f790b4',
    500: '#ec5a95',
    950: '#000000',
  },
}
SCSS
$custom: #ec5a95;
$custom-light: #f790b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5a95",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 149
  },
  "hsl": {
    "h": 335.753,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67337,
    "c": 0.18765,
    "h": 358.3
  },
  "luminance": 0.27315
}

Semantic roles & 50–950 ramp

primary
#EC5A95
secondary
#B7EBD6
accent
#DC870A
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5A95

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

Preview Lab → · Contrast checker → · Palette generator →

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