#EC5292#EC5292

#EC5292 is a light, vivid pink. Relative luminance 0.259; OKLCH L 66.4% C 0.197 H 358.3°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#EC5292
RGBrgb(236, 82, 146)
HSLhsl(335, 80%, 62%)
HSVhsv(335, 65%, 93%)
CMYKcmyk(0%, 65.3%, 38.1%, 7.5%)
CIE-LABlab(57.99, 64.33, -2.49)
CIE-LCHlch(57.99, 64.38, 357.78°)
OKLaboklab(66.36% 0.1969 -0.0057)
OKLCHoklch(66.36% 0.197 358.3)
XYZxyz(42.8004, 25.9478, 29.9430)
Luminance0.2594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5292 #52ECAC
analogous
#EC52DF #EC5292 #EC5F52
triadic
#EC5292 #92EC52 #5292EC
tetradic
#EC5292 #DFEC52 #52ECAC #5F52EC
square
#EC5292 #DFEC52 #52ECAC #5F52EC
split-complementary
#EC5292 #52EC5F #52DFEC
monochromatic
#B01355 #E61B6F #EC5292 #F289B5 #F8C0D7

Accessibility & contrast

On white

3.39
#EC5292 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#EC5292 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5292
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5292#FFFFFF#000000##000000
##EC52921.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7994
Deuteranopia (green-blind)
#98968E
Tritanopia (blue-blind)
#FE426C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec5292;
/* rgb */ color: rgb(236, 82, 146);
/* oklch */ color: oklch(66.4% 0.197 358.3);
Tailwind
colors: {
  custom: {
    50: '#f78cb1',
    500: '#ec5292',
    950: '#000000',
  },
}
SCSS
$custom: #ec5292;
$custom-light: #f78cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5292",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 146
  },
  "hsl": {
    "h": 335.065,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66358,
    "c": 0.19693,
    "h": 358.3
  },
  "luminance": 0.25943
}

Semantic roles & 50–950 ramp

primary
#EC5292
secondary
#B1E9D2
accent
#DD8509
background
#FFF9FA
surface
#FFF1F5
border
#D7CBCF
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5292

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

Preview Lab → · Contrast checker → · Palette generator →

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