#AF2B25#AF2B25
#AF2B25 is a mid, vivid red. Relative luminance 0.110; OKLCH L 49.9% C 0.170 H 27.8°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2B25 |
|---|---|
| RGB | rgb(175, 43, 37) |
| HSL | hsl(3, 65%, 42%) |
| HSV | hsv(3, 79%, 69%) |
| CMYK | cmyk(0%, 75.4%, 78.9%, 31.4%) |
| CIE-LAB | lab(39.54, 52.32, 36.21) |
| CIE-LCH | lch(39.54, 63.63, 34.69°) |
| OKLab | oklab(49.9% 0.15 0.0792) |
| OKLCH | oklch(49.9% 0.17 27.8) |
| XYZ | xyz(18.8792, 10.9782, 2.8748) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.13
Brown
#A52A2A
ΔE00 2.96
Scarlet
#BE0119
ΔE00 3.43
Brick
#A03623
ΔE00 3.82
Brownish Red
#9E3623
ΔE00 4.09
Darkish Red
#A90308
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2B25 #25A9AF
analogous
#AF2564 #AF2B25 #AF7025
triadic
#AF2B25 #25AF2B #2B25AF
tetradic
#AF2B25 #64AF25 #25A9AF #7025AF
square
#AF2B25 #64AF25 #25A9AF #7025AF
split-complementary
#AF2B25 #25AF70 #2564AF
monochromatic
#4A1210 #7C1F1A #AF2B25 #D6423C #E0736E
Accessibility & contrast
On white
6.57
#AF2B25 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#AF2B25 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2B25
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2B25 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2B25 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534B23
Deuteranopia (green-blind)
#74681F
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2b25; /* rgb */ color: rgb(175, 43, 37); /* oklch */ color: oklch(49.9% 0.170 27.8);
Tailwind
colors: {
custom: {
50: '#d06f60',
500: '#af2b25',
950: '#000000',
},
}SCSS
$custom: #af2b25; $custom-light: #d06f60; $custom-dark: #000000;
JSON
{
"hex": "#af2b25",
"rgb": {
"r": 175,
"g": 43,
"b": 37
},
"hsl": {
"h": 2.609,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.49897,
"c": 0.16963,
"h": 27.8
},
"luminance": 0.10975
}Semantic roles & 50–950 ramp
primary
#AF2B25
secondary
#69C3C7
accent
#E1E840
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79