#AF2942#AF2942
#AF2942 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.169 H 15.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2942 |
|---|---|
| RGB | rgb(175, 41, 66) |
| HSL | hsl(349, 62%, 42%) |
| HSV | hsv(349, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 62.3%, 31.4%) |
| CIE-LAB | lab(39.74, 54.41, 18.87) |
| CIE-LCH | lch(39.74, 57.59, 19.13°) |
| OKLab | oklab(50.19% 0.1629 0.0459) |
| OKLCH | oklch(50.19% 0.169 15.7) |
| XYZ | xyz(19.4575, 11.0961, 6.2704) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.86
Rose Red
#BE013C
ΔE00 3.18
Ruby
#CA0147
ΔE00 4.80
Cardinal
#C41E3A
ΔE00 5.04
Raspberry (survey)
#B00149
ΔE00 5.55
Lipstick Red
#C0022F
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2942 #29AF96
analogous
#AF2985 #AF2942 #AF5329
triadic
#AF2942 #42AF29 #2942AF
tetradic
#AF2942 #85AF29 #29AF96 #5329AF
square
#AF2942 #85AF29 #29AF96 #5329AF
split-complementary
#AF2942 #29AF53 #2985AF
monochromatic
#4C121D #7D1D2F #AF2942 #D3425D #DE7488
Accessibility & contrast
On white
6.52
#AF2942 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#AF2942 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2942
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2942 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2942 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4C42
Deuteranopia (green-blind)
#71683E
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2942; /* rgb */ color: rgb(175, 41, 66); /* oklch */ color: oklch(50.2% 0.169 15.7);
Tailwind
colors: {
custom: {
50: '#ce6f76',
500: '#af2942',
950: '#000000',
},
}SCSS
$custom: #af2942; $custom-light: #ce6f76; $custom-dark: #000000;
JSON
{
"hex": "#af2942",
"rgb": {
"r": 175,
"g": 41,
"b": 66
},
"hsl": {
"h": 348.806,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.50185,
"c": 0.16924,
"h": 15.7
},
"luminance": 0.11093
}Semantic roles & 50–950 ramp
primary
#AF2942
secondary
#6EC6B5
accent
#E5C743
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B