#EC5AA2#EC5AA2

#EC5AA2 is a light, vivid pink. Relative luminance 0.278; OKLCH L 67.8% C 0.193 H 352.9°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#EC5AA2
RGBrgb(236, 90, 162)
HSLhsl(330, 79%, 64%)
HSVhsv(330, 62%, 93%)
CMYKcmyk(0%, 61.9%, 31.4%, 7.5%)
CIE-LABlab(59.67, 62.88, -9.32)
CIE-LCHlch(59.67, 63.56, 351.57°)
OKLaboklab(67.77% 0.1915 -0.0239)
OKLCHoklch(67.77% 0.193 352.9)
XYZxyz(44.7721, 27.7586, 37.1755)
Luminance0.2775 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AA2 #5AECA4
analogous
#EC5AEB #EC5AA2 #EC5B5A
triadic
#EC5AA2 #A2EC5A #5AA2EC
tetradic
#EC5AA2 #EBEC5A #5AECA4 #5B5AEC
square
#EC5AA2 #EBEC5A #5AECA4 #5B5AEC
split-complementary
#EC5AA2 #5AEC5B #5AEBEC
monochromatic
#B71565 #E62383 #EC5AA2 #F291C1 #F9C8E0

Accessibility & contrast

On white

3.21
#EC5AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#EC5AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5AA2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5AA2#FFFFFF#000000##000000
##EC5AA21.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#707FA4
Deuteranopia (green-blind)
#98999F
Tritanopia (blue-blind)
#FD5177
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec5aa2;
/* rgb */ color: rgb(236, 90, 162);
/* oklch */ color: oklch(67.8% 0.193 352.9);
Tailwind
colors: {
  custom: {
    50: '#f690bd',
    500: '#ec5aa2',
    950: '#000000',
  },
}
SCSS
$custom: #ec5aa2;
$custom-light: #f690bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5aa2",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 330.411,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67766,
    "c": 0.19302,
    "h": 352.9
  },
  "luminance": 0.27754
}

Semantic roles & 50–950 ramp

primary
#EC5AA2
secondary
#B7EBD1
accent
#DC740A
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180D12
muted
#867E81

Preview Lab

Preview with #EC5AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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