#EC5197#EC5197

#EC5197 is a light, highly saturated pink. Relative luminance 0.260; OKLCH L 66.4% C 0.200 H 356.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#EC5197
RGBrgb(236, 81, 151)
HSLhsl(333, 80%, 62%)
HSVhsv(333, 66%, 93%)
CMYKcmyk(0%, 65.7%, 36%, 7.5%)
CIE-LABlab(58.00, 65.25, -5.41)
CIE-LCHlch(58.00, 65.48, 355.26°)
OKLaboklab(66.41% 0.1996 -0.0134)
OKLCHoklch(66.41% 0.2 356.2)
XYZxyz(43.1230, 25.9570, 32.0114)
Luminance0.2595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5197 #51ECA6
analogous
#EC51E5 #EC5197 #EC5851
triadic
#EC5197 #97EC51 #5197EC
tetradic
#EC5197 #E5EC51 #51ECA6 #5851EC
square
#EC5197 #E5EC51 #51ECA6 #5851EC
split-complementary
#EC5197 #51EC58 #51E5EC
monochromatic
#AF135A #E61A76 #EC5197 #F288B8 #F8BFD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5197#FFFFFF#000000##000000
##EC51971.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)
#6C7999
Deuteranopia (green-blind)
#979693
Tritanopia (blue-blind)
#FE436E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec5197;
/* rgb */ color: rgb(236, 81, 151);
/* oklch */ color: oklch(66.4% 0.200 356.2);
Tailwind
colors: {
  custom: {
    50: '#f78bb5',
    500: '#ec5197',
    950: '#000000',
  },
}
SCSS
$custom: #ec5197;
$custom-light: #f78bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5197",
  "rgb": {
    "r": 236,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 332.903,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66414,
    "c": 0.20008,
    "h": 356.2
  },
  "luminance": 0.25952
}

Semantic roles & 50–950 ramp

primary
#EC5197
secondary
#B0E9CF
accent
#DD7D09
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5197

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

Preview Lab → · Contrast checker → · Palette generator →

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