#EC5279#EC5279

#EC5279 is a light, vivid pink. Relative luminance 0.252; OKLCH L 65.6% C 0.190 H 8.8°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#EC5279
RGBrgb(236, 82, 121)
HSLhsl(345, 80%, 62%)
HSVhsv(345, 65%, 93%)
CMYKcmyk(0%, 65.3%, 48.7%, 7.5%)
CIE-LABlab(57.32, 61.95, 11.24)
CIE-LCHlch(57.32, 62.96, 10.28°)
OKLaboklab(65.65% 0.1883 0.029)
OKLCHoklch(65.65% 0.19 8.8)
XYZxyz(41.0639, 25.2532, 20.7974)
Luminance0.2525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5279 #52ECC5
analogous
#EC52C6 #EC5279 #EC7852
triadic
#EC5279 #79EC52 #5279EC
tetradic
#EC5279 #C6EC52 #52ECC5 #7852EC
square
#EC5279 #C6EC52 #52ECC5 #7852EC
split-complementary
#EC5279 #52EC78 #52C6EC
monochromatic
#B0133B #E61B4E #EC5279 #F289A4 #F8C0CE

Accessibility & contrast

On white

3.47
#EC5279 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#EC5279 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5279
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5279#FFFFFF#000000##000000
##EC52791.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#75767A
Deuteranopia (green-blind)
#9D9575
Tritanopia (blue-blind)
#FF3961
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec5279;
/* rgb */ color: rgb(236, 82, 121);
/* oklch */ color: oklch(65.6% 0.190 8.8);
Tailwind
colors: {
  custom: {
    50: '#f88b9f',
    500: '#ec5279',
    950: '#000000',
  },
}
SCSS
$custom: #ec5279;
$custom-light: #f88b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5279",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 121
  },
  "hsl": {
    "h": 344.805,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65645,
    "c": 0.19049,
    "h": 8.8
  },
  "luminance": 0.25248
}

Semantic roles & 50–950 ramp

primary
#EC5279
secondary
#B1E9DB
accent
#DDA709
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180D0E
muted
#867D7E

Preview Lab

Preview with #EC5279

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

Preview Lab → · Contrast checker → · Palette generator →

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