#EC512A#EC512A

#EC512A is a light, vivid red. Relative luminance 0.239; OKLCH L 64.3% C 0.198 H 34.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#EC512A
RGBrgb(236, 81, 42)
HSLhsl(12, 84%, 55%)
HSVhsv(12, 82%, 93%)
CMYKcmyk(0%, 65.7%, 82.2%, 7.5%)
CIE-LABlab(55.98, 57.95, 53.44)
CIE-LCHlch(55.98, 78.83, 42.68°)
OKLaboklab(64.25% 0.1623 0.1132)
OKLCHoklch(64.25% 0.198 34.9)
XYZxyz(37.9568, 23.8906, 4.8027)
Luminance0.2389 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC512A #2AC5EC
analogous
#EC2A64 #EC512A #ECB22A
triadic
#EC512A #2AEC51 #512AEC
tetradic
#EC512A #64EC2A #2AC5EC #B22AEC
square
#EC512A #64EC2A #2AC5EC #B22AEC
split-complementary
#EC512A #2AECB2 #2A64EC
monochromatic
#8F270D #C73612 #EC512A #F17F62 #F6AD9A

Accessibility & contrast

On white

3.64
#EC512A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#EC512A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC512A
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC512A#FFFFFF#000000##000000
##EC512A1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7023
Deuteranopia (green-blind)
#A49322
Tritanopia (blue-blind)
#FF204A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ec512a;
/* rgb */ color: rgb(236, 81, 42);
/* oklch */ color: oklch(64.3% 0.198 34.9);
Tailwind
colors: {
  custom: {
    50: '#fc8967',
    500: '#ec512a',
    950: '#000000',
  },
}
SCSS
$custom: #ec512a;
$custom-light: #fc8967;
$custom-dark: #000000;
JSON
{
  "hex": "#ec512a",
  "rgb": {
    "r": 236,
    "g": 81,
    "b": 42
  },
  "hsl": {
    "h": 12.062,
    "s": 83.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.64254,
    "c": 0.19788,
    "h": 34.9
  },
  "luminance": 0.23885
}

Semantic roles & 50–950 ramp

primary
#EC512A
secondary
#90D1E2
accent
#D1FA2E
background
#FFF8F6
surface
#FFF0EB
border
#D7CBC6
text
#1A0C06
muted
#877D7A

Preview Lab

Preview with #EC512A

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

Preview Lab → · Contrast checker → · Palette generator →

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