#af5e71
a balanced, soft red · warm · closest name: Indian Red
At a glance
Every number on this page in one read: what #af5e71 is made of, how bright it looks, and which way it leans.
Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #af5e71 |
| RGB | rgb(175, 94, 113) |
| HSL | hsl(346, 34%, 53%) |
| CMYK | cmyk(0%, 46%, 35%, 31%) |
| LAB | lab(49.9 35.0 4.1) |
| LCH | lch(49.9 35.2 6.7) |
| OKLCH | oklch(0.582 0.107 6.0) |
| Decimal | 11492977 |
| Display P3 | color(display-p3 0.686 0.369 0.443) |
Copy-ready code
/* CSS */
color: #af5e71;
background-color: #af5e71;
/* Tailwind (arbitrary) */
class="text-[#af5e71] bg-[#af5e71]"
/* SCSS */
$brand: #af5e71;
/* SwiftUI */
Color(red: 0.686, green: 0.369, blue: 0.443)
/* Android */
Color.parseColor("#af5e71")
/* Flutter */
Color(0xFFAF5E71)
/* Python / OpenCV (BGR) */
(113, 94, 175)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #af5e71 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F9F5F6;
--brand-100: #F4ECEE;
--brand-200: #E8D4D9;
--brand-300: #DAB4BD;
--brand-400: #C78F9C;
--brand-500: #af5e71;
--brand-600: #A45165;
--brand-700: #884454;
--brand-800: #6D3643;
--brand-900: #502A33;
--brand-950: #321A20;
--brand: #af5e71;
--brand-ink: #000000;
}Colors that work with #af5e71
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #af5e71
Derived from its contrast, chroma and lightness — not from taste.
- ✓Body text and links on white
- ✓Text and icons on dark surfaces
- ✓Charts, tags and secondary surfaces
- ✓Brand accents, badges and data highlights
- ⚠Pairing with a same-lightness hue — edges vibrate
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #5EAF9C | Directly opposite — maximum tension | |
| Analogous left | #AF5E99 | Neighbour, quieter | |
| Analogous right | #AF735E | Neighbour, quieter | |
| Split-complement 1 | #5EAF73 | Contrast without the clash | |
| Split-complement 2 | #5E99AF | Contrast without the clash | |
| Triadic 1 | #71AF5E | Even thirds — balanced and loud | |
| Triadic 2 | #5E71AF | Even thirds — balanced and loud | |
| Tetradic | #99AF5E | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#af5e71 text on a black background
contrast 4.66:1
#af5e71 text on a white background
contrast 4.50:1
CSS3 live lab
The quick brown fox
color: #af5e71;
background-color: #af5e71;
Glowing headline
text-shadow: 2px 2px 8px #af5e71;
Soft neon halo
text-shadow: 0 0 14px rgba(175, 94, 113, 0.45);
box-shadow: 0 12px 32px -8px rgba(175, 94, 113, 0.45);
border: 3px solid #af5e71; background: linear-gradient(135deg, #af5e71, #AF815E);
Monochromatic scale
Palettes built from #af5e71
Shades — darker
Tints — lighter
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Dusty Rose (#b76e79) — ΔE2000 5.4 away, with its history, psychology and brand usage.
#af5e71 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#af5e71, answered
What color is #af5e71?
#af5e71 is a balanced soft red, closest to Indian Red (ΔE2000 10.6). It sits at 346° on the hue wheel with 34% saturation and 53% lightness, which reads as warm.
What is the RGB value of #af5e71?
rgb(175, 94, 113) — 175 red, 94 green and 113 blue out of 255, or 68.6% / 36.9% / 44.3% by channel.
Is #af5e71 a light or a dark color?
It is a mid-tone. Relative luminance is 0.1831 and perceived brightness is 49%, so black text on it reaches 4.66:1.
Should I use black or white text on #af5e71?
Black. It scores 4.66:1 against #af5e71, versus 4.50:1 for white — AA at any size.
What is the complementary color of #af5e71?
#5EAF9C sits directly opposite on the wheel. Softer options are the split-complements #5EAF73 and #5E99AF, which give the same contrast with far less vibration.
What colors go well with #af5e71?
For interface work: #FAF5F6 as the surface, #E4C8CF for borders, #994C5E for secondary text, #3F8D67 as an accent and #552A34 for hover and pressed states. For a palette, the analogous pair #AF5E99 and #AF735E stays calm, while #5EAF9C is the loudest partner.
What is #af5e71 in CMYK for printing?
cmyk(0%, 46%, 35%, 31%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #af5e71 warm or cool?
Warm — it scores 26 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF695E; nudged cooler, #B15B8F.