#AF2F36#AF2F36
#AF2F36 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.5% C 0.164 H 22.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AF2F36 |
|---|---|
| RGB | rgb(175, 47, 54) |
| HSL | hsl(357, 58%, 44%) |
| HSV | hsv(357, 73%, 69%) |
| CMYK | cmyk(0%, 73.1%, 69.1%, 31.4%) |
| CIE-LAB | lab(40.27, 51.65, 27.00) |
| CIE-LCH | lch(40.27, 58.28, 27.60°) |
| OKLab | oklab(50.51% 0.1516 0.0629) |
| OKLCH | oklch(50.51% 0.164 22.5) |
| XYZ | xyz(19.3637, 11.4162, 4.6733) |
| Luminance | 0.1141 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.36
Lipstick Red
#C0022F
ΔE00 3.80
Cardinal
#C41E3A
ΔE00 4.06
Dull Red
#BB3F3F
ΔE00 4.35
Firebrick
#B22222
ΔE00 4.74
Rose Red
#BE013C
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF2F36 #2FAFA8
analogous
#AF2F76 #AF2F36 #AF682F
triadic
#AF2F36 #36AF2F #2F36AF
tetradic
#AF2F36 #76AF2F #2FAFA8 #682FAF
square
#AF2F36 #76AF2F #2FAFA8 #682FAF
split-complementary
#AF2F36 #2FAF68 #2F76AF
monochromatic
#4F1518 #7F2227 #AF2F36 #CF4C53 #DC7C82
Accessibility & contrast
On white
6.40
#AF2F36 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#AF2F36 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF2F36
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF2F36 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF2F36 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544D35
Deuteranopia (green-blind)
#746932
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #af2f36; /* rgb */ color: rgb(175, 47, 54); /* oklch */ color: oklch(50.5% 0.164 22.5);
Tailwind
colors: {
custom: {
50: '#cf716d',
500: '#af2f36',
950: '#000000',
},
}SCSS
$custom: #af2f36; $custom-light: #cf716d; $custom-dark: #000000;
JSON
{
"hex": "#af2f36",
"rgb": {
"r": 175,
"g": 47,
"b": 54
},
"hsl": {
"h": 356.719,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.50511,
"c": 0.1641,
"h": 22.5
},
"luminance": 0.11413
}Semantic roles & 50–950 ramp
primary
#AF2F36
secondary
#75C4C0
accent
#E1D847
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A