#AF2A38#AF2A38
#AF2A38 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.168 H 20.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2A38 |
|---|---|
| RGB | rgb(175, 42, 56) |
| HSL | hsl(354, 61%, 43%) |
| HSV | hsv(354, 76%, 69%) |
| CMYK | cmyk(0%, 76%, 68%, 31.4%) |
| CIE-LAB | lab(39.68, 53.50, 25.04) |
| CIE-LCH | lch(39.68, 59.07, 25.08°) |
| OKLab | oklab(50.08% 0.1579 0.0588) |
| OKLCH | oklch(50.08% 0.168 20.4) |
| XYZ | xyz(19.2231, 11.0583, 4.8629) |
| Luminance | 0.1105 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick Red
#C0022F
ΔE00 3.60
Cardinal
#C41E3A
ΔE00 3.77
Rose Red
#BE013C
ΔE00 4.15
Rouge
#AB1239
ΔE00 4.26
Brown
#A52A2A
ΔE00 4.28
Dull Red
#BB3F3F
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2A38 #2AAFA1
analogous
#AF2A7B #AF2A38 #AF5E2A
triadic
#AF2A38 #38AF2A #2A38AF
tetradic
#AF2A38 #7BAF2A #2AAFA1 #5E2AAF
square
#AF2A38 #7BAF2A #2AAFA1 #5E2AAF
split-complementary
#AF2A38 #2AAF5E #2A7BAF
monochromatic
#4C1218 #7E1E28 #AF2A38 #D24453 #DE7580
Accessibility & contrast
On white
6.54
#AF2A38 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AF2A38 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2A38
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2A38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2A38 | 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)
#514B37
Deuteranopia (green-blind)
#726834
Tritanopia (blue-blind)
#C00030
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2a38; /* rgb */ color: rgb(175, 42, 56); /* oklch */ color: oklch(50.1% 0.168 20.4);
Tailwind
colors: {
custom: {
50: '#cf6f6e',
500: '#af2a38',
950: '#000000',
},
}SCSS
$custom: #af2a38; $custom-light: #cf6f6e; $custom-dark: #000000;
JSON
{
"hex": "#af2a38",
"rgb": {
"r": 175,
"g": 42,
"b": 56
},
"hsl": {
"h": 353.684,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.50079,
"c": 0.16849,
"h": 20.4
},
"luminance": 0.11055
}Semantic roles & 50–950 ramp
primary
#AF2A38
secondary
#6FC6BC
accent
#E4D343
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A