#EC5F52#EC5F52

#EC5F52 is a light, vivid red. Relative luminance 0.266; OKLCH L 66.4% C 0.177 H 28.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#EC5F52
RGBrgb(236, 95, 82)
HSLhsl(5, 80%, 62%)
HSVhsv(5, 65%, 93%)
CMYKcmyk(0%, 59.7%, 65.3%, 7.5%)
CIE-LABlab(58.63, 53.66, 35.52)
CIE-LCHlch(58.63, 64.35, 33.50°)
OKLaboklab(66.39% 0.1562 0.0833)
OKLCHoklch(66.39% 0.177 28.1)
XYZxyz(40.2112, 26.6318, 11.0040)
Luminance0.2663 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5F52 #52DFEC
analogous
#EC5292 #EC5F52 #ECAC52
triadic
#EC5F52 #52EC5F #5F52EC
tetradic
#EC5F52 #92EC52 #52DFEC #AC52EC
square
#EC5F52 #92EC52 #52DFEC #AC52EC
split-complementary
#EC5F52 #52ECAC #5292EC
monochromatic
#B02113 #E62C1B #EC5F52 #F29289 #F8C5C0

Accessibility & contrast

On white

3.32
#EC5F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#EC5F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5F52
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5F52#FFFFFF#000000##000000
##EC5F521.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847A50
Deuteranopia (green-blind)
#A7984E
Tritanopia (blue-blind)
#FF415D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ec5f52;
/* rgb */ color: rgb(236, 95, 82);
/* oklch */ color: oklch(66.4% 0.177 28.1);
Tailwind
colors: {
  custom: {
    50: '#f99283',
    500: '#ec5f52',
    950: '#000000',
  },
}
SCSS
$custom: #ec5f52;
$custom-light: #f99283;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5f52",
  "rgb": {
    "r": 236,
    "g": 95,
    "b": 82
  },
  "hsl": {
    "h": 5.065,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66389,
    "c": 0.17707,
    "h": 28.1
  },
  "luminance": 0.26626
}

Semantic roles & 50–950 ramp

primary
#EC5F52
secondary
#B1E4E9
accent
#CBDD09
background
#FFF9F8
surface
#FFF2EF
border
#D7CCCA
text
#190D0A
muted
#877E7C

Preview Lab

Preview with #EC5F52

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

Preview Lab → · Contrast checker → · Palette generator →

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