#AF403F#AF403F
#AF403F is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.6% C 0.146 H 24.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AF403F |
|---|---|
| RGB | rgb(175, 64, 63) |
| HSL | hsl(1, 47%, 47%) |
| HSV | hsv(1, 64%, 69%) |
| CMYK | cmyk(0%, 63.4%, 64%, 31.4%) |
| CIE-LAB | lab(42.98, 45.21, 24.89) |
| CIE-LCH | lch(42.98, 51.61, 28.84°) |
| OKLab | oklab(52.58% 0.133 0.0593) |
| OKLCH | oklch(52.58% 0.146 24) |
| XYZ | xyz(20.4118, 13.1424, 6.1636) |
| Luminance | 0.1314 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.40
Dusty Red
#B9484E
ΔE00 4.11
Reddish
#C44240
ΔE00 4.52
Cardinal
#C41E3A
ΔE00 5.38
Brown
#A52A2A
ΔE00 5.42
Lipstick Red
#C0022F
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF403F #3FAEAF
analogous
#AF3F76 #AF403F #AF783F
triadic
#AF403F #3FAF40 #403FAF
tetradic
#AF403F #76AF3F #3FAEAF #783FAF
square
#AF403F #76AF3F #3FAEAF #783FAF
split-complementary
#AF403F #3FAF78 #3F76AF
monochromatic
#551F1F #82302F #AF403F #C76564 #D79291
Accessibility & contrast
On white
5.79
#AF403F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#AF403F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF403F
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF403F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF403F | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D573E
Deuteranopia (green-blind)
#796E3C
Tritanopia (blue-blind)
#C02841
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #af403f; /* rgb */ color: rgb(175, 64, 63); /* oklch */ color: oklch(52.6% 0.146 24.0);
Tailwind
colors: {
custom: {
50: '#cd7a74',
500: '#af403f',
950: '#000000',
},
}SCSS
$custom: #af403f; $custom-light: #cd7a74; $custom-dark: #000000;
JSON
{
"hex": "#af403f",
"rgb": {
"r": 175,
"g": 64,
"b": 63
},
"hsl": {
"h": 0.536,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.52581,
"c": 0.14564,
"h": 24
},
"luminance": 0.1314
}Semantic roles & 50–950 ramp
primary
#AF403F
secondary
#87C2C3
accent
#D5D751
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150A08
muted
#837C7B