#EC5398#EC5398

#EC5398 is a light, vivid pink. Relative luminance 0.263; OKLCH L 66.7% C 0.198 H 356.0°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#EC5398
RGBrgb(236, 83, 152)
HSLhsl(333, 80%, 63%)
HSVhsv(333, 65%, 93%)
CMYKcmyk(0%, 64.8%, 35.6%, 7.5%)
CIE-LABlab(58.31, 64.58, -5.52)
CIE-LCHlch(58.31, 64.81, 355.11°)
OKLaboklab(66.66% 0.1975 -0.0137)
OKLCHoklch(66.66% 0.198 356)
XYZxyz(43.3554, 26.2913, 32.4912)
Luminance0.2629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5398 #53ECA7
analogous
#EC53E5 #EC5398 #EC5A53
triadic
#EC5398 #98EC53 #5398EC
tetradic
#EC5398 #E5EC53 #53ECA7 #5A53EC
square
#EC5398 #E5EC53 #53ECA7 #5A53EC
split-complementary
#EC5398 #53EC5A #53E5EC
monochromatic
#B1145B #E61C77 #EC5398 #F28AB9 #F8C1DA

Accessibility & contrast

On white

3.36
#EC5398 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#EC5398 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5398
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5398#FFFFFF#000000##000000
##EC53981.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7A9A
Deuteranopia (green-blind)
#979794
Tritanopia (blue-blind)
#FE466F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec5398;
/* rgb */ color: rgb(236, 83, 152);
/* oklch */ color: oklch(66.7% 0.198 356.0);
Tailwind
colors: {
  custom: {
    50: '#f78cb6',
    500: '#ec5398',
    950: '#000000',
  },
}
SCSS
$custom: #ec5398;
$custom-light: #f78cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5398",
  "rgb": {
    "r": 236,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 332.941,
    "s": 80.105,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66658,
    "c": 0.19795,
    "h": 356
  },
  "luminance": 0.26286
}

Semantic roles & 50–950 ramp

primary
#EC5398
secondary
#B2E9D0
accent
#DC7D09
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5398

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

Preview Lab → · Contrast checker → · Palette generator →

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