#EC5A94#EC5A94

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

Color values

HEX#EC5A94
RGBrgb(236, 90, 148)
HSLhsl(336, 79%, 64%)
HSVhsv(336, 62%, 93%)
CMYKcmyk(0%, 61.9%, 37.3%, 7.5%)
CIE-LABlab(59.24, 61.29, -1.82)
CIE-LCHlch(59.24, 61.32, 358.30°)
OKLaboklab(67.31% 0.1873 -0.004)
OKLCHoklch(67.31% 0.187 358.8)
XYZxyz(43.5962, 27.2882, 30.9825)
Luminance0.2728 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5A94 #5AECB2
analogous
#EC5ADD #EC5A94 #EC695A
triadic
#EC5A94 #94EC5A #5A94EC
tetradic
#EC5A94 #DDEC5A #5AECB2 #695AEC
square
#EC5A94 #DDEC5A #5AECB2 #695AEC
split-complementary
#EC5A94 #5AEC69 #5ADDEC
monochromatic
#B71555 #E62370 #EC5A94 #F291B8 #F9C8DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5A94#FFFFFF#000000##000000
##EC5A941.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)
#747D96
Deuteranopia (green-blind)
#9B9991
Tritanopia (blue-blind)
#FE4C71
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5a94;
/* rgb */ color: rgb(236, 90, 148);
/* oklch */ color: oklch(67.3% 0.187 358.8);
Tailwind
colors: {
  custom: {
    50: '#f790b3',
    500: '#ec5a94',
    950: '#000000',
  },
}
SCSS
$custom: #ec5a94;
$custom-light: #f790b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5a94",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 148
  },
  "hsl": {
    "h": 336.164,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67306,
    "c": 0.18729,
    "h": 358.8
  },
  "luminance": 0.27283
}

Semantic roles & 50–950 ramp

primary
#EC5A94
secondary
#B7EBD6
accent
#DC880A
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5A94

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

Preview Lab → · Contrast checker → · Palette generator →

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