#AF172A

#af172a ≈ Brown

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

#af172a is a color from the red family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 9.02% green and 16.47% blue; printed in CMYK it uses 0% cyan, 86.86% magenta, 76% yellow and 31.37% black. Its hue angle is 352.5°, with 76.77% saturation and 38.82% 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 7.05:1 (WCAG AAA). The closest named color is Brown (#a52a2a), ΔE 2.84.

Description generated from the measured properties of this color.

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

Readable text 7.05:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.98:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #595959 ≈ 0.003% of males
Achromatomaly #84474a ≈ 0.001% of males
Protanopia #4b4429 ≈ 1.01% of males
Deuteranopia #6f6424 ≈ 1.27% of males
Tritanopia #c10021 ≈ 0.0001% of males
Protanomaly #7f3729 ≈ 1.08% of males
Deuteranomaly #8d5027 ≈ 4.63% of males
Tritanomaly #ba0025 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af172a {
  color: #af172a;
}
Background
.bg-af172a {
  background-color: #af172a;
  color: #ffffff;
}
Border
.border-af172a {
  border: 2px solid #af172a;
}
CSS variables
:root {
  --color-primary: #af172a;
  --color-primary-rgb: 175 23 42;
  --color-primary-hsl: 353 77% 39%;
}
Gradient
.gradient-af172a {
  background: linear-gradient(135deg, #af172a, #af5017);
}
Colored shadow
.shadow-af172a {
  box-shadow: 0 8px 24px rgb(175 23 42 / 0.35);
}

Brown
#af172a  rgb(175, 23, 42)  hsl(353, 77%, 39%)  Brown
#17af9c  rgb(23, 175, 156)  hsl(173, 77%, 39%)  Persian Green
#2aaf17  rgb(42, 175, 23)  hsl(113, 77%, 39%)  Kelly Green
#172aaf  rgb(23, 42, 175)  hsl(233, 77%, 39%)  Egyptian Blue