#EC321D#EC321D

#EC321D is a mid, highly saturated red. Relative luminance 0.202; OKLCH L 61.3% C 0.223 H 30.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#EC321D
RGBrgb(236, 50, 29)
HSLhsl(6, 84%, 52%)
HSVhsv(6, 88%, 93%)
CMYKcmyk(0%, 78.8%, 87.7%, 7.5%)
CIE-LABlab(52.07, 68.21, 55.84)
CIE-LCHlch(52.07, 88.15, 39.31°)
OKLaboklab(61.31% 0.1921 0.1134)
OKLCHoklch(61.31% 0.223 30.5)
XYZxyz(35.9590, 20.2087, 3.1695)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC321D #1DD7EC
analogous
#EC1D70 #EC321D #EC9A1D
triadic
#EC321D #1DEC32 #321DEC
tetradic
#EC321D #70EC1D #1DD7EC #9A1DEC
square
#EC321D #70EC1D #1DD7EC #9A1DEC
split-complementary
#EC321D #1DEC9A #1D70EC
monochromatic
#84170B #BC2110 #EC321D #F16555 #F5988E

Accessibility & contrast

On white

4.17
#EC321D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#EC321D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC321D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC321D#FFFFFF#000000##000000
##EC321D1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec321d;
/* rgb */ color: rgb(236, 50, 29);
/* oklch */ color: oklch(61.3% 0.223 30.5);
Tailwind
colors: {
  custom: {
    50: '#fe7b5e',
    500: '#ec321d',
    950: '#000000',
  },
}
SCSS
$custom: #ec321d;
$custom-light: #fe7b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#ec321d",
  "rgb": {
    "r": 236,
    "g": 50,
    "b": 29
  },
  "hsl": {
    "h": 6.087,
    "s": 84.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61308,
    "c": 0.22306,
    "h": 30.5
  },
  "luminance": 0.20203
}

Semantic roles & 50–950 ramp

primary
#EC321D
secondary
#85D7E0
accent
#E6FB2D
background
#FFF8F5
surface
#FFEFE9
border
#D7CAC5
text
#1A0B05
muted
#877C79

Preview Lab

Preview with #EC321D

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

Preview Lab → · Contrast checker → · Palette generator →

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