#EC58A6#EC58A6

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

Color values

HEX#EC58A6
RGBrgb(236, 88, 166)
HSLhsl(328, 80%, 64%)
HSVhsv(328, 63%, 93%)
CMYKcmyk(0%, 62.7%, 29.7%, 7.5%)
CIE-LABlab(59.50, 64.18, -11.89)
CIE-LCHlch(59.50, 65.27, 349.50°)
OKLaboklab(67.68% 0.1952 -0.0308)
OKLCHoklch(67.68% 0.198 351)
XYZxyz(44.9668, 27.5702, 39.0225)
Luminance0.2757 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC58A6 #58EC9E
analogous
#E858EC #EC58A6 #EC585C
triadic
#EC58A6 #A6EC58 #58A6EC
tetradic
#EC58A6 #ECE858 #58EC9E #585CEC
square
#EC58A6 #ECE858 #58EC9E #585CEC
split-complementary
#EC58A6 #5CEC58 #58ECE8
monochromatic
#B51569 #E62189 #EC58A6 #F28FC3 #F9C6E1

Accessibility & contrast

On white

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

On black

6.51
#EC58A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC58A6
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC58A6#FFFFFF#000000##000000
##EC58A61.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec58a6;
/* rgb */ color: rgb(236, 88, 166);
/* oklch */ color: oklch(67.7% 0.198 351.0);
Tailwind
colors: {
  custom: {
    50: '#f68fc0',
    500: '#ec58a6',
    950: '#000000',
  },
}
SCSS
$custom: #ec58a6;
$custom-light: #f68fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec58a6",
  "rgb": {
    "r": 236,
    "g": 88,
    "b": 166
  },
  "hsl": {
    "h": 328.378,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67682,
    "c": 0.19763,
    "h": 351
  },
  "luminance": 0.27565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC58A6

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

Preview Lab → · Contrast checker → · Palette generator →

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