#AF3132#AF3132
#AF3132 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.6% C 0.163 H 24.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3132 |
|---|---|
| RGB | rgb(175, 49, 50) |
| HSL | hsl(360, 56%, 44%) |
| HSV | hsv(360, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 71.4%, 31.4%) |
| CIE-LAB | lab(40.48, 50.71, 29.67) |
| CIE-LCH | lch(40.48, 58.75, 30.33°) |
| OKLab | oklab(50.65% 0.1477 0.0681) |
| OKLCH | oklch(50.65% 0.163 24.7) |
| XYZ | xyz(19.3554, 11.5438, 4.2260) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.67
Firebrick
#B22222
ΔE00 3.43
Dull Red
#BB3F3F
ΔE00 4.14
Lipstick Red
#C0022F
ΔE00 4.41
Cardinal
#C41E3A
ΔE00 4.96
Scarlet
#BE0119
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3132 #31AFAE
analogous
#AF3171 #AF3132 #AF6F31
triadic
#AF3132 #32AF31 #3132AF
tetradic
#AF3132 #71AF31 #31AFAE #6F31AF
square
#AF3132 #71AF31 #31AFAE #6F31AF
split-complementary
#AF3132 #31AF6F #3171AF
monochromatic
#4F1617 #7F2424 #AF3132 #CE4F50 #DB7F80
Accessibility & contrast
On white
6.35
#AF3132 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#AF3132 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3132
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3132 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3132 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554E31
Deuteranopia (green-blind)
#75692E
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af3132; /* rgb */ color: rgb(175, 49, 50); /* oklch */ color: oklch(50.6% 0.163 24.7);
Tailwind
colors: {
custom: {
50: '#cf726a',
500: '#af3132',
950: '#000000',
},
}SCSS
$custom: #af3132; $custom-light: #cf726a; $custom-dark: #000000;
JSON
{
"hex": "#af3132",
"rgb": {
"r": 175,
"g": 49,
"b": 50
},
"hsl": {
"h": 359.524,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.50648,
"c": 0.16266,
"h": 24.7
},
"luminance": 0.11541
}Semantic roles & 50–950 ramp
primary
#AF3132
secondary
#78C4C4
accent
#E0DE48
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A