#AF402F#AF402F
#AF402F is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.3% C 0.149 H 31.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AF402F |
|---|---|
| RGB | rgb(175, 64, 47) |
| HSL | hsl(8, 58%, 44%) |
| HSV | hsv(8, 73%, 69%) |
| CMYK | cmyk(0%, 63.4%, 73.1%, 31.4%) |
| CIE-LAB | lab(42.75, 44.32, 34.03) |
| CIE-LCH | lch(42.75, 55.87, 37.52°) |
| OKLab | oklab(52.33% 0.127 0.077) |
| OKLCH | oklch(52.33% 0.149 31.2) |
| XYZ | xyz(20.0278, 12.9888, 4.1413) |
| Luminance | 0.1299 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 4.12
Brownish Red
#9E3623
ΔE00 4.45
Firebrick
#B22222
ΔE00 4.99
Dull Red
#BB3F3F
ΔE00 5.39
Brown
#A52A2A
ΔE00 5.87
Rusty Red
#AF2F0D
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF402F #2F9EAF
analogous
#AF2F5E #AF402F #AF802F
triadic
#AF402F #2FAF40 #402FAF
tetradic
#AF402F #5EAF2F #2F9EAF #802FAF
square
#AF402F #5EAF2F #2F9EAF #802FAF
split-complementary
#AF402F #2FAF80 #2F5EAF
monochromatic
#4F1D15 #7F2E22 #AF402F #CF5E4C #DC897C
Accessibility & contrast
On white
5.84
#AF402F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#AF402F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF402F
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF402F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF402F | 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)
#5F562D
Deuteranopia (green-blind)
#7A6E2C
Tritanopia (blue-blind)
#C0253D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #af402f; /* rgb */ color: rgb(175, 64, 47); /* oklch */ color: oklch(52.3% 0.149 31.2);
Tailwind
colors: {
custom: {
50: '#ce7a68',
500: '#af402f',
950: '#000000',
},
}SCSS
$custom: #af402f; $custom-light: #ce7a68; $custom-dark: #000000;
JSON
{
"hex": "#af402f",
"rgb": {
"r": 175,
"g": 64,
"b": 47
},
"hsl": {
"h": 7.969,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.52333,
"c": 0.14852,
"h": 31.2
},
"luminance": 0.12986
}Semantic roles & 50–950 ramp
primary
#AF402F
secondary
#75BAC4
accent
#CCE147
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150906
muted
#837B7A