#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 |
|---|---|
| RGB | rgb(236, 81, 42) |
| HSL | hsl(12, 84%, 55%) |
| HSV | hsv(12, 82%, 93%) |
| CMYK | cmyk(0%, 65.7%, 82.2%, 7.5%) |
| CIE-LAB | lab(55.98, 57.95, 53.44) |
| CIE-LCH | lch(55.98, 78.83, 42.68°) |
| OKLab | oklab(64.25% 0.1623 0.1132) |
| OKLCH | oklch(64.25% 0.198 34.9) |
| XYZ | xyz(37.9568, 23.8906, 4.8027) |
| Luminance | 0.2389 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish Orange
#F8481C
ΔE00 2.25
Orangey Red
#FA4224
ΔE00 2.80
Orange Red
#FD411E
ΔE00 2.95
Tomato (survey)
#EF4026
ΔE00 3.12
Orangered (survey)
#FE420F
ΔE00 3.50
Red Orange
#FD3C06
ΔE00 3.72
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 |
|---|---|---|---|---|
| ##EC512A | 1.00 | 3.64 | 5.78 | 5.78 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.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