#AF2D26#AF2D26
#AF2D26 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.168 H 28.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D26 |
|---|---|
| RGB | rgb(175, 45, 38) |
| HSL | hsl(3, 64%, 42%) |
| HSV | hsv(3, 78%, 69%) |
| CMYK | cmyk(0%, 74.3%, 78.3%, 31.4%) |
| CIE-LAB | lab(39.80, 51.66, 35.92) |
| CIE-LCH | lch(39.80, 62.92, 34.81°) |
| OKLab | oklab(50.1% 0.1482 0.0788) |
| OKLCH | oklch(50.1% 0.168 28) |
| XYZ | xyz(18.9697, 11.1336, 2.9835) |
| Luminance | 0.1113 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.41
Brown
#A52A2A
ΔE00 3.07
Scarlet
#BE0119
ΔE00 3.62
Brick
#A03623
ΔE00 3.72
Brownish Red
#9E3623
ΔE00 4.01
Darkish Red
#A90308
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D26 #26A8AF
analogous
#AF2664 #AF2D26 #AF7226
triadic
#AF2D26 #26AF2D #2D26AF
tetradic
#AF2D26 #64AF26 #26A8AF #7226AF
square
#AF2D26 #64AF26 #26A8AF #7226AF
split-complementary
#AF2D26 #26AF72 #2664AF
monochromatic
#4A1310 #7D201B #AF2D26 #D5453D #E07570
Accessibility & contrast
On white
6.51
#AF2D26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#AF2D26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D26
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D26 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544C24
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2d26; /* rgb */ color: rgb(175, 45, 38); /* oklch */ color: oklch(50.1% 0.168 28.0);
Tailwind
colors: {
custom: {
50: '#d07061',
500: '#af2d26',
950: '#000000',
},
}SCSS
$custom: #af2d26; $custom-light: #d07061; $custom-dark: #000000;
JSON
{
"hex": "#af2d26",
"rgb": {
"r": 175,
"g": 45,
"b": 38
},
"hsl": {
"h": 3.066,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.50095,
"c": 0.16783,
"h": 28
},
"luminance": 0.11131
}Semantic roles & 50–950 ramp
primary
#AF2D26
secondary
#6AC2C7
accent
#DFE740
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160805
muted
#847B79