#ac7daf
a balanced, soft magenta / pink · neutral · closest name: Orchid
At a glance
Every number on this page in one read: what #ac7daf 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 | #ac7daf |
| RGB | rgb(172, 125, 175) |
| HSL | hsl(296, 24%, 59%) |
| CMYK | cmyk(2%, 29%, 0%, 31%) |
| LAB | lab(58.5 26.8 -19.3) |
| LCH | lch(58.5 33.1 324.3) |
| OKLCH | oklch(0.653 0.090 324.5) |
| Decimal | 11304367 |
| Display P3 | color(display-p3 0.675 0.490 0.686) |
Copy-ready code
/* CSS */
color: #ac7daf;
background-color: #ac7daf;
/* Tailwind (arbitrary) */
class="text-[#ac7daf] bg-[#ac7daf]"
/* SCSS */
$brand: #ac7daf;
/* SwiftUI */
Color(red: 0.675, green: 0.490, blue: 0.686)
/* Android */
Color.parseColor("#ac7daf")
/* Flutter */
Color(0xFFAC7DAF)
/* Python / OpenCV (BGR) */
(175, 125, 172)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. #ac7daf 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: #F9F6F9;
--brand-100: #F2EDF3;
--brand-200: #E4D7E5;
--brand-300: #D3BAD4;
--brand-400: #BC97BF;
--brand-500: #ac7daf;
--brand-600: #945D98;
--brand-700: #7B4E7E;
--brand-800: #633E65;
--brand-900: #49304B;
--brand-950: #2E1E2F;
--brand: #ac7daf;
--brand-ink: #000000;
}Colors that work with #ac7daf
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 #ac7daf
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 | #80AF7D | Directly opposite — maximum tension | |
| Analogous left | #937DAF | Neighbour, quieter | |
| Analogous right | #AF7D99 | Neighbour, quieter | |
| Split-complement 1 | #99AF7D | Contrast without the clash | |
| Split-complement 2 | #7DAF93 | Contrast without the clash | |
| Triadic 1 | #AFAC7D | Even thirds — balanced and loud | |
| Triadic 2 | #7DAFAC | Even thirds — balanced and loud | |
| Tetradic | #AF937D | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#ac7daf text on a black background
contrast 6.31:1
#ac7daf text on a white background
contrast 3.33:1
CSS3 live lab
The quick brown fox
color: #ac7daf;
background-color: #ac7daf;
Glowing headline
text-shadow: 2px 2px 8px #ac7daf;
Soft neon halo
text-shadow: 0 0 14px rgba(172, 125, 175, 0.45);
box-shadow: 0 12px 32px -8px rgba(172, 125, 175, 0.45);
border: 3px solid #ac7daf; background: linear-gradient(135deg, #ac7daf, #AF7D91);
Monochromatic scale
Palettes built from #ac7daf
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 10.8 away, with its history, psychology and brand usage.
#ac7daf 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.
#ac7daf, answered
What color is #ac7daf?
#ac7daf is a balanced soft magenta / pink, closest to Orchid (ΔE2000 10.8). It sits at 296° on the hue wheel with 24% saturation and 59% lightness, which reads as neutral.
What is the RGB value of #ac7daf?
rgb(172, 125, 175) — 172 red, 125 green and 175 blue out of 255, or 67.5% / 49% / 68.6% by channel.
Is #ac7daf a light or a dark color?
It is a mid-tone. Relative luminance is 0.2653 and perceived brightness is 58%, so black text on it reaches 6.31:1.
Should I use black or white text on #ac7daf?
Black. It scores 6.31:1 against #ac7daf, versus 3.33:1 for white — AA at any size.
What is the complementary color of #ac7daf?
#80AF7D sits directly opposite on the wheel. Softer options are the split-complements #99AF7D and #7DAF93, which give the same contrast with far less vibration.
What colors go well with #ac7daf?
For interface work: #F9F6F9 as the surface, #DFCCE0 for borders, #8B578E for secondary text, #5B824A as an accent and #4D314F for hover and pressed states. For a palette, the analogous pair #937DAF and #AF7D99 stays calm, while #80AF7D is the loudest partner.
What is #ac7daf in CMYK for printing?
cmyk(2%, 29%, 0%, 31%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #ac7daf warm or cool?
Neutral — it scores 51 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF7DA0; nudged cooler, #9A7BB1.