#EC042C

#ec042c ≈ Cadmium Red

  • red
  • Lightness: medium
  • Saturation: vivid
  • Warm

#ec042c is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 1.57% green and 17.25% blue; printed in CMYK it uses 0% cyan, 98.31% magenta, 81.36% yellow and 7.45% black. Its hue angle is 349.66°, with 96.67% saturation and 47.06% lightness in HSL. It is a warm color, often associated with energy, passion and urgency. Designers typically use it for food and restaurant brands, sales and promotions and call-to-action buttons. Black text on this color reaches a contrast ratio of 4.62:1 (WCAG AA). The closest named color is Cadmium Red (#e30022), ΔE 2.63.

Description generated from the measured properties of this color.

Conversions of #ec042c into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ff0033
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.181

Readable text 4.55:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.62:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #767676 ≈ 0.003% of males
Achromatomaly #b25d61 ≈ 0.001% of males
Protanopia #63592a ≈ 1.01% of males
Deuteranopia #968620 ≈ 1.27% of males
Tritanopia #ff001d ≈ 0.0001% of males
Protanomaly #ab452b ≈ 1.08% of males
Deuteranomaly #be6925 ≈ 4.63% of males
Tritanomaly #fb0024 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec042c {
  color: #ec042c;
}
Background
.bg-ec042c {
  background-color: #ec042c;
  color: #000000;
}
Border
.border-ec042c {
  border: 2px solid #ec042c;
}
CSS variables
:root {
  --color-primary: #ec042c;
  --color-primary-rgb: 236 4 44;
  --color-primary-hsl: 350 97% 47%;
}
Gradient
.gradient-ec042c {
  background: linear-gradient(135deg, #ec042c, #ec5004);
}
Colored shadow
.shadow-ec042c {
  box-shadow: 0 8px 24px rgb(236 4 44 / 0.35);
}

Cadmium Red
#ec042c  rgb(236, 4, 44)  hsl(350, 97%, 47%)  Cadmium Red
#04ecc4  rgb(4, 236, 196)  hsl(170, 97%, 47%)  Aquamarine
#2cec04  rgb(44, 236, 4)  hsl(110, 97%, 47%)  Lime
#042cec  rgb(4, 44, 236)  hsl(230, 97%, 47%)  Blue