#EC331A#EC331A

#EC331A is a mid, highly saturated red. Relative luminance 0.203; OKLCH L 61.4% C 0.223 H 31.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#EC331A
RGBrgb(236, 51, 26)
HSLhsl(7, 85%, 51%)
HSVhsv(7, 89%, 93%)
CMYKcmyk(0%, 78.4%, 89%, 7.5%)
CIE-LABlab(52.15, 67.89, 57.11)
CIE-LCHlch(52.15, 88.72, 40.07°)
OKLaboklab(61.36% 0.1907 0.1151)
OKLCHoklch(61.36% 0.223 31.1)
XYZxyz(35.9669, 20.2810, 2.9980)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC331A #1AD3EC
analogous
#EC1A6A #EC331A #EC9C1A
triadic
#EC331A #1AEC33 #331AEC
tetradic
#EC331A #6AEC1A #1AD3EC #9C1AEC
square
#EC331A #6AEC1A #1AD3EC #9C1AEC
split-complementary
#EC331A #1AEC9C #1A6AEC
monochromatic
#81190B #B9240F #EC331A #F16553 #F5988B

Accessibility & contrast

On white

4.15
#EC331A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#EC331A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC331A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC331A#FFFFFF#000000##000000
##EC331A1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec331a;
/* rgb */ color: rgb(236, 51, 26);
/* oklch */ color: oklch(61.4% 0.223 31.1);
Tailwind
colors: {
  custom: {
    50: '#fe7b5d',
    500: '#ec331a',
    950: '#000000',
  },
}
SCSS
$custom: #ec331a;
$custom-light: #fe7b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#ec331a",
  "rgb": {
    "r": 236,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 7.143,
    "s": 84.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.61363,
    "c": 0.22272,
    "h": 31.1
  },
  "luminance": 0.20275
}

Semantic roles & 50–950 ramp

primary
#EC331A
secondary
#83D4DF
accent
#E2FB2D
background
#FFF8F5
surface
#FFEFE9
border
#D7CAC5
text
#1A0B04
muted
#877C79

Preview Lab

Preview with #EC331A

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

Preview Lab → · Contrast checker → · Palette generator →

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