#AF2A30#AF2A30
#AF2A30 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.169 H 23.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2A30 |
|---|---|
| RGB | rgb(175, 42, 48) |
| HSL | hsl(357, 61%, 43%) |
| HSV | hsv(357, 76%, 69%) |
| CMYK | cmyk(0%, 76%, 72.6%, 31.4%) |
| CIE-LAB | lab(39.56, 53.10, 29.78) |
| CIE-LCH | lch(39.56, 60.88, 29.29°) |
| OKLab | oklab(49.95% 0.1549 0.0679) |
| OKLCH | oklch(49.95% 0.169 23.7) |
| XYZ | xyz(19.0428, 10.9862, 3.9136) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.34
Firebrick
#B22222
ΔE00 3.43
Lipstick Red
#C0022F
ΔE00 3.64
Cardinal
#C41E3A
ΔE00 4.65
Dull Red
#BB3F3F
ΔE00 4.98
Scarlet
#BE0119
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2A30 #2AAFA9
analogous
#AF2A73 #AF2A30 #AF662A
triadic
#AF2A30 #30AF2A #2A30AF
tetradic
#AF2A30 #73AF2A #2AAFA9 #662AAF
square
#AF2A30 #73AF2A #2AAFA9 #662AAF
split-complementary
#AF2A30 #2AAF66 #2A73AF
monochromatic
#4C1215 #7E1E22 #AF2A30 #D2444A #DE757A
Accessibility & contrast
On white
6.57
#AF2A30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#AF2A30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2A30
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2A30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2A30 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524B2F
Deuteranopia (green-blind)
#73682B
Tritanopia (blue-blind)
#C1002E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2a30; /* rgb */ color: rgb(175, 42, 48); /* oklch */ color: oklch(50.0% 0.169 23.7);
Tailwind
colors: {
custom: {
50: '#cf6f68',
500: '#af2a30',
950: '#000000',
},
}SCSS
$custom: #af2a30; $custom-light: #cf6f68; $custom-dark: #000000;
JSON
{
"hex": "#af2a30",
"rgb": {
"r": 175,
"g": 42,
"b": 48
},
"hsl": {
"h": 357.293,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.4995,
"c": 0.16913,
"h": 23.7
},
"luminance": 0.10983
}Semantic roles & 50–950 ramp
primary
#AF2A30
secondary
#6FC6C2
accent
#E4DD43
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A