#EC548E#EC548E

#EC548E is a light, vivid pink. Relative luminance 0.261; OKLCH L 66.4% C 0.193 H 0.3°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#EC548E
RGBrgb(236, 84, 142)
HSLhsl(337, 80%, 63%)
HSVhsv(337, 64%, 93%)
CMYKcmyk(0%, 64.4%, 39.8%, 7.5%)
CIE-LABlab(58.16, 63.12, 0.10)
CIE-LCHlch(58.16, 63.12, 0.09°)
OKLaboklab(66.45% 0.1931 0.001)
OKLCHoklch(66.45% 0.193 0.3)
XYZxyz(42.6477, 26.1315, 28.3839)
Luminance0.2613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC548E #54ECB2
analogous
#EC54DA #EC548E #EC6654
triadic
#EC548E #8EEC54 #548EEC
tetradic
#EC548E #DAEC54 #54ECB2 #6654EC
square
#EC548E #DAEC54 #54ECB2 #6654EC
split-complementary
#EC548E #54EC66 #54DAEC
monochromatic
#B21450 #E61D6A #EC548E #F28BB2 #F8C2D7

Accessibility & contrast

On white

3.37
#EC548E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#EC548E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC548E
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC548E#FFFFFF#000000##000000
##EC548E1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#717990
Deuteranopia (green-blind)
#9A978A
Tritanopia (blue-blind)
#FF436B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec548e;
/* rgb */ color: rgb(236, 84, 142);
/* oklch */ color: oklch(66.4% 0.193 0.3);
Tailwind
colors: {
  custom: {
    50: '#f78dae',
    500: '#ec548e',
    950: '#000000',
  },
}
SCSS
$custom: #ec548e;
$custom-light: #f78dae;
$custom-dark: #000000;
JSON
{
  "hex": "#ec548e",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 337.105,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66449,
    "c": 0.19306,
    "h": 0.3
  },
  "luminance": 0.26127
}

Semantic roles & 50–950 ramp

primary
#EC548E
secondary
#B2E9D4
accent
#DC8C09
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC548E

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

Preview Lab → · Contrast checker → · Palette generator →

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