#AF373B#AF373B
#AF373B is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.4% C 0.156 H 22.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AF373B |
|---|---|
| RGB | rgb(175, 55, 59) |
| HSL | hsl(358, 52%, 45%) |
| HSV | hsv(358, 69%, 69%) |
| CMYK | cmyk(0%, 68.6%, 66.3%, 31.4%) |
| CIE-LAB | lab(41.48, 48.84, 25.43) |
| CIE-LCH | lch(41.48, 55.07, 27.51°) |
| OKLab | oklab(51.43% 0.1437 0.0601) |
| OKLCH | oklch(51.43% 0.156 22.7) |
| XYZ | xyz(19.8369, 12.1649, 5.4403) |
| Luminance | 0.1216 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.35
Cardinal
#C41E3A
ΔE00 4.29
Brown
#A52A2A
ΔE00 4.29
Lipstick Red
#C0022F
ΔE00 4.78
Dusty Red
#B9484E
ΔE00 5.09
Firebrick
#B22222
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF373B #37AFAB
analogous
#AF3777 #AF373B #AF6F37
triadic
#AF373B #3BAF37 #373BAF
tetradic
#AF373B #77AF37 #37AFAB #6F37AF
square
#AF373B #77AF37 #37AFAB #6F37AF
split-complementary
#AF373B #37AF6F #3777AF
monochromatic
#521A1C #80282B #AF373B #CB595C #D9878A
Accessibility & contrast
On white
6.12
#AF373B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#AF373B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF373B
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF373B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF373B | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#58523A
Deuteranopia (green-blind)
#766B38
Tritanopia (blue-blind)
#C0173A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #af373b; /* rgb */ color: rgb(175, 55, 59); /* oklch */ color: oklch(51.4% 0.156 22.7);
Tailwind
colors: {
custom: {
50: '#ce7571',
500: '#af373b',
950: '#000000',
},
}SCSS
$custom: #af373b; $custom-light: #ce7571; $custom-dark: #000000;
JSON
{
"hex": "#af373b",
"rgb": {
"r": 175,
"g": 55,
"b": 59
},
"hsl": {
"h": 358,
"s": 52.174,
"l": 45.098
},
"oklch": {
"l": 0.51435,
"c": 0.15575,
"h": 22.7
},
"luminance": 0.12162
}Semantic roles & 50–950 ramp
primary
#AF373B
secondary
#7FC3C1
accent
#DCD74C
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A