#AF7871#AF7871
#AF7871 is a light, moderate red. Relative luminance 0.237; OKLCH L 62.7% C 0.070 H 27.3°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AF7871 |
|---|---|
| RGB | rgb(175, 120, 113) |
| HSL | hsl(7, 28%, 56%) |
| HSV | hsv(7, 35%, 69%) |
| CMYK | cmyk(0%, 31.4%, 35.4%, 31.4%) |
| CIE-LAB | lab(55.83, 20.61, 12.55) |
| CIE-LCH | lch(55.83, 24.13, 31.35°) |
| OKLab | oklab(62.7% 0.0626 0.0323) |
| OKLCH | oklch(62.7% 0.07 27.3) |
| XYZ | xyz(27.3772, 23.7410, 18.7601) |
| Luminance | 0.2374 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brownish Pink
#C27E79
ΔE00 4.43
Pinkish Brown
#B17261
ΔE00 4.56
Reddish Grey
#997570
ΔE00 5.85
Dusty Rose
#C0737A
ΔE00 6.59
Dirty Pink
#CA7B80
ΔE00 7.29
Rosybrown
#BC8F8F
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF7871 #71A8AF
analogous
#AF7189 #AF7871 #AF9771
triadic
#AF7871 #71AF78 #7871AF
tetradic
#AF7871 #89AF71 #71A8AF #9771AF
square
#AF7871 #89AF71 #71A8AF #9771AF
split-complementary
#AF7871 #71AF97 #7189AF
monochromatic
#6A413C #915952 #AF7871 #C59D98 #DBC2BF
Accessibility & contrast
On white
3.65
#AF7871 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.75
#AF7871 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF7871
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF7871 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF7871 | 1.00 | 3.65 | 5.75 | 5.75 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847F70
Deuteranopia (green-blind)
#918A70
Tritanopia (blue-blind)
#BB7176
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #af7871; /* rgb */ color: rgb(175, 120, 113); /* oklch */ color: oklch(62.7% 0.070 27.3);
Tailwind
colors: {
custom: {
50: '#c89f99',
500: '#af7871',
950: '#000000',
},
}SCSS
$custom: #af7871; $custom-light: #c89f99; $custom-dark: #000000;
JSON
{
"hex": "#af7871",
"rgb": {
"r": 175,
"g": 120,
"b": 113
},
"hsl": {
"h": 6.774,
"s": 27.928,
"l": 56.471
},
"oklch": {
"l": 0.62702,
"c": 0.07046,
"h": 27.3
},
"luminance": 0.23739
}Semantic roles & 50–950 ramp
primary
#AF7871
secondary
#B1C8CB
accent
#B9C464
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#130E0E
muted
#827E7E