#AF3C42#AF3C42
#AF3C42 is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.1% C 0.150 H 21.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3C42 |
|---|---|
| RGB | rgb(175, 60, 66) |
| HSL | hsl(357, 49%, 46%) |
| HSV | hsv(357, 66%, 69%) |
| CMYK | cmyk(0%, 65.7%, 62.3%, 31.4%) |
| CIE-LAB | lab(42.37, 47.18, 22.30) |
| CIE-LCH | lch(42.37, 52.18, 25.30°) |
| OKLab | oklab(52.14% 0.1398 0.0537) |
| OKLCH | oklch(52.14% 0.15 21) |
| XYZ | xyz(20.2804, 12.7418, 6.5447) |
| Luminance | 0.1274 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.50
Dusty Red
#B9484E
ΔE00 3.80
Cardinal
#C41E3A
ΔE00 4.57
Reddish
#C44240
ΔE00 5.61
Lipstick Red
#C0022F
ΔE00 5.76
Brown
#A52A2A
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3C42 #3CAFA9
analogous
#AF3C7B #AF3C42 #AF6F3C
triadic
#AF3C42 #42AF3C #3C42AF
tetradic
#AF3C42 #7BAF3C #3CAFA9 #6F3CAF
square
#AF3C42 #7BAF3C #3CAFA9 #6F3CAF
split-complementary
#AF3C42 #3CAF6F #3C7BAF
monochromatic
#541D20 #812C31 #AF3C42 #C86065 #D88D91
Accessibility & contrast
On white
5.92
#AF3C42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#AF3C42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3C42
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3C42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3C42 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5541
Deuteranopia (green-blind)
#776D3F
Tritanopia (blue-blind)
#C0233F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #af3c42; /* rgb */ color: rgb(175, 60, 66); /* oklch */ color: oklch(52.1% 0.150 21.0);
Tailwind
colors: {
custom: {
50: '#cd7876',
500: '#af3c42',
950: '#000000',
},
}SCSS
$custom: #af3c42; $custom-light: #cd7876; $custom-dark: #000000;
JSON
{
"hex": "#af3c42",
"rgb": {
"r": 175,
"g": 60,
"b": 66
},
"hsl": {
"h": 356.87,
"s": 48.936,
"l": 46.078
},
"oklch": {
"l": 0.52143,
"c": 0.14977,
"h": 21
},
"luminance": 0.12739
}Semantic roles & 50–950 ramp
primary
#AF3C42
secondary
#84C3C0
accent
#D8D14F
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150908
muted
#837B7B