#AF2F25#AF2F25
#AF2F25 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.3% C 0.166 H 28.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F25 |
|---|---|
| RGB | rgb(175, 47, 37) |
| HSL | hsl(4, 65%, 42%) |
| HSV | hsv(4, 79%, 69%) |
| CMYK | cmyk(0%, 73.1%, 78.9%, 31.4%) |
| CIE-LAB | lab(40.05, 50.91, 36.74) |
| CIE-LCH | lch(40.05, 62.78, 35.82°) |
| OKLab | oklab(50.28% 0.1456 0.0803) |
| OKLCH | oklch(50.28% 0.166 28.9) |
| XYZ | xyz(19.0319, 11.2835, 2.9257) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.88
Brick
#A03623
ΔE00 3.35
Brown
#A52A2A
ΔE00 3.63
Brownish Red
#9E3623
ΔE00 3.68
Scarlet
#BE0119
ΔE00 3.81
Darkish Red
#A90308
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F25 #25A5AF
analogous
#AF2560 #AF2F25 #AF7425
triadic
#AF2F25 #25AF2F #2F25AF
tetradic
#AF2F25 #60AF25 #25A5AF #7425AF
square
#AF2F25 #60AF25 #25A5AF #7425AF
split-complementary
#AF2F25 #25AF74 #2560AF
monochromatic
#4A1410 #7C211A #AF2F25 #D6473C #E0766E
Accessibility & contrast
On white
6.45
#AF2F25 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AF2F25 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F25
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F25 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F25 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554D23
Deuteranopia (green-blind)
#756920
Tritanopia (blue-blind)
#C1002E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2f25; /* rgb */ color: rgb(175, 47, 37); /* oklch */ color: oklch(50.3% 0.166 28.9);
Tailwind
colors: {
custom: {
50: '#d07160',
500: '#af2f25',
950: '#000000',
},
}SCSS
$custom: #af2f25; $custom-light: #d07160; $custom-dark: #000000;
JSON
{
"hex": "#af2f25",
"rgb": {
"r": 175,
"g": 47,
"b": 37
},
"hsl": {
"h": 4.348,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.50278,
"c": 0.16627,
"h": 28.9
},
"luminance": 0.11281
}Semantic roles & 50–950 ramp
primary
#AF2F25
secondary
#69C0C7
accent
#DCE840
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79