#EC5C92#EC5C92

#EC5C92 is a light, vivid pink. Relative luminance 0.276; OKLCH L 67.5% C 0.184 H 0.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#EC5C92
RGBrgb(236, 92, 146)
HSLhsl(338, 79%, 64%)
HSVhsv(338, 61%, 93%)
CMYKcmyk(0%, 61%, 38.1%, 7.5%)
CIE-LABlab(59.50, 60.23, -0.28)
CIE-LCHlch(59.50, 60.23, 359.73°)
OKLaboklab(67.48% 0.1839 0)
OKLCHoklch(67.48% 0.184 0)
XYZxyz(43.6102, 27.5674, 30.2130)
Luminance0.2756 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5C92 #5CECB6
analogous
#EC5CDA #EC5C92 #EC6E5C
triadic
#EC5C92 #92EC5C #5C92EC
tetradic
#EC5C92 #DAEC5C #5CECB6 #6E5CEC
square
#EC5C92 #DAEC5C #5CECB6 #6E5CEC
split-complementary
#EC5C92 #5CEC6E #5CDAEC
monochromatic
#B81552 #E6256D #EC5C92 #F293B7 #F9CADB

Accessibility & contrast

On white

3.22
#EC5C92 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#EC5C92 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5C92
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5C92#FFFFFF#000000##000000
##EC5C921.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#767E94
Deuteranopia (green-blind)
#9C998F
Tritanopia (blue-blind)
#FE4E71
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5c92;
/* rgb */ color: rgb(236, 92, 146);
/* oklch */ color: oklch(67.5% 0.184 0.0);
Tailwind
colors: {
  custom: {
    50: '#f791b1',
    500: '#ec5c92',
    950: '#000000',
  },
}
SCSS
$custom: #ec5c92;
$custom-light: #f791b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5c92",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 146
  },
  "hsl": {
    "h": 337.5,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67477,
    "c": 0.18394,
    "h": 0
  },
  "luminance": 0.27562
}

Semantic roles & 50–950 ramp

primary
#EC5C92
secondary
#B9EBD8
accent
#DB8D0A
background
#FFF9FA
surface
#FFF2F5
border
#D7CCCF
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5C92

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

Preview Lab → · Contrast checker → · Palette generator →

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