#AF5046#AF5046
#AF5046 is a mid, vivid red. Relative luminance 0.153; OKLCH L 54.9% C 0.126 H 28.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5046 |
|---|---|
| RGB | rgb(175, 80, 70) |
| HSL | hsl(6, 43%, 48%) |
| HSV | hsv(6, 60%, 69%) |
| CMYK | cmyk(0%, 54.3%, 60%, 31.4%) |
| CIE-LAB | lab(46.04, 37.98, 24.59) |
| CIE-LCH | lch(46.04, 45.25, 32.92°) |
| OKLab | oklab(54.93% 0.1116 0.0593) |
| OKLCH | oklch(54.93% 0.126 28) |
| XYZ | xyz(21.6552, 15.2961, 7.6052) |
| Luminance | 0.1529 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 4.26
Reddish
#C44240
ΔE00 4.65
Dusty Red
#B9484E
ΔE00 4.98
Dark Salmon
#C85A53
ΔE00 6.37
Dark Coral
#CF524E
ΔE00 6.83
Faded Red
#D3494E
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5046 #46A5AF
analogous
#AF4671 #AF5046 #AF8446
triadic
#AF5046 #46AF50 #5046AF
tetradic
#AF5046 #71AF46 #46A5AF #8446AF
square
#AF5046 #71AF46 #46A5AF #8446AF
split-complementary
#AF5046 #46AF84 #4671AF
monochromatic
#582823 #833C35 #AF5046 #C5766D #D69F99
Accessibility & contrast
On white
5.17
#AF5046 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#AF5046 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5046
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5046 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5046 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#686045
Deuteranopia (green-blind)
#7F7544
Tritanopia (blue-blind)
#BF3F4E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #af5046; /* rgb */ color: rgb(175, 80, 70); /* oklch */ color: oklch(54.9% 0.126 28.0);
Tailwind
colors: {
custom: {
50: '#cc8479',
500: '#af5046',
950: '#000000',
},
}SCSS
$custom: #af5046; $custom-light: #cc8479; $custom-dark: #000000;
JSON
{
"hex": "#af5046",
"rgb": {
"r": 175,
"g": 80,
"b": 70
},
"hsl": {
"h": 5.714,
"s": 42.857,
"l": 48.039
},
"oklch": {
"l": 0.54928,
"c": 0.12639,
"h": 28
},
"luminance": 0.15293
}Semantic roles & 50–950 ramp
primary
#AF5046
secondary
#8EBDC2
accent
#C7D355
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#140B09
muted
#837C7B