#AF5342#AF5342
#AF5342 is a mid, vivid red. Relative luminance 0.157; OKLCH L 55.3% C 0.124 H 32.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5342 |
|---|---|
| RGB | rgb(175, 83, 66) |
| HSL | hsl(9, 45%, 47%) |
| HSV | hsv(9, 62%, 69%) |
| CMYK | cmyk(0%, 52.6%, 62.3%, 31.4%) |
| CIE-LAB | lab(46.57, 36.15, 27.62) |
| CIE-LCH | lch(46.57, 45.50, 37.39°) |
| OKLab | oklab(55.31% 0.1052 0.0658) |
| OKLCH | oklch(55.31% 0.124 32) |
| XYZ | xyz(21.7577, 15.6964, 7.0371) |
| Luminance | 0.1569 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 5.87
Dull Red
#BB3F3F
ΔE00 5.98
Dark Salmon
#C85A53
ΔE00 6.80
Dusty Red
#B9484E
ΔE00 7.29
Dark Coral
#CF524E
ΔE00 7.46
Clay
#B66A50
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5342 #429EAF
analogous
#AF4267 #AF5342 #AF8A42
triadic
#AF5342 #42AF53 #5342AF
tetradic
#AF5342 #67AF42 #429EAF #8A42AF
square
#AF5342 #67AF42 #429EAF #8A42AF
split-complementary
#AF5342 #42AF8A #4267AF
monochromatic
#562920 #833E31 #AF5342 #C67768 #D79F95
Accessibility & contrast
On white
5.07
#AF5342 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#AF5342 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5342
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5342 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5342 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A6240
Deuteranopia (green-blind)
#817640
Tritanopia (blue-blind)
#BF424F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #af5342; /* rgb */ color: rgb(175, 83, 66); /* oklch */ color: oklch(55.3% 0.124 32.0);
Tailwind
colors: {
custom: {
50: '#cc8676',
500: '#af5342',
950: '#000000',
},
}SCSS
$custom: #af5342; $custom-light: #cc8676; $custom-dark: #000000;
JSON
{
"hex": "#af5342",
"rgb": {
"r": 175,
"g": 83,
"b": 66
},
"hsl": {
"h": 9.358,
"s": 45.228,
"l": 47.255
},
"oklch": {
"l": 0.55314,
"c": 0.1241,
"h": 32
},
"luminance": 0.15694
}Semantic roles & 50–950 ramp
primary
#AF5342
secondary
#8ABAC2
accent
#C1D553
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#140B08
muted
#837C7B