#EC5897#EC5897

#EC5897 is a light, vivid pink. Relative luminance 0.270; OKLCH L 67.2% C 0.191 H 357.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#EC5897
RGBrgb(236, 88, 151)
HSLhsl(334, 80%, 64%)
HSVhsv(334, 63%, 93%)
CMYKcmyk(0%, 62.7%, 36%, 7.5%)
CIE-LABlab(59.02, 62.45, -3.89)
CIE-LCHlch(59.02, 62.57, 356.43°)
OKLaboklab(67.17% 0.1908 -0.0094)
OKLCHoklch(67.17% 0.191 357.2)
XYZxyz(43.6703, 27.0516, 32.1938)
Luminance0.2705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5897 #58ECAD
analogous
#EC58E1 #EC5897 #EC6358
triadic
#EC5897 #97EC58 #5897EC
tetradic
#EC5897 #E1EC58 #58ECAD #6358EC
square
#EC5897 #E1EC58 #58ECAD #6358EC
split-complementary
#EC5897 #58EC63 #58E1EC
monochromatic
#B51559 #E62175 #EC5897 #F28FB9 #F9C6DB

Accessibility & contrast

On white

3.28
#EC5897 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#EC5897 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5897
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5897#FFFFFF#000000##000000
##EC58971.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#727D99
Deuteranopia (green-blind)
#9A9894
Tritanopia (blue-blind)
#FE4B71
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5897;
/* rgb */ color: rgb(236, 88, 151);
/* oklch */ color: oklch(67.2% 0.191 357.2);
Tailwind
colors: {
  custom: {
    50: '#f78fb5',
    500: '#ec5897',
    950: '#000000',
  },
}
SCSS
$custom: #ec5897;
$custom-light: #f78fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5897",
  "rgb": {
    "r": 236,
    "g": 88,
    "b": 151
  },
  "hsl": {
    "h": 334.459,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67173,
    "c": 0.19105,
    "h": 357.2
  },
  "luminance": 0.27047
}

Semantic roles & 50–950 ramp

primary
#EC5897
secondary
#B6EAD4
accent
#DC820A
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5897

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

Preview Lab → · Contrast checker → · Palette generator →

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