#AF412F#AF412F
#AF412F is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.5% C 0.148 H 31.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AF412F |
|---|---|
| RGB | rgb(175, 65, 47) |
| HSL | hsl(8, 58%, 44%) |
| HSV | hsv(8, 73%, 69%) |
| CMYK | cmyk(0%, 62.9%, 73.1%, 31.4%) |
| CIE-LAB | lab(42.92, 43.86, 34.22) |
| CIE-LCH | lch(42.92, 55.63, 37.96°) |
| OKLab | oklab(52.46% 0.1256 0.0774) |
| OKLCH | oklch(52.46% 0.148 31.6) |
| XYZ | xyz(20.0847, 13.1026, 4.1602) |
| Luminance | 0.1310 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 4.21
Brownish Red
#9E3623
ΔE00 4.53
Firebrick
#B22222
ΔE00 5.27
Dull Red
#BB3F3F
ΔE00 5.58
Rusty Red
#AF2F0D
ΔE00 5.83
Reddish
#C44240
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF412F #2F9DAF
analogous
#AF2F5D #AF412F #AF812F
triadic
#AF412F #2FAF41 #412FAF
tetradic
#AF412F #5DAF2F #2F9DAF #812FAF
square
#AF412F #5DAF2F #2F9DAF #812FAF
split-complementary
#AF412F #2FAF81 #2F5DAF
monochromatic
#4F1D15 #7F2F22 #AF412F #CF5F4C #DC8A7C
Accessibility & contrast
On white
5.80
#AF412F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#AF412F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF412F
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF412F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF412F | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F562C
Deuteranopia (green-blind)
#7B6E2C
Tritanopia (blue-blind)
#C0263D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #af412f; /* rgb */ color: rgb(175, 65, 47); /* oklch */ color: oklch(52.5% 0.148 31.6);
Tailwind
colors: {
custom: {
50: '#ce7a68',
500: '#af412f',
950: '#000000',
},
}SCSS
$custom: #af412f; $custom-light: #ce7a68; $custom-dark: #000000;
JSON
{
"hex": "#af412f",
"rgb": {
"r": 175,
"g": 65,
"b": 47
},
"hsl": {
"h": 8.437,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.52462,
"c": 0.14753,
"h": 31.6
},
"luminance": 0.131
}Semantic roles & 50–950 ramp
primary
#AF412F
secondary
#75B9C4
accent
#CBE147
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150A06
muted
#837C7A