#AF3F40#AF3F40
#AF3F40 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.5% C 0.147 H 23.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3F40 |
|---|---|
| RGB | rgb(175, 63, 64) |
| HSL | hsl(359, 47%, 47%) |
| HSV | hsv(359, 64%, 69%) |
| CMYK | cmyk(0%, 64%, 63.4%, 31.4%) |
| CIE-LAB | lab(42.83, 45.73, 24.10) |
| CIE-LCH | lch(42.83, 51.69, 27.79°) |
| OKLab | oklab(52.47% 0.1348 0.0576) |
| OKLCH | oklch(52.47% 0.147 23.1) |
| XYZ | xyz(20.3841, 13.0419, 6.2934) |
| Luminance | 0.1304 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.60
Dusty Red
#B9484E
ΔE00 3.89
Reddish
#C44240
ΔE00 4.76
Cardinal
#C41E3A
ΔE00 5.08
Brown
#A52A2A
ΔE00 5.50
Lipstick Red
#C0022F
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3F40 #3FAFAE
analogous
#AF3F78 #AF3F40 #AF763F
triadic
#AF3F40 #40AF3F #3F40AF
tetradic
#AF3F40 #78AF3F #3FAFAE #763FAF
square
#AF3F40 #78AF3F #3FAFAE #763FAF
split-complementary
#AF3F40 #3FAF76 #3F78AF
monochromatic
#551F1F #822F30 #AF3F40 #C76465 #D79192
Accessibility & contrast
On white
5.82
#AF3F40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#AF3F40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3F40
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3F40 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C563F
Deuteranopia (green-blind)
#786E3D
Tritanopia (blue-blind)
#C02740
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #af3f40; /* rgb */ color: rgb(175, 63, 64); /* oklch */ color: oklch(52.5% 0.147 23.1);
Tailwind
colors: {
custom: {
50: '#cd7a74',
500: '#af3f40',
950: '#000000',
},
}SCSS
$custom: #af3f40; $custom-light: #cd7a74; $custom-dark: #000000;
JSON
{
"hex": "#af3f40",
"rgb": {
"r": 175,
"g": 63,
"b": 64
},
"hsl": {
"h": 359.464,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.52473,
"c": 0.14663,
"h": 23.1
},
"luminance": 0.13039
}Semantic roles & 50–950 ramp
primary
#AF3F40
secondary
#87C3C2
accent
#D7D551
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150908
muted
#837B7B