#AF7166#AF7166
#AF7166 is a mid, moderate red. Relative luminance 0.219; OKLCH L 61.1% C 0.081 H 30.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7166 |
|---|---|
| RGB | rgb(175, 113, 102) |
| HSL | hsl(9, 31%, 54%) |
| HSV | hsv(9, 42%, 69%) |
| CMYK | cmyk(0%, 35.4%, 41.7%, 31.4%) |
| CIE-LAB | lab(53.91, 23.19, 16.27) |
| CIE-LCH | lch(53.91, 28.33, 35.05°) |
| OKLab | oklab(61.14% 0.0699 0.0413) |
| OKLCH | oklch(61.14% 0.081 30.6) |
| XYZ | xyz(25.9838, 21.8855, 15.4236) |
| Luminance | 0.2188 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pinkish Brown
#B17261
ΔE00 2.38
Brownish Pink
#C27E79
ΔE00 5.97
Clay
#B66A50
ΔE00 6.09
Reddish Grey
#997570
ΔE00 6.93
Brownish
#9C6D57
ΔE00 7.21
Dusty Rose
#C0737A
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7166 #66A4AF
analogous
#AF6680 #AF7166 #AF9666
triadic
#AF7166 #66AF71 #7166AF
tetradic
#AF7166 #80AF66 #66A4AF #9666AF
square
#AF7166 #80AF66 #66A4AF #9666AF
split-complementary
#AF7166 #66AF96 #6680AF
monochromatic
#663C35 #8E544A #AF7166 #C4968E #D9BCB6
Accessibility & contrast
On white
3.91
#AF7166 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#AF7166 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7166
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7166 | 1.00 | 3.91 | 5.38 | 5.38 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7965
Deuteranopia (green-blind)
#8E8665
Tritanopia (blue-blind)
#BC686E
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #af7166; /* rgb */ color: rgb(175, 113, 102); /* oklch */ color: oklch(61.1% 0.081 30.6);
Tailwind
colors: {
custom: {
50: '#c99a91',
500: '#af7166',
950: '#000000',
},
}SCSS
$custom: #af7166; $custom-light: #c99a91; $custom-dark: #000000;
JSON
{
"hex": "#af7166",
"rgb": {
"r": 175,
"g": 113,
"b": 102
},
"hsl": {
"h": 9.041,
"s": 31.33,
"l": 54.314
},
"oklch": {
"l": 0.61141,
"c": 0.08116,
"h": 30.6
},
"luminance": 0.21884
}Semantic roles & 50–950 ramp
primary
#AF7166
secondary
#A9C3C8
accent
#B8C860
background
#FCF9F8
surface
#F9F2F0
border
#D2CCCB
text
#130E0C
muted
#827E7D