#AF2934#AF2934
#AF2934 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.170 H 21.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2934 |
|---|---|
| RGB | rgb(175, 41, 52) |
| HSL | hsl(355, 62%, 42%) |
| HSV | hsv(355, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 70.3%, 31.4%) |
| CIE-LAB | lab(39.50, 53.62, 27.28) |
| CIE-LCH | lch(39.50, 60.16, 26.96°) |
| OKLab | oklab(49.92% 0.1574 0.0632) |
| OKLCH | oklch(49.92% 0.17 21.9) |
| XYZ | xyz(19.0941, 10.9507, 4.3564) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.28
Lipstick Red
#C0022F
ΔE00 3.31
Cardinal
#C41E3A
ΔE00 4.00
Firebrick
#B22222
ΔE00 4.79
Rose Red
#BE013C
ΔE00 4.95
Rouge
#AB1239
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2934 #29AFA4
analogous
#AF2977 #AF2934 #AF6129
triadic
#AF2934 #34AF29 #2934AF
tetradic
#AF2934 #77AF29 #29AFA4 #6129AF
square
#AF2934 #77AF29 #29AFA4 #6129AF
split-complementary
#AF2934 #29AF61 #2977AF
monochromatic
#4C1217 #7D1D25 #AF2934 #D3424E #DE747D
Accessibility & contrast
On white
6.58
#AF2934 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#AF2934 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2934
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2934 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2934 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514B33
Deuteranopia (green-blind)
#726730
Tritanopia (blue-blind)
#C1002E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2934; /* rgb */ color: rgb(175, 41, 52); /* oklch */ color: oklch(49.9% 0.170 21.9);
Tailwind
colors: {
custom: {
50: '#cf6f6b',
500: '#af2934',
950: '#000000',
},
}SCSS
$custom: #af2934; $custom-light: #cf6f6b; $custom-dark: #000000;
JSON
{
"hex": "#af2934",
"rgb": {
"r": 175,
"g": 41,
"b": 52
},
"hsl": {
"h": 355.075,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.49924,
"c": 0.16962,
"h": 21.9
},
"luminance": 0.10948
}Semantic roles & 50–950 ramp
primary
#AF2934
secondary
#6EC6BF
accent
#E5D843
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A