#AF3F42#AF3F42
#AF3F42 is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.5% C 0.146 H 22.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3F42 |
|---|---|
| RGB | rgb(175, 63, 66) |
| HSL | hsl(358, 47%, 47%) |
| HSV | hsv(358, 64%, 69%) |
| CMYK | cmyk(0%, 64%, 62.3%, 31.4%) |
| CIE-LAB | lab(42.86, 45.86, 22.93) |
| CIE-LCH | lch(42.86, 51.27, 26.56°) |
| OKLab | oklab(52.51% 0.1356 0.0552) |
| OKLCH | oklch(52.51% 0.146 22.1) |
| XYZ | xyz(20.4420, 13.0651, 6.5986) |
| Luminance | 0.1306 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.93
Dusty Red
#B9484E
ΔE00 3.55
Cardinal
#C41E3A
ΔE00 4.96
Reddish
#C44240
ΔE00 5.04
Brown
#A52A2A
ΔE00 5.87
Lipstick Red
#C0022F
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3F42 #3FAFAC
analogous
#AF3F7A #AF3F42 #AF743F
triadic
#AF3F42 #42AF3F #3F42AF
tetradic
#AF3F42 #7AAF3F #3FAFAC #743FAF
square
#AF3F42 #7AAF3F #3FAFAC #743FAF
split-complementary
#AF3F42 #3FAF74 #3F7AAF
monochromatic
#551F20 #822F31 #AF3F42 #C76467 #D79193
Accessibility & contrast
On white
5.81
#AF3F42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#AF3F42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3F42
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3F42 | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5641
Deuteranopia (green-blind)
#786E3F
Tritanopia (blue-blind)
#C02741
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #af3f42; /* rgb */ color: rgb(175, 63, 66); /* oklch */ color: oklch(52.5% 0.146 22.1);
Tailwind
colors: {
custom: {
50: '#cd7a76',
500: '#af3f42',
950: '#000000',
},
}SCSS
$custom: #af3f42; $custom-light: #cd7a76; $custom-dark: #000000;
JSON
{
"hex": "#af3f42",
"rgb": {
"r": 175,
"g": 63,
"b": 66
},
"hsl": {
"h": 358.393,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.5251,
"c": 0.14642,
"h": 22.1
},
"luminance": 0.13062
}Semantic roles & 50–950 ramp
primary
#AF3F42
secondary
#87C3C1
accent
#D7D351
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150908
muted
#837B7B