#af5472
a balanced, soft magenta / pink · warm · closest name: Medium Violet Red
At a glance
Every number on this page in one read: what #af5472 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 | #af5472 |
| RGB | rgb(175, 84, 114) |
| HSL | hsl(340, 36%, 51%) |
| CMYK | cmyk(0%, 52%, 35%, 31%) |
| LAB | lab(47.8 40.4 0.6) |
| LCH | lch(47.8 40.4 0.8) |
| OKLCH | oklch(0.566 0.123 0.9) |
| Decimal | 11490418 |
| Display P3 | color(display-p3 0.686 0.329 0.447) |
Copy-ready code
/* CSS */
color: #af5472;
background-color: #af5472;
/* Tailwind (arbitrary) */
class="text-[#af5472] bg-[#af5472]"
/* SCSS */
$brand: #af5472;
/* SwiftUI */
Color(red: 0.686, green: 0.329, blue: 0.447)
/* Android */
Color.parseColor("#af5472")
/* Flutter */
Color(0xFFAF5472)
/* Python / OpenCV (BGR) */
(114, 84, 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. #af5472 is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FAF5F7;
--brand-100: #F4EBEE;
--brand-200: #E8D3DA;
--brand-300: #DBB3C0;
--brand-400: #C98CA0;
--brand-500: #B86681;
--brand-600: #af5472;
--brand-700: #8B4159;
--brand-800: #6F3448;
--brand-900: #522936;
--brand-950: #331922;
--brand: #af5472;
--brand-ink: #ffffff;
}Colors that work with #af5472
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 #af5472
Derived from its contrast, chroma and lightness — not from taste.
- ✓Body text and links on white
- ✓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 | #54AF91 | Directly opposite — maximum tension | |
| Analogous left | #AF54A0 | Neighbour, quieter | |
| Analogous right | #AF6354 | Neighbour, quieter | |
| Split-complement 1 | #54AF63 | Contrast without the clash | |
| Split-complement 2 | #54A0AF | Contrast without the clash | |
| Triadic 1 | #72AF54 | Even thirds — balanced and loud | |
| Triadic 2 | #5472AF | Even thirds — balanced and loud | |
| Tetradic | #A0AF54 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#af5472 text on a black background
contrast 4.33:1
#af5472 text on a white background
contrast 4.85:1
CSS3 live lab
The quick brown fox
color: #af5472;
background-color: #af5472;
Glowing headline
text-shadow: 2px 2px 8px #af5472;
Soft neon halo
text-shadow: 0 0 14px rgba(175, 84, 114, 0.45);
box-shadow: 0 12px 32px -8px rgba(175, 84, 114, 0.45);
border: 3px solid #af5472; background: linear-gradient(135deg, #af5472, #AF7354);
Monochromatic scale
Palettes built from #af5472
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: Mulberry (#c54b8c) — ΔE2000 7.5 away, with its history, psychology and brand usage.
#af5472 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.
#af5472, answered
What color is #af5472?
#af5472 is a balanced soft magenta / pink, closest to Medium Violet Red (ΔE2000 11.1). It sits at 340° on the hue wheel with 36% saturation and 51% lightness, which reads as warm.
What is the RGB value of #af5472?
rgb(175, 84, 114) — 175 red, 84 green and 114 blue out of 255, or 68.6% / 32.9% / 44.7% by channel.
Is #af5472 a light or a dark color?
It is a dark color. Relative luminance is 0.1667 and perceived brightness is 48%, so white text on it reaches 4.85:1.
Should I use black or white text on #af5472?
White. It scores 4.85:1 against #af5472, versus 4.33:1 for black — AA at any size.
What is the complementary color of #af5472?
#54AF91 sits directly opposite on the wheel. Softer options are the split-complements #54AF63 and #54A0AF, which give the same contrast with far less vibration.
What colors go well with #af5472?
For interface work: #FAF5F6 as the surface, #E5C7D1 for borders, #9B4B65 for secondary text, #3D8F5F as an accent and #572938 for hover and pressed states. For a palette, the analogous pair #AF54A0 and #AF6354 stays calm, while #54AF91 is the loudest partner.
What is #af5472 in CMYK for printing?
cmyk(0%, 52%, 35%, 31%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #af5472 warm or cool?
Warm — it scores 28 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF5754; nudged cooler, #B25194.