#EC5952#EC5952

#EC5952 is a light, vivid red. Relative luminance 0.256; OKLCH L 65.6% C 0.183 H 26.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#EC5952
RGBrgb(236, 89, 82)
HSLhsl(3, 80%, 62%)
HSVhsv(3, 65%, 93%)
CMYKcmyk(0%, 62.3%, 65.3%, 7.5%)
CIE-LABlab(57.65, 56.28, 34.31)
CIE-LCHlch(57.65, 65.91, 31.37°)
OKLaboklab(65.65% 0.1644 0.0807)
OKLCHoklch(65.65% 0.183 26.1)
XYZxyz(39.6914, 25.5922, 10.8307)
Luminance0.2559 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5952 #52E5EC
analogous
#EC5298 #EC5952 #ECA652
triadic
#EC5952 #52EC59 #5952EC
tetradic
#EC5952 #98EC52 #52E5EC #A652EC
square
#EC5952 #98EC52 #52E5EC #A652EC
split-complementary
#EC5952 #52ECA6 #5298EC
monochromatic
#B01A13 #E6241B #EC5952 #F28E89 #F8C3C0

Accessibility & contrast

On white

3.43
#EC5952 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#EC5952 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5952
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5952#FFFFFF#000000##000000
##EC59521.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#807750
Deuteranopia (green-blind)
#A5964E
Tritanopia (blue-blind)
#FF3858
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec5952;
/* rgb */ color: rgb(236, 89, 82);
/* oklch */ color: oklch(65.6% 0.183 26.1);
Tailwind
colors: {
  custom: {
    50: '#fa8e83',
    500: '#ec5952',
    950: '#000000',
  },
}
SCSS
$custom: #ec5952;
$custom-light: #fa8e83;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5952",
  "rgb": {
    "r": 236,
    "g": 89,
    "b": 82
  },
  "hsl": {
    "h": 2.727,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65648,
    "c": 0.18316,
    "h": 26.1
  },
  "luminance": 0.25587
}

Semantic roles & 50–950 ramp

primary
#EC5952
secondary
#B1E6E9
accent
#D3DD09
background
#FFF9F8
surface
#FFF1EF
border
#D7CBCA
text
#190D0A
muted
#877E7C

Preview Lab

Preview with #EC5952

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

Preview Lab → · Contrast checker → · Palette generator →

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