#AF2E2F#AF2E2F
#AF2E2F is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.3% C 0.166 H 25.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2E2F |
|---|---|
| RGB | rgb(175, 46, 47) |
| HSL | hsl(360, 58%, 43%) |
| HSV | hsv(360, 74%, 69%) |
| CMYK | cmyk(0%, 73.7%, 73.1%, 31.4%) |
| CIE-LAB | lab(40.04, 51.67, 30.95) |
| CIE-LCH | lch(40.04, 60.23, 30.92°) |
| OKLab | oklab(50.31% 0.1501 0.0703) |
| OKLCH | oklch(50.31% 0.166 25.1) |
| XYZ | xyz(19.1715, 11.2761, 3.8558) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.27
Firebrick
#B22222
ΔE00 2.80
Lipstick Red
#C0022F
ΔE00 4.36
Dull Red
#BB3F3F
ΔE00 4.65
Scarlet
#BE0119
ΔE00 4.85
Cardinal
#C41E3A
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2E2F #2EAFAE
analogous
#AF2E6F #AF2E2F #AF6D2E
triadic
#AF2E2F #2FAF2E #2E2FAF
tetradic
#AF2E2F #6FAF2E #2EAFAE #6D2EAF
square
#AF2E2F #6FAF2E #2EAFAE #6D2EAF
split-complementary
#AF2E2F #2EAF6D #2E6FAF
monochromatic
#4E1515 #7F2122 #AF2E2F #D04B4C #DC7B7C
Accessibility & contrast
On white
6.45
#AF2E2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#AF2E2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2E2F
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2E2F | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544D2E
Deuteranopia (green-blind)
#74682A
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2e2f; /* rgb */ color: rgb(175, 46, 47); /* oklch */ color: oklch(50.3% 0.166 25.1);
Tailwind
colors: {
custom: {
50: '#cf7168',
500: '#af2e2f',
950: '#000000',
},
}SCSS
$custom: #af2e2f; $custom-light: #cf7168; $custom-dark: #000000;
JSON
{
"hex": "#af2e2f",
"rgb": {
"r": 175,
"g": 46,
"b": 47
},
"hsl": {
"h": 359.535,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.50307,
"c": 0.16576,
"h": 25.1
},
"luminance": 0.11273
}Semantic roles & 50–950 ramp
primary
#AF2E2F
secondary
#74C5C4
accent
#E2E046
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A