#EC548A#EC548A

#EC548A is a light, vivid pink. Relative luminance 0.260; OKLCH L 66.3% C 0.192 H 2.0°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#EC548A
RGBrgb(236, 84, 138)
HSLhsl(339, 80%, 63%)
HSVhsv(339, 64%, 93%)
CMYKcmyk(0%, 64.4%, 41.5%, 7.5%)
CIE-LABlab(58.05, 62.72, 2.28)
CIE-LCHlch(58.05, 62.76, 2.09°)
OKLaboklab(66.33% 0.1917 0.0066)
OKLCHoklch(66.33% 0.192 2)
XYZxyz(42.3528, 26.0135, 26.8306)
Luminance0.2601 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC548A #54ECB6
analogous
#EC54D6 #EC548A #EC6A54
triadic
#EC548A #8AEC54 #548AEC
tetradic
#EC548A #D6EC54 #54ECB6 #6A54EC
square
#EC548A #D6EC54 #54ECB6 #6A54EC
split-complementary
#EC548A #54EC6A #54D6EC
monochromatic
#B2144C #E61D64 #EC548A #F28BB0 #F8C2D5

Accessibility & contrast

On white

3.39
#EC548A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#EC548A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC548A
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC548A#FFFFFF#000000##000000
##EC548A1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#72798B
Deuteranopia (green-blind)
#9B9686
Tritanopia (blue-blind)
#FF4269
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec548a;
/* rgb */ color: rgb(236, 84, 138);
/* oklch */ color: oklch(66.3% 0.192 2.0);
Tailwind
colors: {
  custom: {
    50: '#f78cac',
    500: '#ec548a',
    950: '#000000',
  },
}
SCSS
$custom: #ec548a;
$custom-light: #f78cac;
$custom-dark: #000000;
JSON
{
  "hex": "#ec548a",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 138
  },
  "hsl": {
    "h": 338.684,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66329,
    "c": 0.19183,
    "h": 2
  },
  "luminance": 0.26008
}

Semantic roles & 50–950 ramp

primary
#EC548A
secondary
#B2E9D6
accent
#DC9109
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC548A

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

Preview Lab → · Contrast checker → · Palette generator →

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