#AF402A#AF402A
#AF402A is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.3% C 0.150 H 33.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #AF402A |
|---|---|
| RGB | rgb(175, 64, 42) |
| HSL | hsl(10, 61%, 43%) |
| HSV | hsv(10, 76%, 69%) |
| CMYK | cmyk(0%, 63.4%, 76%, 31.4%) |
| CIE-LAB | lab(42.69, 44.09, 36.76) |
| CIE-LCH | lch(42.69, 57.40, 39.82°) |
| OKLab | oklab(52.27% 0.1253 0.0818) |
| OKLCH | oklch(52.27% 0.15 33.1) |
| XYZ | xyz(19.9327, 12.9507, 3.6402) |
| Luminance | 0.1295 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 3.97
Brownish Red
#9E3623
ΔE00 4.32
Rusty Red
#AF2F0D
ΔE00 4.72
Firebrick
#B22222
ΔE00 5.59
Rust Red
#AA2704
ΔE00 6.12
Rust
#B7410E
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF402A #2A99AF
analogous
#AF2A56 #AF402A #AF832A
triadic
#AF402A #2AAF40 #402AAF
tetradic
#AF402A #56AF2A #2A99AF #832AAF
square
#AF402A #56AF2A #2A99AF #832AAF
split-complementary
#AF402A #2AAF83 #2A56AF
monochromatic
#4C1C12 #7E2E1E #AF402A #D25C44 #DE8775
Accessibility & contrast
On white
5.85
#AF402A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#AF402A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF402A
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF402A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF402A | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5527
Deuteranopia (green-blind)
#7A6E26
Tritanopia (blue-blind)
#C0243C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #af402a; /* rgb */ color: rgb(175, 64, 42); /* oklch */ color: oklch(52.3% 0.150 33.1);
Tailwind
colors: {
custom: {
50: '#cf7a65',
500: '#af402a',
950: '#000000',
},
}SCSS
$custom: #af402a; $custom-light: #cf7a65; $custom-dark: #000000;
JSON
{
"hex": "#af402a",
"rgb": {
"r": 175,
"g": 64,
"b": 42
},
"hsl": {
"h": 9.925,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.52271,
"c": 0.14963,
"h": 33.1
},
"luminance": 0.12948
}Semantic roles & 50–950 ramp
primary
#AF402A
secondary
#6FB7C6
accent
#CAE443
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150905
muted
#837B7A