#EC548B#EC548B

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

Color values

HEX#EC548B
RGBrgb(236, 84, 139)
HSLhsl(338, 80%, 63%)
HSVhsv(338, 64%, 93%)
CMYKcmyk(0%, 64.4%, 41.1%, 7.5%)
CIE-LABlab(58.08, 62.82, 1.74)
CIE-LCHlch(58.08, 62.84, 1.59°)
OKLaboklab(66.36% 0.1921 0.0052)
OKLCHoklch(66.36% 0.192 1.6)
XYZxyz(42.4255, 26.0426, 27.2137)
Luminance0.2604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC548B #54ECB5
analogous
#EC54D7 #EC548B #EC6954
triadic
#EC548B #8BEC54 #548BEC
tetradic
#EC548B #D7EC54 #54ECB5 #6954EC
square
#EC548B #D7EC54 #54ECB5 #6954EC
split-complementary
#EC548B #54EC69 #54D7EC
monochromatic
#B2144D #E61D66 #EC548B #F28BB0 #F8C2D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC548B#FFFFFF#000000##000000
##EC548B1.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)
#72798C
Deuteranopia (green-blind)
#9B9687
Tritanopia (blue-blind)
#FF426A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ec548b;
/* rgb */ color: rgb(236, 84, 139);
/* oklch */ color: oklch(66.4% 0.192 1.6);
Tailwind
colors: {
  custom: {
    50: '#f78cac',
    500: '#ec548b',
    950: '#000000',
  },
}
SCSS
$custom: #ec548b;
$custom-light: #f78cac;
$custom-dark: #000000;
JSON
{
  "hex": "#ec548b",
  "rgb": {
    "r": 236,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 338.289,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66359,
    "c": 0.19213,
    "h": 1.6
  },
  "luminance": 0.26038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC548B

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

Preview Lab → · Contrast checker → · Palette generator →

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