#AF2631#AF2631
#AF2631 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.172 H 22.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2631 |
|---|---|
| RGB | rgb(175, 38, 49) |
| HSL | hsl(355, 64%, 42%) |
| HSV | hsv(355, 78%, 69%) |
| CMYK | cmyk(0%, 78.3%, 72%, 31.4%) |
| CIE-LAB | lab(39.11, 54.43, 28.66) |
| CIE-LCH | lch(39.11, 61.51, 27.76°) |
| OKLab | oklab(49.63% 0.1593 0.0657) |
| OKLCH | oklch(49.63% 0.172 22.4) |
| XYZ | xyz(18.9289, 10.7249, 3.9786) |
| Luminance | 0.1072 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.81
Lipstick Red
#C0022F
ΔE00 3.19
Firebrick
#B22222
ΔE00 4.21
Cardinal
#C41E3A
ΔE00 4.29
Rose Red
#BE013C
ΔE00 5.30
Rouge
#AB1239
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2631 #26AFA4
analogous
#AF2676 #AF2631 #AF5F26
triadic
#AF2631 #31AF26 #2631AF
tetradic
#AF2631 #76AF26 #26AFA4 #5F26AF
square
#AF2631 #76AF26 #26AFA4 #5F26AF
split-complementary
#AF2631 #26AF5F #2676AF
monochromatic
#4A1015 #7D1B23 #AF2631 #D53D49 #E07079
Accessibility & contrast
On white
6.68
#AF2631 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#AF2631 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2631
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2631 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2631 | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504930
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#C1002C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #af2631; /* rgb */ color: rgb(175, 38, 49); /* oklch */ color: oklch(49.6% 0.172 22.4);
Tailwind
colors: {
custom: {
50: '#cf6d69',
500: '#af2631',
950: '#000000',
},
}SCSS
$custom: #af2631; $custom-light: #cf6d69; $custom-dark: #000000;
JSON
{
"hex": "#af2631",
"rgb": {
"r": 175,
"g": 38,
"b": 49
},
"hsl": {
"h": 355.182,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.49625,
"c": 0.17233,
"h": 22.4
},
"luminance": 0.10722
}Semantic roles & 50–950 ramp
primary
#AF2631
secondary
#6AC7BF
accent
#E7DA40
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A