#AF2A40#AF2A40
#AF2A40 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.168 H 16.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2A40 |
|---|---|
| RGB | rgb(175, 42, 64) |
| HSL | hsl(350, 61%, 43%) |
| HSV | hsv(350, 76%, 69%) |
| CMYK | cmyk(0%, 76%, 63.4%, 31.4%) |
| CIE-LAB | lab(39.82, 53.96, 20.23) |
| CIE-LCH | lch(39.82, 57.63, 20.55°) |
| OKLab | oklab(50.23% 0.1611 0.0488) |
| OKLCH | oklch(50.23% 0.168 16.9) |
| XYZ | xyz(19.4346, 11.1429, 5.9770) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.00
Rose Red
#BE013C
ΔE00 3.16
Cardinal
#C41E3A
ΔE00 4.54
Ruby
#CA0147
ΔE00 5.05
Lipstick Red
#C0022F
ΔE00 5.18
Raspberry (survey)
#B00149
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2A40 #2AAF99
analogous
#AF2A83 #AF2A40 #AF562A
triadic
#AF2A40 #40AF2A #2A40AF
tetradic
#AF2A40 #83AF2A #2AAF99 #562AAF
square
#AF2A40 #83AF2A #2AAF99 #562AAF
split-complementary
#AF2A40 #2AAF56 #2A83AF
monochromatic
#4C121C #7E1E2E #AF2A40 #D2445C #DE7587
Accessibility & contrast
On white
6.51
#AF2A40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#AF2A40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2A40
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2A40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2A40 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4C40
Deuteranopia (green-blind)
#71683C
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2a40; /* rgb */ color: rgb(175, 42, 64); /* oklch */ color: oklch(50.2% 0.168 16.9);
Tailwind
colors: {
custom: {
50: '#ce6f74',
500: '#af2a40',
950: '#000000',
},
}SCSS
$custom: #af2a40; $custom-light: #ce6f74; $custom-dark: #000000;
JSON
{
"hex": "#af2a40",
"rgb": {
"r": 175,
"g": 42,
"b": 64
},
"hsl": {
"h": 350.075,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.5023,
"c": 0.1683,
"h": 16.9
},
"luminance": 0.1114
}Semantic roles & 50–950 ramp
primary
#AF2A40
secondary
#6FC6B7
accent
#E4CA43
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B