#AF2D31#AF2D31
#AF2D31 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.166 H 24.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2D31 |
|---|---|
| RGB | rgb(175, 45, 49) |
| HSL | hsl(358, 59%, 43%) |
| HSV | hsv(358, 74%, 69%) |
| CMYK | cmyk(0%, 74.3%, 72%, 31.4%) |
| CIE-LAB | lab(39.94, 52.12, 29.63) |
| CIE-LCH | lch(39.94, 59.95, 29.62°) |
| OKLab | oklab(50.24% 0.152 0.0678) |
| OKLCH | oklch(50.24% 0.166 24) |
| XYZ | xyz(19.1741, 11.2154, 4.0603) |
| Luminance | 0.1121 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.44
Firebrick
#B22222
ΔE00 3.43
Lipstick Red
#C0022F
ΔE00 3.91
Dull Red
#BB3F3F
ΔE00 4.61
Cardinal
#C41E3A
ΔE00 4.71
Scarlet
#BE0119
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2D31 #2DAFAB
analogous
#AF2D72 #AF2D31 #AF6A2D
triadic
#AF2D31 #31AF2D #2D31AF
tetradic
#AF2D31 #72AF2D #2DAFAB #6A2DAF
square
#AF2D31 #72AF2D #2DAFAB #6A2DAF
split-complementary
#AF2D31 #2DAF6A #2D72AF
monochromatic
#4E1416 #7E2023 #AF2D31 #D0494D #DD7A7D
Accessibility & contrast
On white
6.48
#AF2D31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#AF2D31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2D31
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2D31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2D31 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534C30
Deuteranopia (green-blind)
#74682D
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #af2d31; /* rgb */ color: rgb(175, 45, 49); /* oklch */ color: oklch(50.2% 0.166 24.0);
Tailwind
colors: {
custom: {
50: '#cf7069',
500: '#af2d31',
950: '#000000',
},
}SCSS
$custom: #af2d31; $custom-light: #cf7069; $custom-dark: #000000;
JSON
{
"hex": "#af2d31",
"rgb": {
"r": 175,
"g": 45,
"b": 49
},
"hsl": {
"h": 358.154,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.5024,
"c": 0.16642,
"h": 24
},
"luminance": 0.11212
}Semantic roles & 50–950 ramp
primary
#AF2D31
secondary
#73C5C2
accent
#E2DD46
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A