#AF2E25#AF2E25
#AF2E25 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.167 H 28.6°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E25 |
|---|---|
| RGB | rgb(175, 46, 37) |
| HSL | hsl(4, 65%, 42%) |
| HSV | hsv(4, 79%, 69%) |
| CMYK | cmyk(0%, 73.7%, 78.9%, 31.4%) |
| CIE-LAB | lab(39.92, 51.27, 36.60) |
| CIE-LCH | lch(39.92, 62.99, 35.53°) |
| OKLab | oklab(50.18% 0.1467 0.08) |
| OKLCH | oklch(50.18% 0.167 28.6) |
| XYZ | xyz(18.9924, 11.2045, 2.9126) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.68
Brown
#A52A2A
ΔE00 3.45
Brick
#A03623
ΔE00 3.46
Scarlet
#BE0119
ΔE00 3.69
Brownish Red
#9E3623
ΔE00 3.77
Darkish Red
#A90308
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E25 #25A6AF
analogous
#AF2561 #AF2E25 #AF7325
triadic
#AF2E25 #25AF2E #2E25AF
tetradic
#AF2E25 #61AF25 #25A6AF #7325AF
square
#AF2E25 #61AF25 #25A6AF #7325AF
split-complementary
#AF2E25 #25AF73 #2561AF
monochromatic
#4A1310 #7C211A #AF2E25 #D6463C #E0766E
Accessibility & contrast
On white
6.48
#AF2E25 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AF2E25 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E25
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E25 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E25 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554C23
Deuteranopia (green-blind)
#75681F
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2e25; /* rgb */ color: rgb(175, 46, 37); /* oklch */ color: oklch(50.2% 0.167 28.6);
Tailwind
colors: {
custom: {
50: '#d07060',
500: '#af2e25',
950: '#000000',
},
}SCSS
$custom: #af2e25; $custom-light: #d07060; $custom-dark: #000000;
JSON
{
"hex": "#af2e25",
"rgb": {
"r": 175,
"g": 46,
"b": 37
},
"hsl": {
"h": 3.913,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.5018,
"c": 0.16713,
"h": 28.6
},
"luminance": 0.11202
}Semantic roles & 50–950 ramp
primary
#AF2E25
secondary
#69C1C7
accent
#DDE840
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160805
muted
#847B79