#AF2E23#AF2E23
#AF2E23 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.167 H 29.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E23 |
|---|---|
| RGB | rgb(175, 46, 35) |
| HSL | hsl(5, 67%, 41%) |
| HSV | hsv(5, 80%, 69%) |
| CMYK | cmyk(0%, 73.7%, 80%, 31.4%) |
| CIE-LAB | lab(39.90, 51.20, 37.69) |
| CIE-LCH | lch(39.90, 63.58, 36.36°) |
| OKLab | oklab(50.16% 0.1461 0.0818) |
| OKLCH | oklch(50.16% 0.167 29.2) |
| XYZ | xyz(18.9618, 11.1923, 2.7517) |
| Luminance | 0.1119 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.98
Brick
#A03623
ΔE00 3.22
Brownish Red
#9E3623
ΔE00 3.56
Scarlet
#BE0119
ΔE00 3.73
Brown
#A52A2A
ΔE00 3.89
Darkish Red
#A90308
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E23 #23A4AF
analogous
#AF235E #AF2E23 #AF7423
triadic
#AF2E23 #23AF2E #2E23AF
tetradic
#AF2E23 #5EAF23 #23A4AF #7423AF
square
#AF2E23 #5EAF23 #23A4AF #7423AF
split-complementary
#AF2E23 #23AF74 #235EAF
monochromatic
#49130F #7C2119 #AF2E23 #D74538 #E1746B
Accessibility & contrast
On white
6.49
#AF2E23 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AF2E23 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E23
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E23 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554C20
Deuteranopia (green-blind)
#75681D
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2e23; /* rgb */ color: rgb(175, 46, 35); /* oklch */ color: oklch(50.2% 0.167 29.2);
Tailwind
colors: {
custom: {
50: '#d0705f',
500: '#af2e23',
950: '#000000',
},
}SCSS
$custom: #af2e23; $custom-light: #d0705f; $custom-dark: #000000;
JSON
{
"hex": "#af2e23",
"rgb": {
"r": 175,
"g": 46,
"b": 35
},
"hsl": {
"h": 4.714,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.50158,
"c": 0.16742,
"h": 29.2
},
"luminance": 0.11189
}Semantic roles & 50–950 ramp
primary
#AF2E23
secondary
#66C0C7
accent
#DCEA3E
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79