#AF2E26#AF2E26
#AF2E26 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.167 H 28.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E26 |
|---|---|
| RGB | rgb(175, 46, 38) |
| HSL | hsl(4, 64%, 42%) |
| HSV | hsv(4, 78%, 69%) |
| CMYK | cmyk(0%, 73.7%, 78.3%, 31.4%) |
| CIE-LAB | lab(39.93, 51.30, 36.05) |
| CIE-LCH | lch(39.93, 62.71, 35.10°) |
| OKLab | oklab(50.19% 0.147 0.0791) |
| OKLCH | oklch(50.19% 0.167 28.3) |
| XYZ | xyz(19.0083, 11.2108, 2.9964) |
| Luminance | 0.1121 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.58
Brown
#A52A2A
ΔE00 3.24
Brick
#A03623
ΔE00 3.60
Scarlet
#BE0119
ΔE00 3.71
Brownish Red
#9E3623
ΔE00 3.90
Darkish Red
#A90308
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E26 #26A7AF
analogous
#AF2662 #AF2E26 #AF7326
triadic
#AF2E26 #26AF2E #2E26AF
tetradic
#AF2E26 #62AF26 #26A7AF #7326AF
square
#AF2E26 #62AF26 #26A7AF #7326AF
split-complementary
#AF2E26 #26AF73 #2662AF
monochromatic
#4A1410 #7D211B #AF2E26 #D5463D #E07670
Accessibility & contrast
On white
6.48
#AF2E26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AF2E26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E26
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E26 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554C24
Deuteranopia (green-blind)
#756821
Tritanopia (blue-blind)
#C1002E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2e26; /* rgb */ color: rgb(175, 46, 38); /* oklch */ color: oklch(50.2% 0.167 28.3);
Tailwind
colors: {
custom: {
50: '#d07061',
500: '#af2e26',
950: '#000000',
},
}SCSS
$custom: #af2e26; $custom-light: #d07061; $custom-dark: #000000;
JSON
{
"hex": "#af2e26",
"rgb": {
"r": 175,
"g": 46,
"b": 38
},
"hsl": {
"h": 3.504,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.50191,
"c": 0.16698,
"h": 28.3
},
"luminance": 0.11208
}Semantic roles & 50–950 ramp
primary
#AF2E26
secondary
#6AC1C7
accent
#DEE740
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79