#EC7052#EC7052

#EC7052 is a light, vivid red. Relative luminance 0.300; OKLCH L 68.7% C 0.160 H 34.8°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#EC7052
RGBrgb(236, 112, 82)
HSLhsl(12, 80%, 62%)
HSVhsv(12, 65%, 93%)
CMYKcmyk(0%, 52.5%, 65.3%, 7.5%)
CIE-LABlab(61.68, 45.73, 39.21)
CIE-LCHlch(61.68, 60.23, 40.61°)
OKLaboklab(68.7% 0.1315 0.0915)
OKLCHoklch(68.7% 0.16 34.8)
XYZxyz(41.9130, 30.0355, 11.5713)
Luminance0.3003 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7052 #52CEEC
analogous
#EC5281 #EC7052 #ECBD52
triadic
#EC7052 #52EC70 #7052EC
tetradic
#EC7052 #81EC52 #52CEEC #BD52EC
square
#EC7052 #81EC52 #52CEEC #BD52EC
split-complementary
#EC7052 #52ECBD #5281EC
monochromatic
#B03213 #E6421B #EC7052 #F29E89 #F8CBC0

Accessibility & contrast

On white

3.00
#EC7052 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#EC7052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7052
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7052#FFFFFF#000000##000000
##EC70521.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90844F
Deuteranopia (green-blind)
#AF9F4F
Tritanopia (blue-blind)
#FF5869
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ec7052;
/* rgb */ color: rgb(236, 112, 82);
/* oklch */ color: oklch(68.7% 0.160 34.8);
Tailwind
colors: {
  custom: {
    50: '#f99c83',
    500: '#ec7052',
    950: '#000000',
  },
}
SCSS
$custom: #ec7052;
$custom-light: #f99c83;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7052",
  "rgb": {
    "r": 236,
    "g": 112,
    "b": 82
  },
  "hsl": {
    "h": 11.688,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68699,
    "c": 0.16021,
    "h": 34.8
  },
  "luminance": 0.3003
}

Semantic roles & 50–950 ramp

primary
#EC7052
secondary
#B1DEE9
accent
#B3DD09
background
#FFF9F8
surface
#FFF2EF
border
#D7CCCA
text
#190E0B
muted
#877E7C

Preview Lab

Preview with #EC7052

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

Preview Lab → · Contrast checker → · Palette generator →

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