#af50bc
a balanced, soft magenta / pink · neutral · closest name: Medium Orchid
At a glance
Every number on this page in one read: what #af50bc is made of, how bright it looks, and which way it leans.
Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #af50bc |
| RGB | rgb(175, 80, 188) |
| HSL | hsl(293, 45%, 53%) |
| CMYK | cmyk(7%, 57%, 0%, 26%) |
| LAB | lab(50.1 54.2 -39.9) |
| LCH | lch(50.1 67.3 323.6) |
| OKLCH | oklch(0.593 0.183 322.7) |
| Decimal | 11489468 |
| Display P3 | color(display-p3 0.686 0.314 0.737) |
Copy-ready code
/* CSS */
color: #af50bc;
background-color: #af50bc;
/* Tailwind (arbitrary) */
class="text-[#af50bc] bg-[#af50bc]"
/* SCSS */
$brand: #af50bc;
/* SwiftUI */
Color(red: 0.686, green: 0.314, blue: 0.737)
/* Android */
Color.parseColor("#af50bc")
/* Flutter */
Color(0xFFAF50BC)
/* Python / OpenCV (BGR) */
(188, 80, 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. #af50bc 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: #F9F5FA;
--brand-100: #F4EAF5;
--brand-200: #E8D1EB;
--brand-300: #DAAEE0;
--brand-400: #C785D0;
--brand-500: #af50bc;
--brand-600: #A444B1;
--brand-700: #893993;
--brand-800: #6D2D76;
--brand-900: #502456;
--brand-950: #321736;
--brand: #af50bc;
--brand-ink: #000000;
}Colors that work with #af50bc
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 #af50bc
Derived from its contrast, chroma and lightness — not from taste.
- ✓Headings from 24px up on white
- ✓Text and icons on dark surfaces
- ✓Charts, tags and secondary surfaces
- ✓Brand accents, badges and data highlights
- ⚠Small text on white — under 4.5:1
- ⚠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 | #5DBC50 | Directly opposite — maximum tension | |
| Analogous left | #7950BC | Neighbour, quieter | |
| Analogous right | #BC5093 | Neighbour, quieter | |
| Split-complement 1 | #93BC50 | Contrast without the clash | |
| Split-complement 2 | #50BC79 | Contrast without the clash | |
| Triadic 1 | #BCAF50 | Even thirds — balanced and loud | |
| Triadic 2 | #50BCAF | Even thirds — balanced and loud | |
| Tetradic | #BC7950 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#af50bc text on a black background
contrast 4.70:1
#af50bc text on a white background
contrast 4.47:1
CSS3 live lab
The quick brown fox
color: #af50bc;
background-color: #af50bc;
Glowing headline
text-shadow: 2px 2px 8px #af50bc;
Soft neon halo
text-shadow: 0 0 14px rgba(175, 80, 188, 0.45);
box-shadow: 0 12px 32px -8px rgba(175, 80, 188, 0.45);
border: 3px solid #af50bc; background: linear-gradient(135deg, #af50bc, #BC5081);
Monochromatic scale
Palettes built from #af50bc
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: Plum (#8e4585) — ΔE2000 11.4 away, with its history, psychology and brand usage.
#af50bc 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.
#af50bc, answered
What color is #af50bc?
#af50bc is a balanced soft magenta / pink, closest to Medium Orchid (ΔE2000 4.3). It sits at 293° on the hue wheel with 45% saturation and 53% lightness, which reads as neutral.
What is the RGB value of #af50bc?
rgb(175, 80, 188) — 175 red, 80 green and 188 blue out of 255, or 68.6% / 31.4% / 73.7% by channel.
Is #af50bc a light or a dark color?
It is a mid-tone. Relative luminance is 0.1848 and perceived brightness is 51%, so black text on it reaches 4.70:1.
Should I use black or white text on #af50bc?
Black. It scores 4.70:1 against #af50bc, versus 4.47:1 for white — AA at any size.
What is the complementary color of #af50bc?
#5DBC50 sits directly opposite on the wheel. Softer options are the split-complements #93BC50 and #50BC79, which give the same contrast with far less vibration.
What colors go well with #af50bc?
For interface work: #FAF4FA as the surface, #E4C4E8 for borders, #914B9B for secondary text, #599834 as an accent and #55235C for hover and pressed states. For a palette, the analogous pair #7950BC and #BC5093 stays calm, while #5DBC50 is the loudest partner.
What is #af50bc in CMYK for printing?
cmyk(7%, 57%, 0%, 26%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #af50bc warm or cool?
Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BC50A1; nudged cooler, #874DBE.