#AF2A33#AF2A33
#AF2A33 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.169 H 22.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2A33 |
|---|---|
| RGB | rgb(175, 42, 51) |
| HSL | hsl(356, 61%, 43%) |
| HSV | hsv(356, 76%, 69%) |
| CMYK | cmyk(0%, 76%, 70.9%, 31.4%) |
| CIE-LAB | lab(39.60, 53.24, 28.02) |
| CIE-LCH | lch(39.60, 60.16, 27.75°) |
| OKLab | oklab(50% 0.156 0.0646) |
| OKLCH | oklch(50% 0.169 22.5) |
| XYZ | xyz(19.1069, 11.0118, 4.2508) |
| Luminance | 0.1101 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.95
Lipstick Red
#C0022F
ΔE00 3.40
Cardinal
#C41E3A
ΔE00 4.16
Firebrick
#B22222
ΔE00 4.35
Dull Red
#BB3F3F
ΔE00 4.98
Rose Red
#BE013C
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2A33 #2AAFA6
analogous
#AF2A75 #AF2A33 #AF642A
triadic
#AF2A33 #33AF2A #2A33AF
tetradic
#AF2A33 #75AF2A #2AAFA6 #642AAF
square
#AF2A33 #75AF2A #2AAFA6 #642AAF
split-complementary
#AF2A33 #2AAF64 #2A75AF
monochromatic
#4C1216 #7E1E25 #AF2A33 #D2444E #DE757C
Accessibility & contrast
On white
6.56
#AF2A33 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#AF2A33 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2A33
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2A33 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2A33 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514B32
Deuteranopia (green-blind)
#72682F
Tritanopia (blue-blind)
#C1002F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #af2a33; /* rgb */ color: rgb(175, 42, 51); /* oklch */ color: oklch(50.0% 0.169 22.5);
Tailwind
colors: {
custom: {
50: '#cf6f6a',
500: '#af2a33',
950: '#000000',
},
}SCSS
$custom: #af2a33; $custom-light: #cf6f6a; $custom-dark: #000000;
JSON
{
"hex": "#af2a33",
"rgb": {
"r": 175,
"g": 42,
"b": 51
},
"hsl": {
"h": 355.94,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.49996,
"c": 0.16884,
"h": 22.5
},
"luminance": 0.11009
}Semantic roles & 50–950 ramp
primary
#AF2A33
secondary
#6FC6C0
accent
#E4DA43
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A