#AF513A#AF513A
#AF513A is a mid, vivid red. Relative luminance 0.153; OKLCH L 54.9% C 0.129 H 35.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AF513A |
|---|---|
| RGB | rgb(175, 81, 58) |
| HSL | hsl(12, 50%, 46%) |
| HSV | hsv(12, 67%, 69%) |
| CMYK | cmyk(0%, 53.7%, 66.9%, 31.4%) |
| CIE-LAB | lab(46.05, 36.65, 31.60) |
| CIE-LCH | lch(46.05, 48.40, 40.77°) |
| OKLab | oklab(54.88% 0.1053 0.0736) |
| OKLCH | oklch(54.88% 0.129 35) |
| XYZ | xyz(21.3873, 15.3069, 5.8304) |
| Luminance | 0.1530 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Sienna
#A0522D
ΔE00 5.90
Reddish
#C44240
ΔE00 7.03
Dull Red
#BB3F3F
ΔE00 7.21
Brick
#A03623
ΔE00 7.42
Rust
#B7410E
ΔE00 7.49
Brownish Red
#9E3623
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF513A #3A98AF
analogous
#AF3A5D #AF513A #AF8B3A
triadic
#AF513A #3AAF51 #513AAF
tetradic
#AF513A #5DAF3A #3A98AF #8B3AAF
square
#AF513A #5DAF3A #3A98AF #8B3AAF
split-complementary
#AF513A #3AAF8B #3A5DAF
monochromatic
#53261C #813C2B #AF513A #C9725D #D99A8B
Accessibility & contrast
On white
5.17
#AF513A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#AF513A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF513A
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF513A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF513A | 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)
#6A6038
Deuteranopia (green-blind)
#817538
Tritanopia (blue-blind)
#C03F4C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #af513a; /* rgb */ color: rgb(175, 81, 58); /* oklch */ color: oklch(54.9% 0.129 35.0);
Tailwind
colors: {
custom: {
50: '#cd8471',
500: '#af513a',
950: '#000000',
},
}SCSS
$custom: #af513a; $custom-light: #cd8471; $custom-dark: #000000;
JSON
{
"hex": "#af513a",
"rgb": {
"r": 175,
"g": 81,
"b": 58
},
"hsl": {
"h": 11.795,
"s": 50.215,
"l": 45.686
},
"oklch": {
"l": 0.54879,
"c": 0.12852,
"h": 35
},
"luminance": 0.15304
}Semantic roles & 50–950 ramp
primary
#AF513A
secondary
#82B6C3
accent
#BEDA4E
background
#FDF8F6
surface
#FAEFEC
border
#D3CAC7
text
#150B07
muted
#837C7A