#EC7252#EC7252

#EC7252 is a light, vivid red. Relative luminance 0.305; OKLCH L 69.0% C 0.158 H 35.7°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#EC7252
RGBrgb(236, 114, 82)
HSLhsl(12, 80%, 62%)
HSVhsv(12, 65%, 93%)
CMYKcmyk(0%, 51.7%, 65.3%, 7.5%)
CIE-LABlab(62.07, 44.75, 39.66)
CIE-LCHlch(62.07, 59.80, 41.55°)
OKLaboklab(68.99% 0.1285 0.0925)
OKLCHoklch(68.99% 0.158 35.7)
XYZxyz(42.1362, 30.4818, 11.6457)
Luminance0.3048 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC7252 #52CCEC
analogous
#EC527F #EC7252 #ECBF52
triadic
#EC7252 #52EC72 #7252EC
tetradic
#EC7252 #7FEC52 #52CCEC #BF52EC
square
#EC7252 #7FEC52 #52CCEC #BF52EC
split-complementary
#EC7252 #52ECBF #527FEC
monochromatic
#B03413 #E6451B #EC7252 #F29F89 #F8CCC0

Accessibility & contrast

On white

2.96
#EC7252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#EC7252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC7252
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC7252#FFFFFF#000000##000000
##EC72521.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92864F
Deuteranopia (green-blind)
#B0A04F
Tritanopia (blue-blind)
#FF5A6B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ec7252;
/* rgb */ color: rgb(236, 114, 82);
/* oklch */ color: oklch(69.0% 0.158 35.7);
Tailwind
colors: {
  custom: {
    50: '#f99d83',
    500: '#ec7252',
    950: '#000000',
  },
}
SCSS
$custom: #ec7252;
$custom-light: #f99d83;
$custom-dark: #000000;
JSON
{
  "hex": "#ec7252",
  "rgb": {
    "r": 236,
    "g": 114,
    "b": 82
  },
  "hsl": {
    "h": 12.468,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68991,
    "c": 0.15834,
    "h": 35.7
  },
  "luminance": 0.30477
}

Semantic roles & 50–950 ramp

primary
#EC7252
secondary
#B1DDE9
accent
#B1DD09
background
#FFF9F8
surface
#FFF2EF
border
#D7CCCA
text
#190E0B
muted
#877E7C

Preview Lab

Preview with #EC7252

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

Preview Lab → · Contrast checker → · Palette generator →

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