#AF2A2B#AF2A2B
#AF2A2B is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.170 H 25.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2A2B |
|---|---|
| RGB | rgb(175, 42, 43) |
| HSL | hsl(360, 61%, 43%) |
| HSV | hsv(360, 76%, 69%) |
| CMYK | cmyk(0%, 76%, 75.4%, 31.4%) |
| CIE-LAB | lab(39.49, 52.89, 32.69) |
| CIE-LCH | lch(39.49, 62.17, 31.72°) |
| OKLab | oklab(49.88% 0.1531 0.0732) |
| OKLCH | oklch(49.88% 0.17 25.5) |
| XYZ | xyz(18.9454, 10.9473, 3.4005) |
| Luminance | 0.1094 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.99
Firebrick
#B22222
ΔE00 1.99
Scarlet
#BE0119
ΔE00 4.16
Lipstick Red
#C0022F
ΔE00 4.49
Brick
#A03623
ΔE00 5.14
Brownish Red
#9E3623
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2A2B #2AAFAE
analogous
#AF2A6D #AF2A2B #AF6C2A
triadic
#AF2A2B #2BAF2A #2A2BAF
tetradic
#AF2A2B #6DAF2A #2AAFAE #6C2AAF
square
#AF2A2B #6DAF2A #2AAFAE #6C2AAF
split-complementary
#AF2A2B #2AAF6C #2A6DAF
monochromatic
#4C1213 #7E1E1F #AF2A2B #D24445 #DE7576
Accessibility & contrast
On white
6.59
#AF2A2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#AF2A2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2A2B
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2A2B | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524B29
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2a2b; /* rgb */ color: rgb(175, 42, 43); /* oklch */ color: oklch(49.9% 0.170 25.5);
Tailwind
colors: {
custom: {
50: '#d06f65',
500: '#af2a2b',
950: '#000000',
},
}SCSS
$custom: #af2a2b; $custom-light: #d06f65; $custom-dark: #000000;
JSON
{
"hex": "#af2a2b",
"rgb": {
"r": 175,
"g": 42,
"b": 43
},
"hsl": {
"h": 359.549,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.4988,
"c": 0.16968,
"h": 25.5
},
"luminance": 0.10944
}Semantic roles & 50–950 ramp
primary
#AF2A2B
secondary
#6FC6C5
accent
#E4E343
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A