#AF322A#AF322A
#AF322A is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.6% C 0.163 H 28.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AF322A |
|---|---|
| RGB | rgb(175, 50, 42) |
| HSL | hsl(4, 61%, 43%) |
| HSV | hsv(4, 76%, 69%) |
| CMYK | cmyk(0%, 71.4%, 76%, 31.4%) |
| CIE-LAB | lab(40.52, 49.97, 34.40) |
| CIE-LCH | lch(40.52, 60.67, 34.55°) |
| OKLab | oklab(50.64% 0.1437 0.0767) |
| OKLCH | oklch(50.64% 0.163 28.1) |
| XYZ | xyz(19.2399, 11.5652, 3.4093) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.16
Brown
#A52A2A
ΔE00 3.23
Brick
#A03623
ΔE00 3.82
Brownish Red
#9E3623
ΔE00 4.11
Scarlet
#BE0119
ΔE00 4.26
Dull Red
#BB3F3F
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF322A #2AA7AF
analogous
#AF2A65 #AF322A #AF742A
triadic
#AF322A #2AAF32 #322AAF
tetradic
#AF322A #65AF2A #2AA7AF #742AAF
square
#AF322A #65AF2A #2AA7AF #742AAF
split-complementary
#AF322A #2AAF74 #2A65AF
monochromatic
#4C1612 #7E241E #AF322A #D24D44 #DE7C75
Accessibility & contrast
On white
6.34
#AF322A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#AF322A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF322A
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF322A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF322A | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564E28
Deuteranopia (green-blind)
#766925
Tritanopia (blue-blind)
#C10031
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af322a; /* rgb */ color: rgb(175, 50, 42); /* oklch */ color: oklch(50.6% 0.163 28.1);
Tailwind
colors: {
custom: {
50: '#cf7264',
500: '#af322a',
950: '#000000',
},
}SCSS
$custom: #af322a; $custom-light: #cf7264; $custom-dark: #000000;
JSON
{
"hex": "#af322a",
"rgb": {
"r": 175,
"g": 50,
"b": 42
},
"hsl": {
"h": 3.609,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.50641,
"c": 0.16286,
"h": 28.1
},
"luminance": 0.11562
}Semantic roles & 50–950 ramp
primary
#AF322A
secondary
#6FC0C6
accent
#DBE443
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A