#AF4A42#AF4A42
#AF4A42 is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.0% C 0.134 H 27.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #AF4A42 |
|---|---|
| RGB | rgb(175, 74, 66) |
| HSL | hsl(4, 45%, 47%) |
| HSV | hsv(4, 62%, 69%) |
| CMYK | cmyk(0%, 57.7%, 62.3%, 31.4%) |
| CIE-LAB | lab(44.81, 40.69, 25.41) |
| CIE-LCH | lch(44.81, 47.98, 31.98°) |
| OKLab | oklab(53.98% 0.1194 0.0608) |
| OKLCH | oklch(53.98% 0.134 27) |
| XYZ | xyz(21.1133, 14.4075, 6.8223) |
| Luminance | 0.1441 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.12
Reddish
#C44240
ΔE00 4.14
Dusty Red
#B9484E
ΔE00 4.57
Brown
#A52A2A
ΔE00 7.20
Dark Salmon
#C85A53
ΔE00 7.30
Dark Coral
#CF524E
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF4A42 #42A7AF
analogous
#AF4270 #AF4A42 #AF8142
triadic
#AF4A42 #42AF4A #4A42AF
tetradic
#AF4A42 #70AF42 #42A7AF #8142AF
square
#AF4A42 #70AF42 #42A7AF #8142AF
split-complementary
#AF4A42 #42AF81 #4270AF
monochromatic
#562420 #833731 #AF4A42 #C66F68 #D79995
Accessibility & contrast
On white
5.41
#AF4A42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#AF4A42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AF4A42
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF4A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AF4A42 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645D41
Deuteranopia (green-blind)
#7D7240
Tritanopia (blue-blind)
#BF3749
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #af4a42; /* rgb */ color: rgb(175, 74, 66); /* oklch */ color: oklch(54.0% 0.134 27.0);
Tailwind
colors: {
custom: {
50: '#cd8076',
500: '#af4a42',
950: '#000000',
},
}SCSS
$custom: #af4a42; $custom-light: #cd8076; $custom-dark: #000000;
JSON
{
"hex": "#af4a42",
"rgb": {
"r": 175,
"g": 74,
"b": 66
},
"hsl": {
"h": 4.404,
"s": 45.228,
"l": 47.255
},
"oklch": {
"l": 0.53979,
"c": 0.13398,
"h": 27
},
"luminance": 0.14405
}Semantic roles & 50–950 ramp
primary
#AF4A42
secondary
#8ABEC2
accent
#CBD553
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#150A08
muted
#837C7B