#AF2940#AF2940
#AF2940 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.169 H 16.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2940 |
|---|---|
| RGB | rgb(175, 41, 64) |
| HSL | hsl(350, 62%, 42%) |
| HSV | hsv(350, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 63.4%, 31.4%) |
| CIE-LAB | lab(39.70, 54.29, 20.08) |
| CIE-LCH | lch(39.70, 57.88, 20.30°) |
| OKLab | oklab(50.14% 0.1621 0.0485) |
| OKLCH | oklch(50.14% 0.169 16.6) |
| XYZ | xyz(19.3996, 11.0729, 5.9653) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.85
Rose Red
#BE013C
ΔE00 3.09
Cardinal
#C41E3A
ΔE00 4.63
Ruby
#CA0147
ΔE00 5.00
Lipstick Red
#C0022F
ΔE00 5.24
Raspberry (survey)
#B00149
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2940 #29AF98
analogous
#AF2983 #AF2940 #AF5529
triadic
#AF2940 #40AF29 #2940AF
tetradic
#AF2940 #83AF29 #29AF98 #5529AF
square
#AF2940 #83AF29 #29AF98 #5529AF
split-complementary
#AF2940 #29AF55 #2983AF
monochromatic
#4C121C #7D1D2E #AF2940 #D3425B #DE7486
Accessibility & contrast
On white
6.53
#AF2940 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AF2940 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2940
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2940 | 1.00 | 6.53 | 3.21 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 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: #af2940; /* rgb */ color: rgb(175, 41, 64); /* oklch */ color: oklch(50.1% 0.169 16.6);
Tailwind
colors: {
custom: {
50: '#ce6f74',
500: '#af2940',
950: '#000000',
},
}SCSS
$custom: #af2940; $custom-light: #ce6f74; $custom-dark: #000000;
JSON
{
"hex": "#af2940",
"rgb": {
"r": 175,
"g": 41,
"b": 64
},
"hsl": {
"h": 349.701,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.50143,
"c": 0.1692,
"h": 16.6
},
"luminance": 0.1107
}Semantic roles & 50–950 ramp
primary
#AF2940
secondary
#6EC6B7
accent
#E5C943
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B