#AF372A#AF372A
#AF372A is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.2% C 0.158 H 29.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AF372A |
|---|---|
| RGB | rgb(175, 55, 42) |
| HSL | hsl(6, 61%, 43%) |
| HSV | hsv(6, 76%, 69%) |
| CMYK | cmyk(0%, 68.6%, 76%, 31.4%) |
| CIE-LAB | lab(41.24, 47.99, 35.20) |
| CIE-LCH | lch(41.24, 59.51, 36.26°) |
| OKLab | oklab(51.18% 0.1375 0.0784) |
| OKLCH | oklch(51.18% 0.158 29.7) |
| XYZ | xyz(19.4655, 12.0164, 3.4845) |
| Luminance | 0.1201 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.15
Brick
#A03623
ΔE00 3.41
Brownish Red
#9E3623
ΔE00 3.76
Brown
#A52A2A
ΔE00 4.34
Scarlet
#BE0119
ΔE00 4.90
Dull Red
#BB3F3F
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF372A #2AA2AF
analogous
#AF2A5F #AF372A #AF7A2A
triadic
#AF372A #2AAF37 #372AAF
tetradic
#AF372A #5FAF2A #2AA2AF #7A2AAF
square
#AF372A #5FAF2A #2AA2AF #7A2AAF
split-complementary
#AF372A #2AAF7A #2A5FAF
monochromatic
#4C1812 #7E271E #AF372A #D25244 #DE8075
Accessibility & contrast
On white
6.17
#AF372A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#AF372A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF372A
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF372A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF372A | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595128
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#C11035
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af372a; /* rgb */ color: rgb(175, 55, 42); /* oklch */ color: oklch(51.2% 0.158 29.7);
Tailwind
colors: {
custom: {
50: '#cf7564',
500: '#af372a',
950: '#000000',
},
}SCSS
$custom: #af372a; $custom-light: #cf7564; $custom-dark: #000000;
JSON
{
"hex": "#af372a",
"rgb": {
"r": 175,
"g": 55,
"b": 42
},
"hsl": {
"h": 5.865,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.51184,
"c": 0.15824,
"h": 29.7
},
"luminance": 0.12014
}Semantic roles & 50–950 ramp
primary
#AF372A
secondary
#6FBDC6
accent
#D5E443
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150905
muted
#837B7A