#AF412A#AF412A
#AF412A is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.4% C 0.149 H 33.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AF412A |
|---|---|
| RGB | rgb(175, 65, 42) |
| HSL | hsl(10, 61%, 43%) |
| HSV | hsv(10, 76%, 69%) |
| CMYK | cmyk(0%, 62.9%, 76%, 31.4%) |
| CIE-LAB | lab(42.86, 43.64, 36.94) |
| CIE-LCH | lch(42.86, 57.17, 40.25°) |
| OKLab | oklab(52.4% 0.1239 0.0822) |
| OKLCH | oklch(52.4% 0.149 33.5) |
| XYZ | xyz(19.9896, 13.0645, 3.6592) |
| Luminance | 0.1306 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 4.15
Brownish Red
#9E3623
ΔE00 4.48
Rusty Red
#AF2F0D
ΔE00 4.71
Firebrick
#B22222
ΔE00 5.90
Rust
#B7410E
ΔE00 6.15
Rust Red
#AA2704
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF412A #2A98AF
analogous
#AF2A55 #AF412A #AF832A
triadic
#AF412A #2AAF41 #412AAF
tetradic
#AF412A #55AF2A #2A98AF #832AAF
square
#AF412A #55AF2A #2A98AF #832AAF
split-complementary
#AF412A #2AAF83 #2A55AF
monochromatic
#4C1C12 #7E2F1E #AF412A #D25D44 #DE8875
Accessibility & contrast
On white
5.81
#AF412A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#AF412A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF412A
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF412A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF412A | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605627
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#C0263C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #af412a; /* rgb */ color: rgb(175, 65, 42); /* oklch */ color: oklch(52.4% 0.149 33.5);
Tailwind
colors: {
custom: {
50: '#cf7a65',
500: '#af412a',
950: '#000000',
},
}SCSS
$custom: #af412a; $custom-light: #cf7a65; $custom-dark: #000000;
JSON
{
"hex": "#af412a",
"rgb": {
"r": 175,
"g": 65,
"b": 42
},
"hsl": {
"h": 10.376,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.52401,
"c": 0.14866,
"h": 33.5
},
"luminance": 0.13062
}Semantic roles & 50–950 ramp
primary
#AF412A
secondary
#6FB7C6
accent
#C9E443
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150A05
muted
#837C7A