#AF2C42#AF2C42
#AF2C42 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.166 H 16.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C42 |
|---|---|
| RGB | rgb(175, 44, 66) |
| HSL | hsl(350, 60%, 43%) |
| HSV | hsv(350, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 62.3%, 31.4%) |
| CIE-LAB | lab(40.10, 53.41, 19.34) |
| CIE-LCH | lch(40.10, 56.81, 19.91°) |
| OKLab | oklab(50.45% 0.1597 0.047) |
| OKLCH | oklch(50.45% 0.166 16.4) |
| XYZ | xyz(19.5653, 11.3115, 6.3063) |
| Luminance | 0.1131 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.25
Rose Red
#BE013C
ΔE00 3.36
Cardinal
#C41E3A
ΔE00 4.75
Ruby
#CA0147
ΔE00 4.95
Lipstick Red
#C0022F
ΔE00 5.58
Raspberry (survey)
#B00149
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C42 #2CAF99
analogous
#AF2C83 #AF2C42 #AF582C
triadic
#AF2C42 #42AF2C #2C42AF
tetradic
#AF2C42 #83AF2C #2CAF99 #582CAF
square
#AF2C42 #83AF2C #2CAF99 #582CAF
split-complementary
#AF2C42 #2CAF58 #2C83AF
monochromatic
#4D131D #7E2030 #AF2C42 #D1475E #DD7889
Accessibility & contrast
On white
6.44
#AF2C42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#AF2C42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C42
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C42 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504D42
Deuteranopia (green-blind)
#72683E
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2c42; /* rgb */ color: rgb(175, 44, 66); /* oklch */ color: oklch(50.4% 0.166 16.4);
Tailwind
colors: {
custom: {
50: '#ce7076',
500: '#af2c42',
950: '#000000',
},
}SCSS
$custom: #af2c42; $custom-light: #ce7076; $custom-dark: #000000;
JSON
{
"hex": "#af2c42",
"rgb": {
"r": 175,
"g": 44,
"b": 66
},
"hsl": {
"h": 349.924,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.5045,
"c": 0.16645,
"h": 16.4
},
"luminance": 0.11309
}Semantic roles & 50–950 ramp
primary
#AF2C42
secondary
#72C5B7
accent
#E3C845
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B