#AF4F47#AF4F47
#AF4F47 is a mid, vivid red. Relative luminance 0.152; OKLCH L 54.8% C 0.127 H 26.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4F47 |
|---|---|
| RGB | rgb(175, 79, 71) |
| HSL | hsl(5, 42%, 48%) |
| HSV | hsv(5, 59%, 69%) |
| CMYK | cmyk(0%, 54.9%, 59.4%, 31.4%) |
| CIE-LAB | lab(45.86, 38.56, 23.77) |
| CIE-LCH | lch(45.86, 45.30, 31.65°) |
| OKLab | oklab(54.8% 0.1136 0.0575) |
| OKLCH | oklch(54.8% 0.127 26.9) |
| XYZ | xyz(21.6143, 15.1635, 7.7486) |
| Luminance | 0.1516 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.90
Dusty Red
#B9484E
ΔE00 4.36
Reddish
#C44240
ΔE00 4.50
Dark Salmon
#C85A53
ΔE00 6.43
Dark Coral
#CF524E
ΔE00 6.82
Faded Red
#D3494E
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4F47 #47A7AF
analogous
#AF4773 #AF4F47 #AF8347
triadic
#AF4F47 #47AF4F #4F47AF
tetradic
#AF4F47 #73AF47 #47A7AF #8347AF
square
#AF4F47 #73AF47 #47A7AF #8347AF
split-complementary
#AF4F47 #47AF83 #4773AF
monochromatic
#582824 #833B35 #AF4F47 #C4756F #D69F9A
Accessibility & contrast
On white
5.21
#AF4F47 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#AF4F47 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4F47
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4F47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4F47 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#676046
Deuteranopia (green-blind)
#7E7445
Tritanopia (blue-blind)
#BF3E4E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #af4f47; /* rgb */ color: rgb(175, 79, 71); /* oklch */ color: oklch(54.8% 0.127 26.9);
Tailwind
colors: {
custom: {
50: '#cc837a',
500: '#af4f47',
950: '#000000',
},
}SCSS
$custom: #af4f47; $custom-light: #cc837a; $custom-dark: #000000;
JSON
{
"hex": "#af4f47",
"rgb": {
"r": 175,
"g": 79,
"b": 71
},
"hsl": {
"h": 4.615,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.54797,
"c": 0.12733,
"h": 26.9
},
"luminance": 0.15161
}Semantic roles & 50–950 ramp
primary
#AF4F47
secondary
#8FBEC2
accent
#C9D256
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#140B09
muted
#837C7B