#C40F2E

#c40f2e ≈ Cardinal

  • red
  • Lightness: medium
  • Saturation: strong
  • Warm

#c40f2e is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 76.86% red, 5.88% green and 18.04% blue; printed in CMYK it uses 0% cyan, 92.35% magenta, 76.53% yellow and 23.14% black. Its hue angle is 349.72°, with 85.78% saturation and 41.37% 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.08:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 2.75.

Description generated from the measured properties of this color.

Conversions of #c40f2e 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.1227

Readable text 6.08:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.45:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #626262 ≈ 0.003% of males
Achromatomaly #944e52 ≈ 0.001% of males
Protanopia #524b2d ≈ 1.01% of males
Deuteranopia #7c6f27 ≈ 1.27% of males
Tritanopia #d80020 ≈ 0.0001% of males
Protanomaly #8e3b2d ≈ 1.08% of males
Deuteranomaly #9e582a ≈ 4.63% of males
Tritanomaly #d00026 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c40f2e {
  color: #c40f2e;
}
Background
.bg-c40f2e {
  background-color: #c40f2e;
  color: #ffffff;
}
Border
.border-c40f2e {
  border: 2px solid #c40f2e;
}
CSS variables
:root {
  --color-primary: #c40f2e;
  --color-primary-rgb: 196 15 46;
  --color-primary-hsl: 350 86% 41%;
}
Gradient
.gradient-c40f2e {
  background: linear-gradient(135deg, #c40f2e, #c44a0f);
}
Colored shadow
.shadow-c40f2e {
  box-shadow: 0 8px 24px rgb(196 15 46 / 0.35);
}

Cardinal
#c40f2e  rgb(196, 15, 46)  hsl(350, 86%, 41%)  Cardinal
#0fc4a5  rgb(15, 196, 165)  hsl(170, 86%, 41%)  Caribbean Green
#2ec40f  rgb(46, 196, 15)  hsl(110, 86%, 41%)  Lime Green
#0f2ec4  rgb(15, 46, 196)  hsl(230, 86%, 41%)  Persian Blue