#C5042A

#c5042a ≈ Cardinal

  • red
  • Lightness: low
  • Saturation: vivid
  • Warm

#c5042a is a color from the red family, with low lightness and vivid saturation. In the RGB model it is made of 77.25% red, 1.57% green and 16.47% blue; printed in CMYK it uses 0% cyan, 97.97% magenta, 78.68% yellow and 22.75% black. Its hue angle is 348.19°, with 96.02% saturation and 39.41% 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. White text on this color reaches a contrast ratio of 6.13:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 3.6.

Description generated from the measured properties of this color.

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

Readable text 6.13:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #944c51 ≈ 0.001% of males
Protanopia #514929 ≈ 1.01% of males
Deuteranopia #7c6f22 ≈ 1.27% of males
Tritanopia #d9001a ≈ 0.0001% of males
Protanomaly #8e3929 ≈ 1.08% of males
Deuteranomaly #9e5725 ≈ 4.63% of males
Tritanomaly #d20021 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c5042a {
  color: #c5042a;
}
Background
.bg-c5042a {
  background-color: #c5042a;
  color: #ffffff;
}
Border
.border-c5042a {
  border: 2px solid #c5042a;
}
CSS variables
:root {
  --color-primary: #c5042a;
  --color-primary-rgb: 197 4 42;
  --color-primary-hsl: 348 96% 39%;
}
Gradient
.gradient-c5042a {
  background: linear-gradient(135deg, #c5042a, #c53f04);
}
Colored shadow
.shadow-c5042a {
  box-shadow: 0 8px 24px rgb(197 4 42 / 0.35);
}

Cardinal
#c5042a  rgb(197, 4, 42)  hsl(348, 96%, 39%)  Cardinal
#04c59f  rgb(4, 197, 159)  hsl(168, 96%, 39%)  Caribbean Green
#2ac504  rgb(42, 197, 4)  hsl(108, 96%, 39%)  Lime Green
#042ac5  rgb(4, 42, 197)  hsl(228, 96%, 39%)  Persian Blue