#EC5278#EC5278

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

Color values

HEX#EC5278
RGBrgb(236, 82, 120)
HSLhsl(345, 80%, 62%)
HSVhsv(345, 65%, 93%)
CMYKcmyk(0%, 65.3%, 49.2%, 7.5%)
CIE-LABlab(57.30, 61.86, 11.79)
CIE-LCHlch(57.30, 62.98, 10.79°)
OKLaboklab(65.62% 0.1879 0.0304)
OKLCHoklch(65.62% 0.19 9.2)
XYZxyz(41.0029, 25.2288, 20.4761)
Luminance0.2522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5278 #52ECC6
analogous
#EC52C5 #EC5278 #EC7952
triadic
#EC5278 #78EC52 #5278EC
tetradic
#EC5278 #C5EC52 #52ECC6 #7952EC
square
#EC5278 #C5EC52 #52ECC6 #7952EC
split-complementary
#EC5278 #52EC79 #52C5EC
monochromatic
#B0133A #E61B4D #EC5278 #F289A3 #F8C0CE

Accessibility & contrast

On white

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

On black

6.04
#EC5278 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5278
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5278#FFFFFF#000000##000000
##EC52781.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#757679
Deuteranopia (green-blind)
#9D9574
Tritanopia (blue-blind)
#FF3961
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec5278;
/* rgb */ color: rgb(236, 82, 120);
/* oklch */ color: oklch(65.6% 0.190 9.2);
Tailwind
colors: {
  custom: {
    50: '#f88b9e',
    500: '#ec5278',
    950: '#000000',
  },
}
SCSS
$custom: #ec5278;
$custom-light: #f88b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5278",
  "rgb": {
    "r": 236,
    "g": 82,
    "b": 120
  },
  "hsl": {
    "h": 345.195,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6562,
    "c": 0.19034,
    "h": 9.2
  },
  "luminance": 0.25224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5278

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

Preview Lab → · Contrast checker → · Palette generator →

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