#AF2E40

#af2e40 ≈ Cardinal

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

#af2e40 is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 18.04% green and 25.1% blue; printed in CMYK it uses 0% cyan, 73.71% magenta, 63.43% yellow and 31.37% black. Its hue angle is 351.63°, with 58.37% saturation and 43.33% 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 brand accents. White text on this color reaches a contrast ratio of 6.39:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 4.23.

Description generated from the measured properties of this color.

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

Readable text 6.39:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.29:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #5f5f5f ≈ 0.003% of males
Achromatomaly #865054 ≈ 0.001% of males
Protanopia #524e40 ≈ 1.01% of males
Deuteranopia #72693c ≈ 1.27% of males
Tritanopia #c00036 ≈ 0.0001% of males
Protanomaly #824340 ≈ 1.08% of males
Deuteranomaly #8f573e ≈ 4.63% of males
Tritanomaly #b91a3a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af2e40 {
  color: #af2e40;
}
Background
.bg-af2e40 {
  background-color: #af2e40;
  color: #ffffff;
}
Border
.border-af2e40 {
  border: 2px solid #af2e40;
}
CSS variables
:root {
  --color-primary: #af2e40;
  --color-primary-rgb: 175 46 64;
  --color-primary-hsl: 352 58% 43%;
}
Gradient
.gradient-af2e40 {
  background: linear-gradient(135deg, #af2e40, #af5c2e);
}
Colored shadow
.shadow-af2e40 {
  box-shadow: 0 8px 24px rgb(175 46 64 / 0.35);
}

Cardinal
#af2e40  rgb(175, 46, 64)  hsl(352, 58%, 43%)  Cardinal
#2eaf9d  rgb(46, 175, 157)  hsl(172, 58%, 43%)  Persian Green
#40af2e  rgb(64, 175, 46)  hsl(112, 58%, 43%)  Kelly Green
#2e40af  rgb(46, 64, 175)  hsl(232, 58%, 43%)  Persian Blue