#AF5740#AF5740
#AF5740 is a mid, vivid red. Relative luminance 0.163; OKLCH L 55.9% C 0.121 H 35.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #AF5740 |
|---|---|
| RGB | rgb(175, 87, 64) |
| HSL | hsl(12, 46%, 47%) |
| HSV | hsv(12, 63%, 69%) |
| CMYK | cmyk(0%, 50.3%, 63.4%, 31.4%) |
| CIE-LAB | lab(47.37, 33.92, 29.76) |
| CIE-LCH | lch(47.37, 45.13, 41.27°) |
| OKLab | oklab(55.91% 0.098 0.0704) |
| OKLCH | oklch(55.91% 0.121 35.7) |
| XYZ | xyz(22.0147, 16.3031, 6.8370) |
| Luminance | 0.1630 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Clay
#B66A50
ΔE00 6.07
Sienna
#A0522D
ΔE00 6.11
Reddish
#C44240
ΔE00 7.66
Dark Salmon
#C85A53
ΔE00 7.67
Adobe
#BD6C48
ΔE00 8.02
Dull Red
#BB3F3F
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF5740 #4098AF
analogous
#AF4061 #AF5740 #AF8F40
triadic
#AF5740 #40AF57 #5740AF
tetradic
#AF5740 #61AF40 #4098AF #8F40AF
square
#AF5740 #61AF40 #4098AF #8F40AF
split-complementary
#AF5740 #40AF8F #4061AF
monochromatic
#552A1F #824130 #AF5740 #C77A65 #D7A092
Accessibility & contrast
On white
4.93
#AF5740 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#AF5740 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF5740
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF5740 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF5740 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E653E
Deuteranopia (green-blind)
#83783E
Tritanopia (blue-blind)
#BF4752
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #af5740; /* rgb */ color: rgb(175, 87, 64); /* oklch */ color: oklch(55.9% 0.121 35.7);
Tailwind
colors: {
custom: {
50: '#cc8875',
500: '#af5740',
950: '#000000',
},
}SCSS
$custom: #af5740; $custom-light: #cc8875; $custom-dark: #000000;
JSON
{
"hex": "#af5740",
"rgb": {
"r": 175,
"g": 87,
"b": 64
},
"hsl": {
"h": 12.432,
"s": 46.444,
"l": 46.863
},
"oklch": {
"l": 0.5591,
"c": 0.12061,
"h": 35.7
},
"luminance": 0.16301
}Semantic roles & 50–950 ramp
primary
#AF5740
secondary
#88B6C3
accent
#BBD652
background
#FDF8F7
surface
#FAF0ED
border
#D3CBC8
text
#140B08
muted
#837C7B