#AF2937#AF2937
#AF2937 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.169 H 20.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2937 |
|---|---|
| RGB | rgb(175, 41, 55) |
| HSL | hsl(354, 62%, 42%) |
| HSV | hsv(354, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 68.6%, 31.4%) |
| CIE-LAB | lab(39.54, 53.78, 25.49) |
| CIE-LCH | lch(39.54, 59.51, 25.36°) |
| OKLab | oklab(49.98% 0.1586 0.0597) |
| OKLCH | oklch(49.98% 0.169 20.6) |
| XYZ | xyz(19.1638, 10.9786, 4.7237) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick Red
#C0022F
ΔE00 3.48
Cardinal
#C41E3A
ΔE00 3.80
Brown
#A52A2A
ΔE00 4.09
Rose Red
#BE013C
ΔE00 4.22
Rouge
#AB1239
ΔE00 4.31
Dull Red
#BB3F3F
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2937 #29AFA1
analogous
#AF297A #AF2937 #AF5E29
triadic
#AF2937 #37AF29 #2937AF
tetradic
#AF2937 #7AAF29 #29AFA1 #5E29AF
square
#AF2937 #7AAF29 #29AFA1 #5E29AF
split-complementary
#AF2937 #29AF5E #297AAF
monochromatic
#4C1218 #7D1D27 #AF2937 #D34251 #DE747F
Accessibility & contrast
On white
6.57
#AF2937 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#AF2937 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2937
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2937 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2937 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504B36
Deuteranopia (green-blind)
#726733
Tritanopia (blue-blind)
#C0002F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2937; /* rgb */ color: rgb(175, 41, 55); /* oklch */ color: oklch(50.0% 0.169 20.6);
Tailwind
colors: {
custom: {
50: '#cf6f6d',
500: '#af2937',
950: '#000000',
},
}SCSS
$custom: #af2937; $custom-light: #cf6f6d; $custom-dark: #000000;
JSON
{
"hex": "#af2937",
"rgb": {
"r": 175,
"g": 41,
"b": 55
},
"hsl": {
"h": 353.731,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.49975,
"c": 0.16942,
"h": 20.6
},
"luminance": 0.10976
}Semantic roles & 50–950 ramp
primary
#AF2937
secondary
#6EC6BD
accent
#E5D443
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A