#EC5293#EC5293

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

Color values

HEX#EC5293
RGBrgb(236, 82, 147)
HSLhsl(335, 80%, 62%)
HSVhsv(335, 65%, 93%)
CMYKcmyk(0%, 65.3%, 37.7%, 7.5%)
CIE-LABlab(58.02, 64.44, -3.04)
CIE-LCHlch(58.02, 64.51, 357.30°)
OKLaboklab(66.39% 0.1972 -0.0072)
OKLCHoklch(66.39% 0.197 357.9)
XYZxyz(42.8785, 25.9790, 30.3545)
Luminance0.2597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5293 #52ECAB
analogous
#EC52E0 #EC5293 #EC5E52
triadic
#EC5293 #93EC52 #5293EC
tetradic
#EC5293 #E0EC52 #52ECAB #5E52EC
square
#EC5293 #E0EC52 #52ECAB #5E52EC
split-complementary
#EC5293 #52EC5E #52E0EC
monochromatic
#B01356 #E61B71 #EC5293 #F289B5 #F8C0D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5293#FFFFFF#000000##000000
##EC52931.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)
#6E7995
Deuteranopia (green-blind)
#98968F
Tritanopia (blue-blind)
#FE436C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec5293;
/* rgb */ color: rgb(236, 82, 147);
/* oklch */ color: oklch(66.4% 0.197 357.9);
Tailwind
colors: {
  custom: {
    50: '#f78cb2',
    500: '#ec5293',
    950: '#000000',
  },
}
SCSS
$custom: #ec5293;
$custom-light: #f78cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5293",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 147
  },
  "hsl": {
    "h": 334.675,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66389,
    "c": 0.1973,
    "h": 357.9
  },
  "luminance": 0.25974
}

Semantic roles & 50–950 ramp

primary
#EC5293
secondary
#B1E9D1
accent
#DD8309
background
#FFF9FA
surface
#FFF1F5
border
#D7CBCF
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5293

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

Preview Lab → · Contrast checker → · Palette generator →

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