#AF2841#AF2841
#AF2841 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.1% C 0.170 H 16.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2841 |
|---|---|
| RGB | rgb(175, 40, 65) |
| HSL | hsl(349, 63%, 42%) |
| HSV | hsv(349, 77%, 69%) |
| CMYK | cmyk(0%, 77.1%, 62.9%, 31.4%) |
| CIE-LAB | lab(39.61, 54.67, 19.33) |
| CIE-LCH | lch(39.61, 57.99, 19.47°) |
| OKLab | oklab(50.08% 0.1635 0.0468) |
| OKLCH | oklch(50.08% 0.17 16) |
| XYZ | xyz(19.3942, 11.0161, 6.1051) |
| Luminance | 0.1101 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.71
Rose Red
#BE013C
ΔE00 3.07
Ruby
#CA0147
ΔE00 4.85
Cardinal
#C41E3A
ΔE00 4.92
Lipstick Red
#C0022F
ΔE00 5.57
Raspberry (survey)
#B00149
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2841 #28AF96
analogous
#AF2885 #AF2841 #AF5328
triadic
#AF2841 #41AF28 #2841AF
tetradic
#AF2841 #85AF28 #28AF96 #5328AF
square
#AF2841 #85AF28 #28AF96 #5328AF
split-complementary
#AF2841 #28AF53 #2885AF
monochromatic
#4B111C #7D1D2E #AF2841 #D4415C #DF7387
Accessibility & contrast
On white
6.56
#AF2841 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#AF2841 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2841
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2841 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2841 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4B41
Deuteranopia (green-blind)
#71673D
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2841; /* rgb */ color: rgb(175, 40, 65); /* oklch */ color: oklch(50.1% 0.170 16.0);
Tailwind
colors: {
custom: {
50: '#ce6e75',
500: '#af2841',
950: '#000000',
},
}SCSS
$custom: #af2841; $custom-light: #ce6e75; $custom-dark: #000000;
JSON
{
"hex": "#af2841",
"rgb": {
"r": 175,
"g": 40,
"b": 65
},
"hsl": {
"h": 348.889,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.50079,
"c": 0.17011,
"h": 16
},
"luminance": 0.11013
}Semantic roles & 50–950 ramp
primary
#AF2841
secondary
#6DC6B6
accent
#E6C742
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B