#AF040C

#af040c ≈ Cornell Red

  • red
  • Lightness: low
  • Saturation: strong
  • Warm

#af040c is a color from the red family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 1.57% green and 4.71% blue; printed in CMYK it uses 0% cyan, 97.71% magenta, 93.14% yellow and 31.37% black. Its hue angle is 357.19°, with 95.53% saturation and 35.1% 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 7.38:1 (WCAG AAA). The closest named color is Cornell Red (#b31b1b), ΔE 2.61.

Description generated from the measured properties of this color.

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

Readable text 7.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #565656 ≈ 0.003% of males
Achromatomaly #834343 ≈ 0.001% of males
Protanopia #493f07 ≈ 1.01% of males
Deuteranopia #6f6200 ≈ 1.27% of males
Tritanopia #c2000d ≈ 0.0001% of males
Protanomaly #7f3109 ≈ 1.08% of males
Deuteranomaly #8d4c02 ≈ 4.63% of males
Tritanomaly #ba000d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af040c {
  color: #af040c;
}
Background
.bg-af040c {
  background-color: #af040c;
  color: #ffffff;
}
Border
.border-af040c {
  border: 2px solid #af040c;
}
CSS variables
:root {
  --color-primary: #af040c;
  --color-primary-rgb: 175 4 12;
  --color-primary-hsl: 357 96% 35%;
}
Gradient
.gradient-af040c {
  background: linear-gradient(135deg, #af040c, #af5104);
}
Colored shadow
.shadow-af040c {
  box-shadow: 0 8px 24px rgb(175 4 12 / 0.35);
}

Cornell Red
#af040c  rgb(175, 4, 12)  hsl(357, 96%, 35%)  Cornell Red
#04afa7  rgb(4, 175, 167)  hsl(177, 96%, 35%)  Light Sea Green
#0caf04  rgb(12, 175, 4)  hsl(117, 96%, 35%)  Kelly Green
#040caf  rgb(4, 12, 175)  hsl(237, 96%, 35%)  Zaffre