#AF2D22#AF2D22
#AF2D22 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.168 H 29.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D22 |
|---|---|
| RGB | rgb(175, 45, 34) |
| HSL | hsl(5, 67%, 41%) |
| HSV | hsv(5, 81%, 69%) |
| CMYK | cmyk(0%, 74.3%, 80.6%, 31.4%) |
| CIE-LAB | lab(39.76, 51.52, 38.10) |
| CIE-LCH | lch(39.76, 64.08, 36.48°) |
| OKLab | oklab(50.05% 0.1469 0.0823) |
| OKLCH | oklch(50.05% 0.168 29.3) |
| XYZ | xyz(18.9086, 11.1092, 2.6617) |
| Luminance | 0.1111 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.95
Brick
#A03623
ΔE00 3.22
Brownish Red
#9E3623
ΔE00 3.56
Scarlet
#BE0119
ΔE00 3.64
Brown
#A52A2A
ΔE00 3.94
Darkish Red
#A90308
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D22 #22A4AF
analogous
#AF225D #AF2D22 #AF7322
triadic
#AF2D22 #22AF2D #2D22AF
tetradic
#AF2D22 #5DAF22 #22A4AF #7322AF
square
#AF2D22 #5DAF22 #22A4AF #7322AF
split-complementary
#AF2D22 #22AF73 #225DAF
monochromatic
#49130E #7C2018 #AF2D22 #D84336 #E27369
Accessibility & contrast
On white
6.52
#AF2D22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#AF2D22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D22
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D22 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544B1F
Deuteranopia (green-blind)
#75681C
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2d22; /* rgb */ color: rgb(175, 45, 34); /* oklch */ color: oklch(50.1% 0.168 29.3);
Tailwind
colors: {
custom: {
50: '#d0705e',
500: '#af2d22',
950: '#000000',
},
}SCSS
$custom: #af2d22; $custom-light: #d0705e; $custom-dark: #000000;
JSON
{
"hex": "#af2d22",
"rgb": {
"r": 175,
"g": 45,
"b": 34
},
"hsl": {
"h": 4.681,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.50052,
"c": 0.16841,
"h": 29.3
},
"luminance": 0.11106
}Semantic roles & 50–950 ramp
primary
#AF2D22
secondary
#65C0C8
accent
#DDEA3D
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79