#AF2B23#AF2B23
#AF2B23 is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.9% C 0.170 H 28.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2B23 |
|---|---|
| RGB | rgb(175, 43, 35) |
| HSL | hsl(3, 67%, 41%) |
| HSV | hsv(3, 80%, 69%) |
| CMYK | cmyk(0%, 75.4%, 80%, 31.4%) |
| CIE-LAB | lab(39.52, 52.25, 37.31) |
| CIE-LCH | lch(39.52, 64.20, 35.53°) |
| OKLab | oklab(49.88% 0.1494 0.0809) |
| OKLCH | oklch(49.88% 0.17 28.4) |
| XYZ | xyz(18.8487, 10.9660, 2.7140) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.36
Scarlet
#BE0119
ΔE00 3.39
Brown
#A52A2A
ΔE00 3.39
Brick
#A03623
ΔE00 3.54
Brownish Red
#9E3623
ΔE00 3.84
Darkish Red
#A90308
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2B23 #23A7AF
analogous
#AF2361 #AF2B23 #AF7123
triadic
#AF2B23 #23AF2B #2B23AF
tetradic
#AF2B23 #61AF23 #23A7AF #7123AF
square
#AF2B23 #61AF23 #23A7AF #7123AF
split-complementary
#AF2B23 #23AF71 #2361AF
monochromatic
#49120F #7C1E19 #AF2B23 #D74138 #E1726B
Accessibility & contrast
On white
6.58
#AF2B23 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#AF2B23 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2B23
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2B23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2B23 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534B21
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2b23; /* rgb */ color: rgb(175, 43, 35); /* oklch */ color: oklch(49.9% 0.170 28.4);
Tailwind
colors: {
custom: {
50: '#d06f5f',
500: '#af2b23',
950: '#000000',
},
}SCSS
$custom: #af2b23; $custom-light: #d06f5f; $custom-dark: #000000;
JSON
{
"hex": "#af2b23",
"rgb": {
"r": 175,
"g": 43,
"b": 35
},
"hsl": {
"h": 3.429,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.49876,
"c": 0.1699,
"h": 28.4
},
"luminance": 0.10963
}Semantic roles & 50–950 ramp
primary
#AF2B23
secondary
#66C2C7
accent
#E0EA3E
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79