#EC58A7#EC58A7

#EC58A7 is a light, vivid pink. Relative luminance 0.276; OKLCH L 67.7% C 0.198 H 350.6°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#EC58A7
RGBrgb(236, 88, 167)
HSLhsl(328, 80%, 64%)
HSVhsv(328, 63%, 93%)
CMYKcmyk(0%, 62.7%, 29.2%, 7.5%)
CIE-LABlab(59.53, 64.30, -12.42)
CIE-LCHlch(59.53, 65.49, 349.07°)
OKLaboklab(67.72% 0.1955 -0.0323)
OKLCHoklch(67.72% 0.198 350.6)
XYZxyz(45.0589, 27.6070, 39.5074)
Luminance0.2760 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC58A7 #58EC9D
analogous
#E758EC #EC58A7 #EC585D
triadic
#EC58A7 #A7EC58 #58A7EC
tetradic
#EC58A7 #ECE758 #58EC9D #585DEC
square
#EC58A7 #ECE758 #58EC9D #585DEC
split-complementary
#EC58A7 #5DEC58 #58ECE7
monochromatic
#B5156A #E6218A #EC58A7 #F28FC4 #F9C6E1

Accessibility & contrast

On white

3.22
#EC58A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#EC58A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC58A7
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC58A7#FFFFFF#000000##000000
##EC58A71.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7FA9
Deuteranopia (green-blind)
#9699A3
Tritanopia (blue-blind)
#FC5178
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec58a7;
/* rgb */ color: rgb(236, 88, 167);
/* oklch */ color: oklch(67.7% 0.198 350.6);
Tailwind
colors: {
  custom: {
    50: '#f68fc1',
    500: '#ec58a7',
    950: '#000000',
  },
}
SCSS
$custom: #ec58a7;
$custom-light: #f68fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec58a7",
  "rgb": {
    "r": 236,
    "g": 88,
    "b": 167
  },
  "hsl": {
    "h": 327.973,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67718,
    "c": 0.19813,
    "h": 350.6
  },
  "luminance": 0.27602
}

Semantic roles & 50–950 ramp

primary
#EC58A7
secondary
#B6EACE
accent
#DC6C0A
background
#FFF9FB
surface
#FFF1F7
border
#D7CBD0
text
#180D12
muted
#867E81

Preview Lab

Preview with #EC58A7

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

Preview Lab → · Contrast checker → · Palette generator →

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