#AF5042#AF5042
#AF5042 is a mid, vivid red. Relative luminance 0.152; OKLCH L 54.9% C 0.127 H 30.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5042 |
|---|---|
| RGB | rgb(175, 80, 66) |
| HSL | hsl(8, 45%, 47%) |
| HSV | hsv(8, 62%, 69%) |
| CMYK | cmyk(0%, 54.3%, 62.3%, 31.4%) |
| CIE-LAB | lab(45.97, 37.69, 26.87) |
| CIE-LCH | lch(45.97, 46.29, 35.48°) |
| OKLab | oklab(54.86% 0.11 0.0641) |
| OKLCH | oklch(54.86% 0.127 30.2) |
| XYZ | xyz(21.5331, 15.2472, 6.9623) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 4.89
Reddish
#C44240
ΔE00 5.06
Dusty Red
#B9484E
ΔE00 6.27
Dark Salmon
#C85A53
ΔE00 6.78
Dark Coral
#CF524E
ΔE00 7.24
Brick
#A03623
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5042 #42A1AF
analogous
#AF426B #AF5042 #AF8642
triadic
#AF5042 #42AF50 #5042AF
tetradic
#AF5042 #6BAF42 #42A1AF #8642AF
square
#AF5042 #6BAF42 #42A1AF #8642AF
split-complementary
#AF5042 #42AF86 #426BAF
monochromatic
#562720 #833C31 #AF5042 #C67468 #D79D95
Accessibility & contrast
On white
5.19
#AF5042 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#AF5042 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5042
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5042 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#686040
Deuteranopia (green-blind)
#807540
Tritanopia (blue-blind)
#BF3F4D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #af5042; /* rgb */ color: rgb(175, 80, 66); /* oklch */ color: oklch(54.9% 0.127 30.2);
Tailwind
colors: {
custom: {
50: '#cc8476',
500: '#af5042',
950: '#000000',
},
}SCSS
$custom: #af5042; $custom-light: #cc8476; $custom-dark: #000000;
JSON
{
"hex": "#af5042",
"rgb": {
"r": 175,
"g": 80,
"b": 66
},
"hsl": {
"h": 7.706,
"s": 45.228,
"l": 47.255
},
"oklch": {
"l": 0.54856,
"c": 0.12732,
"h": 30.2
},
"luminance": 0.15245
}Semantic roles & 50–950 ramp
primary
#AF5042
secondary
#8ABBC2
accent
#C4D553
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#140B08
muted
#837C7B