#EC58A2#EC58A2

#EC58A2 is a light, vivid pink. Relative luminance 0.274; OKLCH L 67.5% C 0.196 H 352.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#EC58A2
RGBrgb(236, 88, 162)
HSLhsl(330, 80%, 64%)
HSVhsv(330, 63%, 93%)
CMYKcmyk(0%, 62.7%, 31.4%, 7.5%)
CIE-LABlab(59.37, 63.70, -9.77)
CIE-LCHlch(59.37, 64.45, 351.28°)
OKLaboklab(67.54% 0.1941 -0.0251)
OKLCHoklch(67.54% 0.196 352.6)
XYZxyz(44.6056, 27.4257, 37.1200)
Luminance0.2742 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC58A2 #58ECA2
analogous
#EC58EC #EC58A2 #EC5858
triadic
#EC58A2 #A2EC58 #58A2EC
tetradic
#EC58A2 #ECEC58 #58ECA2 #5858EC
square
#EC58A2 #ECEC58 #58ECA2 #5858EC
split-complementary
#EC58A2 #58EC58 #58ECEC
monochromatic
#B51565 #E62183 #EC58A2 #F28FC1 #F9C6DF

Accessibility & contrast

On white

3.24
#EC58A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#EC58A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC58A2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC58A2#FFFFFF#000000##000000
##EC58A21.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7EA4
Deuteranopia (green-blind)
#97999F
Tritanopia (blue-blind)
#FD4F76
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec58a2;
/* rgb */ color: rgb(236, 88, 162);
/* oklch */ color: oklch(67.5% 0.196 352.6);
Tailwind
colors: {
  custom: {
    50: '#f68fbd',
    500: '#ec58a2',
    950: '#000000',
  },
}
SCSS
$custom: #ec58a2;
$custom-light: #f68fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec58a2",
  "rgb": {
    "r": 236,
    "g": 88,
    "b": 162
  },
  "hsl": {
    "h": 330,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67541,
    "c": 0.19572,
    "h": 352.6
  },
  "luminance": 0.27421
}

Semantic roles & 50–950 ramp

primary
#EC58A2
secondary
#B6EAD0
accent
#DC730A
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D12
muted
#867E81

Preview Lab

Preview with #EC58A2

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

Preview Lab → · Contrast checker → · Palette generator →

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