#AF3E42#AF3E42
#AF3E42 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.4% C 0.148 H 21.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #AF3E42 |
|---|---|
| RGB | rgb(175, 62, 66) |
| HSL | hsl(358, 48%, 46%) |
| HSV | hsv(358, 65%, 69%) |
| CMYK | cmyk(0%, 64.6%, 62.3%, 31.4%) |
| CIE-LAB | lab(42.70, 46.30, 22.71) |
| CIE-LCH | lch(42.70, 51.57, 26.13°) |
| OKLab | oklab(52.39% 0.137 0.0547) |
| OKLCH | oklch(52.39% 0.148 21.8) |
| XYZ | xyz(20.3872, 12.9553, 6.5803) |
| Luminance | 0.1295 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.10
Dusty Red
#B9484E
ΔE00 3.61
Cardinal
#C41E3A
ΔE00 4.82
Reddish
#C44240
ΔE00 5.23
Brown
#A52A2A
ΔE00 5.85
Lipstick Red
#C0022F
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF3E42 #3EAFAB
analogous
#AF3E7B #AF3E42 #AF733E
triadic
#AF3E42 #42AF3E #3E42AF
tetradic
#AF3E42 #7BAF3E #3EAFAB #733EAF
square
#AF3E42 #7BAF3E #3EAFAB #733EAF
split-complementary
#AF3E42 #3EAF73 #3E7BAF
monochromatic
#551E20 #822E31 #AF3E42 #C86366 #D89092
Accessibility & contrast
On white
5.85
#AF3E42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#AF3E42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF3E42
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF3E42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF3E42 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5641
Deuteranopia (green-blind)
#786E3F
Tritanopia (blue-blind)
#C02640
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #af3e42; /* rgb */ color: rgb(175, 62, 66); /* oklch */ color: oklch(52.4% 0.148 21.8);
Tailwind
colors: {
custom: {
50: '#cd7976',
500: '#af3e42',
950: '#000000',
},
}SCSS
$custom: #af3e42; $custom-light: #cd7976; $custom-dark: #000000;
JSON
{
"hex": "#af3e42",
"rgb": {
"r": 175,
"g": 62,
"b": 66
},
"hsl": {
"h": 357.876,
"s": 47.679,
"l": 46.471
},
"oklch": {
"l": 0.52386,
"c": 0.14754,
"h": 21.8
},
"luminance": 0.12953
}Semantic roles & 50–950 ramp
primary
#AF3E42
secondary
#86C3C0
accent
#D7D351
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150908
muted
#837B7B