#AF2A27#AF2A27
#AF2A27 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.8% C 0.170 H 26.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2A27 |
|---|---|
| RGB | rgb(175, 42, 39) |
| HSL | hsl(1, 64%, 42%) |
| HSV | hsv(1, 78%, 69%) |
| CMYK | cmyk(0%, 76%, 77.7%, 31.4%) |
| CIE-LAB | lab(39.44, 52.73, 34.97) |
| CIE-LCH | lch(39.44, 63.27, 33.55°) |
| OKLab | oklab(49.83% 0.1517 0.0771) |
| OKLCH | oklch(49.83% 0.17 26.9) |
| XYZ | xyz(18.8756, 10.9193, 3.0328) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.12
Brown
#A52A2A
ΔE00 2.44
Scarlet
#BE0119
ΔE00 3.55
Brick
#A03623
ΔE00 4.30
Brownish Red
#9E3623
ΔE00 4.54
Lipstick Red
#C0022F
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2A27 #27ACAF
analogous
#AF2768 #AF2A27 #AF6E27
triadic
#AF2A27 #27AF2A #2A27AF
tetradic
#AF2A27 #68AF27 #27ACAF #6E27AF
square
#AF2A27 #68AF27 #27ACAF #6E27AF
split-complementary
#AF2A27 #27AF6E #2768AF
monochromatic
#4B1211 #7D1E1C #AF2A27 #D4423F #DF7371
Accessibility & contrast
On white
6.60
#AF2A27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AF2A27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2A27
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2A27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2A27 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534A25
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2a27; /* rgb */ color: rgb(175, 42, 39); /* oklch */ color: oklch(49.8% 0.170 26.9);
Tailwind
colors: {
custom: {
50: '#d06f62',
500: '#af2a27',
950: '#000000',
},
}SCSS
$custom: #af2a27; $custom-light: #d06f62; $custom-dark: #000000;
JSON
{
"hex": "#af2a27",
"rgb": {
"r": 175,
"g": 42,
"b": 39
},
"hsl": {
"h": 1.324,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.4983,
"c": 0.17018,
"h": 26.9
},
"luminance": 0.10916
}Semantic roles & 50–950 ramp
primary
#AF2A27
secondary
#6BC4C6
accent
#E3E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79