#af6ab7
a balanced, soft magenta / pink · neutral · closest name: Medium Orchid
At a glance
Every number on this page in one read: what #af6ab7 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 | #af6ab7 |
| RGB | rgb(175, 106, 183) |
| HSL | hsl(294, 35%, 57%) |
| CMYK | cmyk(4%, 42%, 0%, 28%) |
| LAB | lab(54.9 39.9 -29.5) |
| LCH | lch(54.9 49.6 323.6) |
| OKLCH | oklch(0.627 0.135 323.2) |
| Decimal | 11496119 |
| Display P3 | color(display-p3 0.686 0.416 0.718) |
Copy-ready code
/* CSS */
color: #af6ab7;
background-color: #af6ab7;
/* Tailwind (arbitrary) */
class="text-[#af6ab7] bg-[#af6ab7]"
/* SCSS */
$brand: #af6ab7;
/* SwiftUI */
Color(red: 0.686, green: 0.416, blue: 0.718)
/* Android */
Color.parseColor("#af6ab7")
/* Flutter */
Color(0xFFAF6AB7)
/* Python / OpenCV (BGR) */
(183, 106, 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. #af6ab7 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: #F9F5F9;
--brand-100: #F3ECF4;
--brand-200: #E6D4E8;
--brand-300: #D6B3DA;
--brand-400: #C28EC8;
--brand-500: #af6ab7;
--brand-600: #9C50A5;
--brand-700: #824389;
--brand-800: #68356E;
--brand-900: #4D2A51;
--brand-950: #301A32;
--brand: #af6ab7;
--brand-ink: #000000;
}Colors that work with #af6ab7
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 #af6ab7
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 | #72B76A | Directly opposite — maximum tension | |
| Analogous left | #896AB7 | Neighbour, quieter | |
| Analogous right | #B76A99 | Neighbour, quieter | |
| Split-complement 1 | #99B76A | Contrast without the clash | |
| Split-complement 2 | #6AB789 | Contrast without the clash | |
| Triadic 1 | #B7AF6A | Even thirds — balanced and loud | |
| Triadic 2 | #6AB7AF | Even thirds — balanced and loud | |
| Tetradic | #B7896A | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#af6ab7 text on a black background
contrast 5.57:1
#af6ab7 text on a white background
contrast 3.77:1
CSS3 live lab
The quick brown fox
color: #af6ab7;
background-color: #af6ab7;
Glowing headline
text-shadow: 2px 2px 8px #af6ab7;
Soft neon halo
text-shadow: 0 0 14px rgba(175, 106, 183, 0.45);
box-shadow: 0 12px 32px -8px rgba(175, 106, 183, 0.45);
border: 3px solid #af6ab7; background: linear-gradient(135deg, #af6ab7, #B76A8C);
Monochromatic scale
Palettes built from #af6ab7
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: Orchid (#da70d6) — ΔE2000 8.6 away, with its history, psychology and brand usage.
#af6ab7 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.
#af6ab7, answered
What color is #af6ab7?
#af6ab7 is a balanced soft magenta / pink, closest to Medium Orchid (ΔE2000 7.1). It sits at 294° on the hue wheel with 35% saturation and 57% lightness, which reads as neutral.
What is the RGB value of #af6ab7?
rgb(175, 106, 183) — 175 red, 106 green and 183 blue out of 255, or 68.6% / 41.6% / 71.8% by channel.
Is #af6ab7 a light or a dark color?
It is a mid-tone. Relative luminance is 0.2284 and perceived brightness is 55%, so black text on it reaches 5.57:1.
Should I use black or white text on #af6ab7?
Black. It scores 5.57:1 against #af6ab7, versus 3.77:1 for white — AA at any size.
What is the complementary color of #af6ab7?
#72B76A sits directly opposite on the wheel. Softer options are the split-complements #99B76A and #6AB789, which give the same contrast with far less vibration.
What colors go well with #af6ab7?
For interface work: #F9F5FA as the surface, #E1C8E4 for borders, #924B9B for secondary text, #5A8D3F as an accent and #512A56 for hover and pressed states. For a palette, the analogous pair #896AB7 and #B76A99 stays calm, while #72B76A is the loudest partner.
What is #af6ab7 in CMYK for printing?
cmyk(4%, 42%, 0%, 28%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #af6ab7 warm or cool?
Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B76AA3; nudged cooler, #9368B9.