#AF292A#AF292A
#AF292A is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.8% C 0.171 H 25.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AF292A |
|---|---|
| RGB | rgb(175, 41, 42) |
| HSL | hsl(360, 62%, 42%) |
| HSV | hsv(360, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 76%, 31.4%) |
| CIE-LAB | lab(39.36, 53.18, 33.13) |
| CIE-LCH | lch(39.36, 62.66, 31.93°) |
| OKLab | oklab(49.78% 0.1538 0.0739) |
| OKLCH | oklch(49.78% 0.171 25.7) |
| XYZ | xyz(18.8923, 10.8700, 3.2934) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.80
Brown
#A52A2A
ΔE00 1.97
Scarlet
#BE0119
ΔE00 4.00
Lipstick Red
#C0022F
ΔE00 4.55
Brick
#A03623
ΔE00 5.07
Brownish Red
#9E3623
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF292A #29AFAE
analogous
#AF296D #AF292A #AF6B29
triadic
#AF292A #2AAF29 #292AAF
tetradic
#AF292A #6DAF29 #29AFAE #6B29AF
square
#AF292A #6DAF29 #29AFAE #6B29AF
split-complementary
#AF292A #29AF6B #296DAF
monochromatic
#4C1212 #7D1D1E #AF292A #D34243 #DE7475
Accessibility & contrast
On white
6.62
#AF292A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AF292A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF292A
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF292A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF292A | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524A28
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af292a; /* rgb */ color: rgb(175, 41, 42); /* oklch */ color: oklch(49.8% 0.171 25.7);
Tailwind
colors: {
custom: {
50: '#d06e64',
500: '#af292a',
950: '#000000',
},
}SCSS
$custom: #af292a; $custom-light: #d06e64; $custom-dark: #000000;
JSON
{
"hex": "#af292a",
"rgb": {
"r": 175,
"g": 41,
"b": 42
},
"hsl": {
"h": 359.552,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.49779,
"c": 0.17062,
"h": 25.7
},
"luminance": 0.10867
}Semantic roles & 50–950 ramp
primary
#AF292A
secondary
#6EC6C5
accent
#E5E443
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A