#AF2A37#AF2A37
#AF2A37 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.1% C 0.169 H 20.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2A37 |
|---|---|
| RGB | rgb(175, 42, 55) |
| HSL | hsl(354, 61%, 43%) |
| HSV | hsv(354, 76%, 69%) |
| CMYK | cmyk(0%, 76%, 68.6%, 31.4%) |
| CIE-LAB | lab(39.66, 53.45, 25.64) |
| CIE-LCH | lch(39.66, 59.28, 25.62°) |
| OKLab | oklab(50.06% 0.1575 0.06) |
| OKLCH | oklch(50.06% 0.169 20.8) |
| XYZ | xyz(19.1989, 11.0486, 4.7354) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick Red
#C0022F
ΔE00 3.50
Cardinal
#C41E3A
ΔE00 3.79
Brown
#A52A2A
ΔE00 3.99
Rose Red
#BE013C
ΔE00 4.37
Rouge
#AB1239
ΔE00 4.50
Dull Red
#BB3F3F
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2A37 #2AAFA2
analogous
#AF2A7A #AF2A37 #AF5F2A
triadic
#AF2A37 #37AF2A #2A37AF
tetradic
#AF2A37 #7AAF2A #2AAFA2 #5F2AAF
square
#AF2A37 #7AAF2A #2AAFA2 #5F2AAF
split-complementary
#AF2A37 #2AAF5F #2A7AAF
monochromatic
#4C1218 #7E1E27 #AF2A37 #D24452 #DE7580
Accessibility & contrast
On white
6.54
#AF2A37 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AF2A37 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2A37
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2A37 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2A37 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514B36
Deuteranopia (green-blind)
#726833
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2a37; /* rgb */ color: rgb(175, 42, 55); /* oklch */ color: oklch(50.1% 0.169 20.8);
Tailwind
colors: {
custom: {
50: '#cf6f6d',
500: '#af2a37',
950: '#000000',
},
}SCSS
$custom: #af2a37; $custom-light: #cf6f6d; $custom-dark: #000000;
JSON
{
"hex": "#af2a37",
"rgb": {
"r": 175,
"g": 42,
"b": 55
},
"hsl": {
"h": 354.135,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.50062,
"c": 0.16856,
"h": 20.8
},
"luminance": 0.11046
}Semantic roles & 50–950 ramp
primary
#AF2A37
secondary
#6FC6BD
accent
#E4D543
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A