#AF402E#AF402E
#AF402E is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.3% C 0.149 H 31.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AF402E |
|---|---|
| RGB | rgb(175, 64, 46) |
| HSL | hsl(8, 58%, 43%) |
| HSV | hsv(8, 74%, 69%) |
| CMYK | cmyk(0%, 63.4%, 73.7%, 31.4%) |
| CIE-LAB | lab(42.73, 44.27, 34.58) |
| CIE-LCH | lch(42.73, 56.17, 37.99°) |
| OKLab | oklab(52.32% 0.1267 0.078) |
| OKLCH | oklch(52.32% 0.149 31.6) |
| XYZ | xyz(20.0079, 12.9808, 4.0362) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 4.05
Brownish Red
#9E3623
ΔE00 4.38
Firebrick
#B22222
ΔE00 5.08
Rusty Red
#AF2F0D
ΔE00 5.65
Dull Red
#BB3F3F
ΔE00 5.66
Brown
#A52A2A
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF402E #2E9DAF
analogous
#AF2E5C #AF402E #AF802E
triadic
#AF402E #2EAF40 #402EAF
tetradic
#AF402E #5CAF2E #2E9DAF #802EAF
square
#AF402E #5CAF2E #2E9DAF #802EAF
split-complementary
#AF402E #2EAF80 #2E5CAF
monochromatic
#4E1D15 #7F2E21 #AF402E #D05D4B #DC897B
Accessibility & contrast
On white
5.84
#AF402E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#AF402E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF402E
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF402E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF402E | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F562B
Deuteranopia (green-blind)
#7A6E2A
Tritanopia (blue-blind)
#C0253C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #af402e; /* rgb */ color: rgb(175, 64, 46); /* oklch */ color: oklch(52.3% 0.149 31.6);
Tailwind
colors: {
custom: {
50: '#ce7a67',
500: '#af402e',
950: '#000000',
},
}SCSS
$custom: #af402e; $custom-light: #ce7a67; $custom-dark: #000000;
JSON
{
"hex": "#af402e",
"rgb": {
"r": 175,
"g": 64,
"b": 46
},
"hsl": {
"h": 8.372,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.5232,
"c": 0.14873,
"h": 31.6
},
"luminance": 0.12978
}Semantic roles & 50–950 ramp
primary
#AF402E
secondary
#74B9C5
accent
#CCE246
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150906
muted
#837B7A