#EC54D2#EC54D2

#EC54D2 is a light, highly saturated pink. Relative luminance 0.288; OKLCH L 69.1% C 0.230 H 335.3°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#EC54D2
RGBrgb(236, 84, 210)
HSLhsl(310, 80%, 63%)
HSVhsv(310, 64%, 93%)
CMYKcmyk(0%, 64.4%, 11%, 7.5%)
CIE-LABlab(60.63, 71.68, -35.34)
CIE-LCHlch(60.63, 79.92, 333.75°)
OKLaboklab(69.07% 0.2088 -0.0963)
OKLCHoklch(69.07% 0.23 335.3)
XYZxyz(49.3957, 28.8307, 63.9236)
Luminance0.2883 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC54D2 #54EC6E
analogous
#BA54EC #EC54D2 #EC5486
triadic
#EC54D2 #D2EC54 #54D2EC
tetradic
#EC54D2 #ECBA54 #54EC6E #5486EC
square
#EC54D2 #ECBA54 #54EC6E #5486EC
split-complementary
#EC54D2 #86EC54 #54ECBA
monochromatic
#B21497 #E61DC4 #EC54D2 #F28BE0 #F8C2EF

Accessibility & contrast

On white

3.10
#EC54D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#EC54D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC54D2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC54D2#FFFFFF#000000##000000
##EC54D21.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5484D6
Deuteranopia (green-blind)
#869ACE
Tritanopia (blue-blind)
#F75E8C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ec54d2;
/* rgb */ color: rgb(236, 84, 210);
/* oklch */ color: oklch(69.1% 0.230 335.3);
Tailwind
colors: {
  custom: {
    50: '#f68ee0',
    500: '#ec54d2',
    950: '#000000',
  },
}
SCSS
$custom: #ec54d2;
$custom-light: #f68ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec54d2",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 310.263,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.69072,
    "c": 0.22996,
    "h": 335.3
  },
  "luminance": 0.28827
}

Semantic roles & 50–950 ramp

primary
#EC54D2
secondary
#B2E9BC
accent
#DC2D09
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #EC54D2

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

Preview Lab → · Contrast checker → · Palette generator →

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