#AF2C31#AF2C31
#AF2C31 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.167 H 23.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2C31 |
|---|---|
| RGB | rgb(175, 44, 49) |
| HSL | hsl(358, 60%, 43%) |
| HSV | hsv(358, 75%, 69%) |
| CMYK | cmyk(0%, 74.9%, 72%, 31.4%) |
| CIE-LAB | lab(39.82, 52.47, 29.48) |
| CIE-LCH | lch(39.82, 60.19, 29.33°) |
| OKLab | oklab(50.15% 0.1531 0.0675) |
| OKLCH | oklch(50.15% 0.167 23.8) |
| XYZ | xyz(19.1364, 11.1400, 4.0477) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.45
Firebrick
#B22222
ΔE00 3.52
Lipstick Red
#C0022F
ΔE00 3.77
Cardinal
#C41E3A
ΔE00 4.62
Dull Red
#BB3F3F
ΔE00 4.73
Scarlet
#BE0119
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2C31 #2CAFAA
analogous
#AF2C72 #AF2C31 #AF682C
triadic
#AF2C31 #31AF2C #2C31AF
tetradic
#AF2C31 #72AF2C #2CAFAA #682CAF
square
#AF2C31 #72AF2C #2CAFAA #682CAF
split-complementary
#AF2C31 #2CAF68 #2C72AF
monochromatic
#4D1316 #7E2023 #AF2C31 #D1474D #DD787C
Accessibility & contrast
On white
6.51
#AF2C31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#AF2C31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2C31
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2C31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2C31 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534C30
Deuteranopia (green-blind)
#73682D
Tritanopia (blue-blind)
#C1002F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2c31; /* rgb */ color: rgb(175, 44, 49); /* oklch */ color: oklch(50.1% 0.167 23.8);
Tailwind
colors: {
custom: {
50: '#cf7069',
500: '#af2c31',
950: '#000000',
},
}SCSS
$custom: #af2c31; $custom-light: #cf7069; $custom-dark: #000000;
JSON
{
"hex": "#af2c31",
"rgb": {
"r": 175,
"g": 44,
"b": 49
},
"hsl": {
"h": 357.71,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.50147,
"c": 0.16729,
"h": 23.8
},
"luminance": 0.11137
}Semantic roles & 50–950 ramp
primary
#AF2C31
secondary
#72C5C2
accent
#E3DD45
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A