#AF2A25#AF2A25
#AF2A25 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.8% C 0.170 H 27.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2A25 |
|---|---|
| RGB | rgb(175, 42, 37) |
| HSL | hsl(2, 65%, 42%) |
| HSV | hsv(2, 79%, 69%) |
| CMYK | cmyk(0%, 76%, 78.9%, 31.4%) |
| CIE-LAB | lab(39.42, 52.66, 36.08) |
| CIE-LCH | lch(39.42, 63.84, 34.42°) |
| OKLab | oklab(49.81% 0.1511 0.0789) |
| OKLCH | oklch(49.81% 0.17 27.6) |
| XYZ | xyz(18.8433, 10.9064, 2.8629) |
| Luminance | 0.1090 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 0.99
Brown
#A52A2A
ΔE00 2.82
Scarlet
#BE0119
ΔE00 3.37
Brick
#A03623
ΔE00 3.95
Brownish Red
#9E3623
ΔE00 4.21
Darkish Red
#A90308
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2A25 #25AAAF
analogous
#AF2565 #AF2A25 #AF6F25
triadic
#AF2A25 #25AF2A #2A25AF
tetradic
#AF2A25 #65AF25 #25AAAF #6F25AF
square
#AF2A25 #65AF25 #25AAAF #6F25AF
split-complementary
#AF2A25 #25AF6F #2565AF
monochromatic
#4A1210 #7C1E1A #AF2A25 #D6413C #E0726E
Accessibility & contrast
On white
6.60
#AF2A25 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AF2A25 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2A25
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2A25 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2A25 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534A23
Deuteranopia (green-blind)
#74671F
Tritanopia (blue-blind)
#C1002B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2a25; /* rgb */ color: rgb(175, 42, 37); /* oklch */ color: oklch(49.8% 0.170 27.6);
Tailwind
colors: {
custom: {
50: '#d06f60',
500: '#af2a25',
950: '#000000',
},
}SCSS
$custom: #af2a25; $custom-light: #d06f60; $custom-dark: #000000;
JSON
{
"hex": "#af2a25",
"rgb": {
"r": 175,
"g": 42,
"b": 37
},
"hsl": {
"h": 2.174,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.49807,
"c": 0.17044,
"h": 27.6
},
"luminance": 0.10903
}Semantic roles & 50–950 ramp
primary
#AF2A25
secondary
#69C3C7
accent
#E2E840
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79