#EC504F#EC504F

#EC504F is a light, vivid red. Relative luminance 0.241; OKLCH L 64.6% C 0.193 H 24.6°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#EC504F
RGBrgb(236, 80, 79)
HSLhsl(0, 81%, 62%)
HSVhsv(0, 67%, 93%)
CMYKcmyk(0%, 66.1%, 66.5%, 7.5%)
CIE-LABlab(56.23, 59.82, 34.27)
CIE-LCHlch(56.23, 68.95, 29.81°)
OKLaboklab(64.57% 0.1751 0.0802)
OKLCHoklch(64.57% 0.193 24.6)
XYZxyz(38.8761, 24.1402, 10.0081)
Luminance0.2414 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC504F #4FEBEC
analogous
#EC4F9D #EC504F #EC9F4F
triadic
#EC504F #4FEC50 #504FEC
tetradic
#EC504F #9DEC4F #4FEBEC #9F4FEC
square
#EC504F #9DEC4F #4FEBEC #9F4FEC
split-complementary
#EC504F #4FEC9F #4F9DEC
monochromatic
#AE1413 #E51A19 #EC504F #F28786 #F8BEBD

Accessibility & contrast

On white

3.60
#EC504F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#EC504F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC504F
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC504F#FFFFFF#000000##000000
##EC504F1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A724D
Deuteranopia (green-blind)
#A2934A
Tritanopia (blue-blind)
#FF2751
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ec504f;
/* rgb */ color: rgb(236, 80, 79);
/* oklch */ color: oklch(64.6% 0.193 24.6);
Tailwind
colors: {
  custom: {
    50: '#fa8980',
    500: '#ec504f',
    950: '#000000',
  },
}
SCSS
$custom: #ec504f;
$custom-light: #fa8980;
$custom-dark: #000000;
JSON
{
  "hex": "#ec504f",
  "rgb": {
    "r": 236,
    "g": 80,
    "b": 79
  },
  "hsl": {
    "h": 0.382,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64569,
    "c": 0.19254,
    "h": 24.6
  },
  "luminance": 0.24135
}

Semantic roles & 50–950 ramp

primary
#EC504F
secondary
#AEE8E8
accent
#DBDD09
background
#FFF8F7
surface
#FFF0EE
border
#D7CBC9
text
#190C0A
muted
#867D7C

Preview Lab

Preview with #EC504F

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

Preview Lab → · Contrast checker → · Palette generator →

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