#EC5F92#EC5F92

#EC5F92 is a light, vivid pink. Relative luminance 0.281; OKLCH L 67.8% C 0.180 H 0.6°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#EC5F92
RGBrgb(236, 95, 146)
HSLhsl(338, 79%, 65%)
HSVhsv(338, 60%, 93%)
CMYKcmyk(0%, 59.7%, 38.1%, 7.5%)
CIE-LABlab(59.98, 58.94, 0.42)
CIE-LCHlch(59.98, 58.94, 0.41°)
OKLaboklab(67.84% 0.1799 0.0018)
OKLCHoklch(67.84% 0.18 0.6)
XYZxyz(43.8752, 28.0975, 30.3013)
Luminance0.2809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F92 #5FECB9
analogous
#EC5FD8 #EC5F92 #EC735F
triadic
#EC5F92 #92EC5F #5F92EC
tetradic
#EC5F92 #D8EC5F #5FECB9 #735FEC
square
#EC5F92 #D8EC5F #5FECB9 #735FEC
split-complementary
#EC5F92 #5FEC73 #5FD8EC
monochromatic
#BA1652 #E6286D #EC5F92 #F296B7 #F9CCDD

Accessibility & contrast

On white

3.17
#EC5F92 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#EC5F92 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F92
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F92#FFFFFF#000000##000000
##EC5F921.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#788093
Deuteranopia (green-blind)
#9E9B8F
Tritanopia (blue-blind)
#FE5173
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec5f92;
/* rgb */ color: rgb(236, 95, 146);
/* oklch */ color: oklch(67.8% 0.180 0.6);
Tailwind
colors: {
  custom: {
    50: '#f693b1',
    500: '#ec5f92',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f92;
$custom-light: #f693b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f92",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 146
  },
  "hsl": {
    "h": 338.298,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67835,
    "c": 0.17989,
    "h": 0.6
  },
  "luminance": 0.28093
}

Semantic roles & 50–950 ramp

primary
#EC5F92
secondary
#BBEBDA
accent
#DB900A
background
#FFF9FA
surface
#FFF2F5
border
#D7CCCF
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5F92

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

Preview Lab → · Contrast checker → · Palette generator →

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