#AF7170#AF7170
#AF7170 is a mid, moderate red. Relative luminance 0.221; OKLCH L 61.4% C 0.079 H 20.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7170 |
|---|---|
| RGB | rgb(175, 113, 112) |
| HSL | hsl(1, 28%, 56%) |
| HSV | hsv(1, 36%, 69%) |
| CMYK | cmyk(0%, 35.4%, 36%, 31.4%) |
| CIE-LAB | lab(54.13, 24.40, 10.75) |
| CIE-LCH | lch(54.13, 26.67, 23.78°) |
| OKLab | oklab(61.39% 0.074 0.0278) |
| OKLCH | oklch(61.39% 0.079 20.6) |
| XYZ | xyz(26.5100, 22.0960, 18.1948) |
| Luminance | 0.2209 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Rose
#C0737A
ΔE00 4.53
Dusky Rose
#BA6873
ΔE00 5.10
Brownish Pink
#C27E79
ΔE00 5.43
Pinkish Brown
#B17261
ΔE00 6.43
Dirty Pink
#CA7B80
ΔE00 6.48
Mauve (survey)
#AE7181
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7170 #70AEAF
analogous
#AF708F #AF7170 #AF9170
triadic
#AF7170 #70AF71 #7170AF
tetradic
#AF7170 #8FAF70 #70AEAF #9170AF
square
#AF7170 #8FAF70 #70AEAF #9170AF
split-complementary
#AF7170 #70AF91 #708FAF
monochromatic
#6A3C3B #915251 #AF7170 #C59897 #DBBFBE
Accessibility & contrast
On white
3.88
#AF7170 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.42
#AF7170 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7170
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7170 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7170 | 1.00 | 3.88 | 5.42 | 5.42 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D7A70
Deuteranopia (green-blind)
#8C866F
Tritanopia (blue-blind)
#BB6A71
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #af7170; /* rgb */ color: rgb(175, 113, 112); /* oklch */ color: oklch(61.4% 0.079 20.6);
Tailwind
colors: {
custom: {
50: '#c99a99',
500: '#af7170',
950: '#000000',
},
}SCSS
$custom: #af7170; $custom-light: #c99a99; $custom-dark: #000000;
JSON
{
"hex": "#af7170",
"rgb": {
"r": 175,
"g": 113,
"b": 112
},
"hsl": {
"h": 0.952,
"s": 28.251,
"l": 56.275
},
"oklch": {
"l": 0.61386,
"c": 0.07907,
"h": 20.6
},
"luminance": 0.22094
}Semantic roles & 50–950 ramp
primary
#AF7170
secondary
#B0CACA
accent
#C3C563
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#130E0D
muted
#827E7E