#AF3141#AF3141
#AF3141 is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.162 H 18.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3141 |
|---|---|
| RGB | rgb(175, 49, 65) |
| HSL | hsl(352, 56%, 44%) |
| HSV | hsv(352, 72%, 69%) |
| CMYK | cmyk(0%, 72%, 62.9%, 31.4%) |
| CIE-LAB | lab(40.73, 51.55, 20.79) |
| CIE-LCH | lch(40.73, 55.59, 21.96°) |
| OKLab | oklab(50.91% 0.1535 0.0502) |
| OKLCH | oklch(50.91% 0.162 18.1) |
| XYZ | xyz(19.7337, 11.6951, 6.2183) |
| Luminance | 0.1169 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.94
Rouge
#AB1239
ΔE00 4.16
Cardinal
#C41E3A
ΔE00 4.21
Lipstick Red
#C0022F
ΔE00 5.14
Dusty Red
#B9484E
ΔE00 5.49
Ruby
#CA0147
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3141 #31AF9F
analogous
#AF3180 #AF3141 #AF6031
triadic
#AF3141 #41AF31 #3141AF
tetradic
#AF3141 #80AF31 #31AF9F #6031AF
square
#AF3141 #80AF31 #31AF9F #6031AF
split-complementary
#AF3141 #31AF60 #3180AF
monochromatic
#4F161D #7F242F #AF3141 #CE4F5F #DB7F8B
Accessibility & contrast
On white
6.29
#AF3141 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#AF3141 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3141
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3141 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3141 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534F41
Deuteranopia (green-blind)
#736A3E
Tritanopia (blue-blind)
#C00938
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #af3141; /* rgb */ color: rgb(175, 49, 65); /* oklch */ color: oklch(50.9% 0.162 18.1);
Tailwind
colors: {
custom: {
50: '#ce7275',
500: '#af3141',
950: '#000000',
},
}SCSS
$custom: #af3141; $custom-light: #ce7275; $custom-dark: #000000;
JSON
{
"hex": "#af3141",
"rgb": {
"r": 175,
"g": 49,
"b": 65
},
"hsl": {
"h": 352.381,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.5091,
"c": 0.16154,
"h": 18.1
},
"luminance": 0.11692
}Semantic roles & 50–950 ramp
primary
#AF3141
secondary
#78C4BA
accent
#E0CC48
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B