#AF282D#AF282D
#AF282D is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.7% C 0.171 H 24.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AF282D |
|---|---|
| RGB | rgb(175, 40, 45) |
| HSL | hsl(358, 63%, 42%) |
| HSV | hsv(358, 77%, 69%) |
| CMYK | cmyk(0%, 77.1%, 74.3%, 31.4%) |
| CIE-LAB | lab(39.28, 53.62, 31.27) |
| CIE-LCH | lch(39.28, 62.08, 30.25°) |
| OKLab | oklab(49.73% 0.1559 0.0705) |
| OKLCH | oklch(49.73% 0.171 24.3) |
| XYZ | xyz(18.9138, 10.8240, 3.5755) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.99
Firebrick
#B22222
ΔE00 2.74
Lipstick Red
#C0022F
ΔE00 3.83
Scarlet
#BE0119
ΔE00 4.67
Cardinal
#C41E3A
ΔE00 5.10
Dull Red
#BB3F3F
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF282D #28AFAA
analogous
#AF2870 #AF282D #AF6728
triadic
#AF282D #2DAF28 #282DAF
tetradic
#AF282D #70AF28 #28AFAA #6728AF
square
#AF282D #70AF28 #28AFAA #6728AF
split-complementary
#AF282D #28AF67 #2870AF
monochromatic
#4B1113 #7D1D20 #AF282D #D44146 #DF7377
Accessibility & contrast
On white
6.64
#AF282D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#AF282D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF282D
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF282D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF282D | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514A2C
Deuteranopia (green-blind)
#726728
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af282d; /* rgb */ color: rgb(175, 40, 45); /* oklch */ color: oklch(49.7% 0.171 24.3);
Tailwind
colors: {
custom: {
50: '#cf6e66',
500: '#af282d',
950: '#000000',
},
}SCSS
$custom: #af282d; $custom-light: #cf6e66; $custom-dark: #000000;
JSON
{
"hex": "#af282d",
"rgb": {
"r": 175,
"g": 40,
"b": 45
},
"hsl": {
"h": 357.778,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.49733,
"c": 0.17109,
"h": 24.3
},
"luminance": 0.10821
}Semantic roles & 50–950 ramp
primary
#AF282D
secondary
#6DC6C3
accent
#E6E042
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A