#EC5052#EC5052

#EC5052 is a light, vivid red. Relative luminance 0.242; OKLCH L 64.6% C 0.192 H 23.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#EC5052
RGBrgb(236, 80, 82)
HSLhsl(359, 80%, 62%)
HSVhsv(359, 66%, 93%)
CMYKcmyk(0%, 66.1%, 65.3%, 7.5%)
CIE-LABlab(56.27, 59.99, 32.61)
CIE-LCHlch(56.27, 68.28, 28.53°)
OKLaboklab(64.62% 0.1761 0.0769)
OKLCHoklch(64.62% 0.192 23.6)
XYZxyz(38.9877, 24.1849, 10.5962)
Luminance0.2418 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5052 #50ECEA
analogous
#EC50A0 #EC5052 #EC9C50
triadic
#EC5052 #52EC50 #5052EC
tetradic
#EC5052 #A0EC50 #50ECEA #9C50EC
square
#EC5052 #A0EC50 #50ECEA #9C50EC
split-complementary
#EC5052 #50EC9C #50A0EC
monochromatic
#AF1315 #E6191C #EC5052 #F28789 #F8BEBF

Accessibility & contrast

On white

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

On black

5.84
#EC5052 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5052
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5052#FFFFFF#000000##000000
##EC50521.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7251
Deuteranopia (green-blind)
#A1934E
Tritanopia (blue-blind)
#FF2852
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ec5052;
/* rgb */ color: rgb(236, 80, 82);
/* oklch */ color: oklch(64.6% 0.192 23.6);
Tailwind
colors: {
  custom: {
    50: '#fa8982',
    500: '#ec5052',
    950: '#000000',
  },
}
SCSS
$custom: #ec5052;
$custom-light: #fa8982;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5052",
  "rgb": {
    "r": 236,
    "g": 80,
    "b": 82
  },
  "hsl": {
    "h": 359.231,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64617,
    "c": 0.19219,
    "h": 23.6
  },
  "luminance": 0.24179
}

Semantic roles & 50–950 ramp

primary
#EC5052
secondary
#AFE9E8
accent
#DDDA09
background
#FFF8F8
surface
#FFF0EF
border
#D7CBCA
text
#190C0A
muted
#867D7C

Preview Lab

Preview with #EC5052

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

Preview Lab → · Contrast checker → · Palette generator →

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