#AF2931#AF2931
#AF2931 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.9% C 0.170 H 23.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2931 |
|---|---|
| RGB | rgb(175, 41, 49) |
| HSL | hsl(356, 62%, 42%) |
| HSV | hsv(356, 77%, 69%) |
| CMYK | cmyk(0%, 76.6%, 72%, 31.4%) |
| CIE-LAB | lab(39.45, 53.48, 29.06) |
| CIE-LCH | lch(39.45, 60.86, 28.52°) |
| OKLab | oklab(49.88% 0.1563 0.0665) |
| OKLCH | oklch(49.88% 0.17 23.1) |
| XYZ | xyz(19.0287, 10.9245, 4.0118) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.58
Lipstick Red
#C0022F
ΔE00 3.43
Firebrick
#B22222
ΔE00 3.85
Cardinal
#C41E3A
ΔE00 4.41
Dull Red
#BB3F3F
ΔE00 5.08
Scarlet
#BE0119
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2931 #29AFA7
analogous
#AF2974 #AF2931 #AF6429
triadic
#AF2931 #31AF29 #2931AF
tetradic
#AF2931 #74AF29 #29AFA7 #6429AF
square
#AF2931 #74AF29 #29AFA7 #6429AF
split-complementary
#AF2931 #29AF64 #2974AF
monochromatic
#4C1215 #7D1D23 #AF2931 #D3424B #DE747A
Accessibility & contrast
On white
6.59
#AF2931 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AF2931 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2931
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2931 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2931 | 1.00 | 6.59 | 3.18 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514B30
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#C1002D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2931; /* rgb */ color: rgb(175, 41, 49); /* oklch */ color: oklch(49.9% 0.170 23.1);
Tailwind
colors: {
custom: {
50: '#cf6e69',
500: '#af2931',
950: '#000000',
},
}SCSS
$custom: #af2931; $custom-light: #cf6e69; $custom-dark: #000000;
JSON
{
"hex": "#af2931",
"rgb": {
"r": 175,
"g": 41,
"b": 49
},
"hsl": {
"h": 356.418,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.49877,
"c": 0.16987,
"h": 23.1
},
"luminance": 0.10922
}Semantic roles & 50–950 ramp
primary
#AF2931
secondary
#6EC6C1
accent
#E5DB43
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A