#AF372C#AF372C
#AF372C is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.2% C 0.158 H 29.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #AF372C |
|---|---|
| RGB | rgb(175, 55, 44) |
| HSL | hsl(5, 60%, 43%) |
| HSV | hsv(5, 75%, 69%) |
| CMYK | cmyk(0%, 68.6%, 74.9%, 31.4%) |
| CIE-LAB | lab(41.27, 48.07, 34.08) |
| CIE-LCH | lch(41.27, 58.93, 35.34°) |
| OKLab | oklab(51.21% 0.1381 0.0764) |
| OKLCH | oklch(51.21% 0.158 29) |
| XYZ | xyz(19.5022, 12.0311, 3.6777) |
| Luminance | 0.1203 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.04
Brick
#A03623
ΔE00 3.72
Brown
#A52A2A
ΔE00 3.99
Brownish Red
#9E3623
ΔE00 4.04
Scarlet
#BE0119
ΔE00 4.93
Dull Red
#BB3F3F
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF372C #2CA4AF
analogous
#AF2C63 #AF372C #AF782C
triadic
#AF372C #2CAF37 #372CAF
tetradic
#AF372C #63AF2C #2CA4AF #782CAF
square
#AF372C #63AF2C #2CA4AF #782CAF
split-complementary
#AF372C #2CAF78 #2C63AF
monochromatic
#4D1813 #7E2820 #AF372C #D15347 #DD8178
Accessibility & contrast
On white
6.17
#AF372C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#AF372C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF372C
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF372C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF372C | 1.00 | 6.17 | 3.41 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59512A
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#C11135
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #af372c; /* rgb */ color: rgb(175, 55, 44); /* oklch */ color: oklch(51.2% 0.158 29.0);
Tailwind
colors: {
custom: {
50: '#cf7566',
500: '#af372c',
950: '#000000',
},
}SCSS
$custom: #af372c; $custom-light: #cf7566; $custom-dark: #000000;
JSON
{
"hex": "#af372c",
"rgb": {
"r": 175,
"g": 55,
"b": 44
},
"hsl": {
"h": 5.038,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.51209,
"c": 0.15788,
"h": 29
},
"luminance": 0.12028
}Semantic roles & 50–950 ramp
primary
#AF372C
secondary
#72BEC5
accent
#D6E345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A