#AF2F33#AF2F33
#AF2F33 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.164 H 23.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F33 |
|---|---|
| RGB | rgb(175, 47, 51) |
| HSL | hsl(358, 58%, 44%) |
| HSV | hsv(358, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 70.9%, 31.4%) |
| CIE-LAB | lab(40.23, 51.50, 28.76) |
| CIE-LCH | lch(40.23, 58.99, 29.19°) |
| OKLab | oklab(50.46% 0.1505 0.0663) |
| OKLCH | oklch(50.46% 0.164 23.8) |
| XYZ | xyz(19.2954, 11.3889, 4.3136) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.75
Firebrick
#B22222
ΔE00 3.84
Lipstick Red
#C0022F
ΔE00 3.97
Dull Red
#BB3F3F
ΔE00 4.32
Cardinal
#C41E3A
ΔE00 4.52
Scarlet
#BE0119
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F33 #2FAFAB
analogous
#AF2F73 #AF2F33 #AF6B2F
triadic
#AF2F33 #33AF2F #2F33AF
tetradic
#AF2F33 #73AF2F #2FAFAB #6B2FAF
square
#AF2F33 #73AF2F #2FAFAB #6B2FAF
split-complementary
#AF2F33 #2FAF6B #2F73AF
monochromatic
#4F1517 #7F2225 #AF2F33 #CF4C50 #DC7C7F
Accessibility & contrast
On white
6.41
#AF2F33 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#AF2F33 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F33
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F33 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F33 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544D32
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#C00032
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2f33; /* rgb */ color: rgb(175, 47, 51); /* oklch */ color: oklch(50.5% 0.164 23.8);
Tailwind
colors: {
custom: {
50: '#cf716b',
500: '#af2f33',
950: '#000000',
},
}SCSS
$custom: #af2f33; $custom-light: #cf716b; $custom-dark: #000000;
JSON
{
"hex": "#af2f33",
"rgb": {
"r": 175,
"g": 47,
"b": 51
},
"hsl": {
"h": 358.125,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.50463,
"c": 0.1644,
"h": 23.8
},
"luminance": 0.11386
}Semantic roles & 50–950 ramp
primary
#AF2F33
secondary
#75C4C2
accent
#E1DC47
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A