#AF282F#AF282F
#AF282F is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.8% C 0.171 H 23.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #AF282F |
|---|---|
| RGB | rgb(175, 40, 47) |
| HSL | hsl(357, 63%, 42%) |
| HSV | hsv(357, 77%, 69%) |
| CMYK | cmyk(0%, 77.1%, 73.1%, 31.4%) |
| CIE-LAB | lab(39.31, 53.71, 30.10) |
| CIE-LCH | lch(39.31, 61.57, 29.27°) |
| OKLab | oklab(49.76% 0.1566 0.0684) |
| OKLCH | oklch(49.76% 0.171 23.6) |
| XYZ | xyz(18.9533, 10.8397, 3.7831) |
| Luminance | 0.1084 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.26
Firebrick
#B22222
ΔE00 3.35
Lipstick Red
#C0022F
ΔE00 3.54
Cardinal
#C41E3A
ΔE00 4.70
Scarlet
#BE0119
ΔE00 5.16
Dull Red
#BB3F3F
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF282F #28AFA8
analogous
#AF2873 #AF282F #AF6528
triadic
#AF282F #2FAF28 #282FAF
tetradic
#AF282F #73AF28 #28AFA8 #6528AF
square
#AF282F #73AF28 #28AFA8 #6528AF
split-complementary
#AF282F #28AF65 #2873AF
monochromatic
#4B1114 #7D1D22 #AF282F #D44148 #DF7378
Accessibility & contrast
On white
6.63
#AF282F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AF282F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF282F
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF282F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF282F | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514A2E
Deuteranopia (green-blind)
#72672A
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af282f; /* rgb */ color: rgb(175, 40, 47); /* oklch */ color: oklch(49.8% 0.171 23.6);
Tailwind
colors: {
custom: {
50: '#cf6e67',
500: '#af282f',
950: '#000000',
},
}SCSS
$custom: #af282f; $custom-light: #cf6e67; $custom-dark: #000000;
JSON
{
"hex": "#af282f",
"rgb": {
"r": 175,
"g": 40,
"b": 47
},
"hsl": {
"h": 356.889,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.49762,
"c": 0.17089,
"h": 23.6
},
"luminance": 0.10837
}Semantic roles & 50–950 ramp
primary
#AF282F
secondary
#6DC6C1
accent
#E6DD42
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A