#AF0102 color
The hex color #AF0102 is a dark, vivid red.
In the RGB color model it is made of 68.6% red, 0.4% green and 0.8% blue (175, 1, 2).
Its hue angle is 360°, with 99% saturation and 35% lightness. For print, the CMYK equivalent is 0% cyan, 99% magenta, 99% yellow and 31% black.
The closest named color is All Systems Red (#B30103), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.43:1).
#AF0102 color codes
| HEX | #AF0102 | |
|---|---|---|
| RGB | rgb(175, 1, 2) | |
| RGB percent | rgb(68.6%, 0.4%, 0.8%) | |
| HSL | hsl(360, 99%, 35%) | |
| HSV / HSB | hsv(360, 99%, 69%) | |
| CMYK | cmyk(0%, 99%, 99%, 31%) | |
| CIE LAB | lab(36.26, 60.29, 49.78) | |
| CIE LCH | lch(36.26, 78.19, 39.55) | |
| CIE XYZ | xyz(17.703, 9.143, 0.89) | |
| Decimal | 11469058 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AF0102, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #AF0102 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.83:1 | Fail | Fail | Fail |
| Sample text | 7.43:1 | Pass | Pass | Pass |
| #AF0102 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.43:1 | Pass | Pass | Pass |
| Sample text | 2.83:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #AF0102 looks to people with the most common types of color vision deficiency.
#483f00Protanopia
no red cones#6f6100Deuteranopia
no green cones#c20008Tritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #af0102; }
.text { color: #af0102; }
.border { border: 2px solid #af0102; }
.transparent { background-color: rgb(175 1 2 / 50%); }
.gradient { background: linear-gradient(to right, #af0102, #af5701); }
Similar colors
#b30103All Systems Red#ab0102Velvet Volcano#aa0000Heartbeat#a81000Kid Icarus#ba0105Bloody Mary#a30800Gory Red#b9030aBullseye#aa1111Büchel Cherry
Closest common color name: Firebrick.
Questions
- What color is #AF0102?
- #AF0102 is a dark, vivid red, closest to the named color All Systems Red. It belongs to the red family of colors.
- What is the RGB value of #AF0102?
- The RGB value is 175, 1, 2: 175 red, 1 green and 2 blue on a 0 to 255 scale.
- What is the complementary color of #AF0102?
- The complementary color is #01AFAE, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AF0102?
- White text. Black text has a contrast ratio of 2.83:1 and white text 7.43:1. WCAG asks for at least 4.5:1 for normal text.