#EC548C#EC548C

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

Color values

HEX#EC548C
RGBrgb(236, 84, 140)
HSLhsl(338, 80%, 63%)
HSVhsv(338, 64%, 93%)
CMYKcmyk(0%, 64.4%, 40.7%, 7.5%)
CIE-LABlab(58.11, 62.92, 1.19)
CIE-LCHlch(58.11, 62.93, 1.09°)
OKLaboklab(66.39% 0.1924 0.0038)
OKLCHoklch(66.39% 0.192 1.1)
XYZxyz(42.4989, 26.0720, 27.6002)
Luminance0.2607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC548C #54ECB4
analogous
#EC54D8 #EC548C #EC6854
triadic
#EC548C #8CEC54 #548CEC
tetradic
#EC548C #D8EC54 #54ECB4 #6854EC
square
#EC548C #D8EC54 #54ECB4 #6854EC
split-complementary
#EC548C #54EC68 #54D8EC
monochromatic
#B2144E #E61D67 #EC548C #F28BB1 #F8C2D6

Accessibility & contrast

On white

3.38
#EC548C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#EC548C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC548C
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC548C#FFFFFF#000000##000000
##EC548C1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#72798D
Deuteranopia (green-blind)
#9A9688
Tritanopia (blue-blind)
#FF436A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec548c;
/* rgb */ color: rgb(236, 84, 140);
/* oklch */ color: oklch(66.4% 0.192 1.1);
Tailwind
colors: {
  custom: {
    50: '#f78cad',
    500: '#ec548c',
    950: '#000000',
  },
}
SCSS
$custom: #ec548c;
$custom-light: #f78cad;
$custom-dark: #000000;
JSON
{
  "hex": "#ec548c",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 337.895,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66388,
    "c": 0.19243,
    "h": 1.1
  },
  "luminance": 0.26067
}

Semantic roles & 50–950 ramp

primary
#EC548C
secondary
#B2E9D5
accent
#DC8F09
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC548C

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

Preview Lab → · Contrast checker → · Palette generator →

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