#EC54C7#EC54C7

#EC54C7 is a light, highly saturated pink. Relative luminance 0.283; OKLCH L 68.6% C 0.222 H 338.7°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#EC54C7
RGBrgb(236, 84, 199)
HSLhsl(315, 80%, 63%)
HSVhsv(315, 64%, 93%)
CMYKcmyk(0%, 64.4%, 15.7%, 7.5%)
CIE-LABlab(60.16, 70.10, -29.83)
CIE-LCHlch(60.16, 76.18, 336.94°)
OKLaboklab(68.57% 0.2073 -0.0806)
OKLCHoklch(68.57% 0.222 338.7)
XYZxyz(48.0721, 28.3013, 56.9527)
Luminance0.2830 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC54C7 #54EC79
analogous
#C554EC #EC54C7 #EC547B
triadic
#EC54C7 #C7EC54 #54C7EC
tetradic
#EC54C7 #ECC554 #54EC79 #547BEC
square
#EC54C7 #ECC554 #54EC79 #547BEC
split-complementary
#EC54C7 #7BEC54 #54ECC5
monochromatic
#B2148B #E61DB5 #EC54C7 #F28BD9 #F8C2EB

Accessibility & contrast

On white

3.15
#EC54C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#EC54C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC54C7
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC54C7#FFFFFF#000000##000000
##EC54C71.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B82CA
Deuteranopia (green-blind)
#8A9AC3
Tritanopia (blue-blind)
#F95986
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec54c7;
/* rgb */ color: rgb(236, 84, 199);
/* oklch */ color: oklch(68.6% 0.222 338.7);
Tailwind
colors: {
  custom: {
    50: '#f68ed8',
    500: '#ec54c7',
    950: '#000000',
  },
}
SCSS
$custom: #ec54c7;
$custom-light: #f68ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec54c7",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 199
  },
  "hsl": {
    "h": 314.605,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.68574,
    "c": 0.22238,
    "h": 338.7
  },
  "luminance": 0.28297
}

Semantic roles & 50–950 ramp

primary
#EC54C7
secondary
#B2E9C0
accent
#DC3D09
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #EC54C7

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

Preview Lab → · Contrast checker → · Palette generator →

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