#EC311D#EC311D

#EC311D is a mid, highly saturated red. Relative luminance 0.201; OKLCH L 61.2% C 0.224 H 30.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#EC311D
RGBrgb(236, 49, 29)
HSLhsl(6, 84%, 52%)
HSVhsv(6, 88%, 93%)
CMYKcmyk(0%, 79.2%, 87.7%, 7.5%)
CIE-LABlab(51.98, 68.48, 55.77)
CIE-LCHlch(51.98, 88.32, 39.16°)
OKLaboklab(61.24% 0.1929 0.1132)
OKLCHoklch(61.24% 0.224 30.4)
XYZxyz(35.9167, 20.1241, 3.1554)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC311D #1DD8EC
analogous
#EC1D71 #EC311D #EC991D
triadic
#EC311D #1DEC31 #311DEC
tetradic
#EC311D #71EC1D #1DD8EC #991DEC
square
#EC311D #71EC1D #1DD8EC #991DEC
split-complementary
#EC311D #1DEC99 #1D71EC
monochromatic
#84170B #BC2010 #EC311D #F16455 #F5988E

Accessibility & contrast

On white

4.18
#EC311D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#EC311D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC311D
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC311D#FFFFFF#000000##000000
##EC311D1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F6216
Deuteranopia (green-blind)
#9C8B0B
Tritanopia (blue-blind)
#FF002F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ec311d;
/* rgb */ color: rgb(236, 49, 29);
/* oklch */ color: oklch(61.2% 0.224 30.4);
Tailwind
colors: {
  custom: {
    50: '#fe7a5e',
    500: '#ec311d',
    950: '#000000',
  },
}
SCSS
$custom: #ec311d;
$custom-light: #fe7a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#ec311d",
  "rgb": {
    "r": 236,
    "g": 49,
    "b": 29
  },
  "hsl": {
    "h": 5.797,
    "s": 84.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61237,
    "c": 0.2237,
    "h": 30.4
  },
  "luminance": 0.20118
}

Semantic roles & 50–950 ramp

primary
#EC311D
secondary
#85D7E0
accent
#E7FB2D
background
#FFF8F5
surface
#FFEFE9
border
#D7CAC5
text
#1A0A05
muted
#877C79

Preview Lab

Preview with #EC311D

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

Preview Lab → · Contrast checker → · Palette generator →

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