#AF2D23#AF2D23
#AF2D23 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.168 H 29.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D23 |
|---|---|
| RGB | rgb(175, 45, 35) |
| HSL | hsl(4, 67%, 41%) |
| HSV | hsv(4, 80%, 69%) |
| CMYK | cmyk(0%, 74.3%, 80%, 31.4%) |
| CIE-LAB | lab(39.77, 51.56, 37.56) |
| CIE-LCH | lch(39.77, 63.79, 36.08°) |
| OKLab | oklab(50.06% 0.1472 0.0815) |
| OKLCH | oklch(50.06% 0.168 29) |
| XYZ | xyz(18.9232, 11.1150, 2.7388) |
| Luminance | 0.1111 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.76
Brick
#A03623
ΔE00 3.32
Scarlet
#BE0119
ΔE00 3.60
Brownish Red
#9E3623
ΔE00 3.64
Brown
#A52A2A
ΔE00 3.72
Darkish Red
#A90308
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D23 #23A5AF
analogous
#AF235F #AF2D23 #AF7323
triadic
#AF2D23 #23AF2D #2D23AF
tetradic
#AF2D23 #5FAF23 #23A5AF #7323AF
square
#AF2D23 #5FAF23 #23A5AF #7323AF
split-complementary
#AF2D23 #23AF73 #235FAF
monochromatic
#49130F #7C2019 #AF2D23 #D74338 #E1736B
Accessibility & contrast
On white
6.52
#AF2D23 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#AF2D23 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D23
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D23 | 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)
#544C20
Deuteranopia (green-blind)
#74681D
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2d23; /* rgb */ color: rgb(175, 45, 35); /* oklch */ color: oklch(50.1% 0.168 29.0);
Tailwind
colors: {
custom: {
50: '#d0705f',
500: '#af2d23',
950: '#000000',
},
}SCSS
$custom: #af2d23; $custom-light: #d0705f; $custom-dark: #000000;
JSON
{
"hex": "#af2d23",
"rgb": {
"r": 175,
"g": 45,
"b": 35
},
"hsl": {
"h": 4.286,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.50062,
"c": 0.16826,
"h": 29
},
"luminance": 0.11112
}Semantic roles & 50–950 ramp
primary
#AF2D23
secondary
#66C1C7
accent
#DDEA3E
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79