#AF2C23#AF2C23
#AF2C23 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.169 H 28.7°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C23 |
|---|---|
| RGB | rgb(175, 44, 35) |
| HSL | hsl(4, 67%, 41%) |
| HSV | hsv(4, 80%, 69%) |
| CMYK | cmyk(0%, 74.9%, 80%, 31.4%) |
| CIE-LAB | lab(39.65, 51.91, 37.43) |
| CIE-LCH | lch(39.65, 64.00, 35.80°) |
| OKLab | oklab(49.97% 0.1483 0.0812) |
| OKLCH | oklch(49.97% 0.169 28.7) |
| XYZ | xyz(18.8855, 11.0396, 2.7262) |
| Luminance | 0.1104 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.56
Brick
#A03623
ΔE00 3.42
Scarlet
#BE0119
ΔE00 3.49
Brown
#A52A2A
ΔE00 3.55
Brownish Red
#9E3623
ΔE00 3.74
Darkish Red
#A90308
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C23 #23A6AF
analogous
#AF2360 #AF2C23 #AF7223
triadic
#AF2C23 #23AF2C #2C23AF
tetradic
#AF2C23 #60AF23 #23A6AF #7223AF
square
#AF2C23 #60AF23 #23A6AF #7223AF
split-complementary
#AF2C23 #23AF72 #2360AF
monochromatic
#49120F #7C1F19 #AF2C23 #D74238 #E1736B
Accessibility & contrast
On white
6.55
#AF2C23 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AF2C23 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C23
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C23 | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544B20
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2c23; /* rgb */ color: rgb(175, 44, 35); /* oklch */ color: oklch(50.0% 0.169 28.7);
Tailwind
colors: {
custom: {
50: '#d06f5f',
500: '#af2c23',
950: '#000000',
},
}SCSS
$custom: #af2c23; $custom-light: #d06f5f; $custom-dark: #000000;
JSON
{
"hex": "#af2c23",
"rgb": {
"r": 175,
"g": 44,
"b": 35
},
"hsl": {
"h": 3.857,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.49968,
"c": 0.16909,
"h": 28.7
},
"luminance": 0.11037
}Semantic roles & 50–950 ramp
primary
#AF2C23
secondary
#66C1C7
accent
#DFEA3E
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79