#AF2F24#AF2F24
#AF2F24 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.3% C 0.166 H 29.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F24 |
|---|---|
| RGB | rgb(175, 47, 36) |
| HSL | hsl(5, 66%, 41%) |
| HSV | hsv(5, 79%, 69%) |
| CMYK | cmyk(0%, 73.1%, 79.4%, 31.4%) |
| CIE-LAB | lab(40.04, 50.87, 37.28) |
| CIE-LCH | lch(40.04, 63.07, 36.24°) |
| OKLab | oklab(50.27% 0.1453 0.0812) |
| OKLCH | oklch(50.27% 0.166 29.2) |
| XYZ | xyz(19.0164, 11.2773, 2.8442) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.03
Brick
#A03623
ΔE00 3.23
Brownish Red
#9E3623
ΔE00 3.57
Scarlet
#BE0119
ΔE00 3.83
Brown
#A52A2A
ΔE00 3.85
Rusty Red
#AF2F0D
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F24 #24A4AF
analogous
#AF245F #AF2F24 #AF7524
triadic
#AF2F24 #24AF2F #2F24AF
tetradic
#AF2F24 #5FAF24 #24A4AF #7524AF
square
#AF2F24 #5FAF24 #24A4AF #7524AF
split-complementary
#AF2F24 #24AF75 #245FAF
monochromatic
#49140F #7C211A #AF2F24 #D6463A #E1766D
Accessibility & contrast
On white
6.45
#AF2F24 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#AF2F24 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F24
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F24 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F24 | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554C21
Deuteranopia (green-blind)
#75691E
Tritanopia (blue-blind)
#C1002E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2f24; /* rgb */ color: rgb(175, 47, 36); /* oklch */ color: oklch(50.3% 0.166 29.2);
Tailwind
colors: {
custom: {
50: '#d07160',
500: '#af2f24',
950: '#000000',
},
}SCSS
$custom: #af2f24; $custom-light: #d07160; $custom-dark: #000000;
JSON
{
"hex": "#af2f24",
"rgb": {
"r": 175,
"g": 47,
"b": 36
},
"hsl": {
"h": 4.748,
"s": 65.877,
"l": 41.373
},
"oklch": {
"l": 0.50267,
"c": 0.16642,
"h": 29.2
},
"luminance": 0.11274
}Semantic roles & 50–950 ramp
primary
#AF2F24
secondary
#68C0C7
accent
#DBE93F
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79