#af5dbe
a balanced, soft magenta / pink · neutral · closest name: Medium Orchid
At a glance
Every number on this page in one read: what #af5dbe 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 | #af5dbe |
| RGB | rgb(175, 93, 190) |
| HSL | hsl(291, 43%, 56%) |
| CMYK | cmyk(8%, 51%, 0%, 26%) |
| LAB | lab(52.6 48.2 -37.1) |
| LCH | lch(52.6 60.8 322.4) |
| OKLCH | oklch(0.611 0.164 321.2) |
| Decimal | 11492798 |
| Display P3 | color(display-p3 0.686 0.365 0.745) |
Copy-ready code
/* CSS */
color: #af5dbe;
background-color: #af5dbe;
/* Tailwind (arbitrary) */
class="text-[#af5dbe] bg-[#af5dbe]"
/* SCSS */
$brand: #af5dbe;
/* SwiftUI */
Color(red: 0.686, green: 0.365, blue: 0.745)
/* Android */
Color.parseColor("#af5dbe")
/* Flutter */
Color(0xFFAF5DBE)
/* Python / OpenCV (BGR) */
(190, 93, 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. #af5dbe 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: #F3EBF5;
--brand-200: #E6D1EA;
--brand-300: #D7AFDF;
--brand-400: #C487CF;
--brand-500: #af5dbe;
--brand-600: #9E46AF;
--brand-700: #843A92;
--brand-800: #6A2F74;
--brand-900: #4E2555;
--brand-950: #311735;
--brand: #af5dbe;
--brand-ink: #000000;
}Colors that work with #af5dbe
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 #af5dbe
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 | #6CBE5D | Directly opposite — maximum tension | |
| Analogous left | #7F5DBE | Neighbour, quieter | |
| Analogous right | #BE5D9D | Neighbour, quieter | |
| Split-complement 1 | #9DBE5D | Contrast without the clash | |
| Split-complement 2 | #5DBE7F | Contrast without the clash | |
| Triadic 1 | #BEAF5D | Even thirds — balanced and loud | |
| Triadic 2 | #5DBEAF | Even thirds — balanced and loud | |
| Tetradic | #BE7F5D | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#af5dbe text on a black background
contrast 5.13:1
#af5dbe text on a white background
contrast 4.09:1
CSS3 live lab
The quick brown fox
color: #af5dbe;
background-color: #af5dbe;
Glowing headline
text-shadow: 2px 2px 8px #af5dbe;
Soft neon halo
text-shadow: 0 0 14px rgba(175, 93, 190, 0.45);
box-shadow: 0 12px 32px -8px rgba(175, 93, 190, 0.45);
border: 3px solid #af5dbe; background: linear-gradient(135deg, #af5dbe, #BE5D8C);
Monochromatic scale
Palettes built from #af5dbe
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 9.8 away, with its history, psychology and brand usage.
#af5dbe 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.
#af5dbe, answered
What color is #af5dbe?
#af5dbe is a balanced soft magenta / pink, closest to Medium Orchid (ΔE2000 3.9). It sits at 291° on the hue wheel with 43% saturation and 56% lightness, which reads as neutral.
What is the RGB value of #af5dbe?
rgb(175, 93, 190) — 175 red, 93 green and 190 blue out of 255, or 68.6% / 36.5% / 74.5% by channel.
Is #af5dbe a light or a dark color?
It is a mid-tone. Relative luminance is 0.2066 and perceived brightness is 53%, so black text on it reaches 5.13:1.
Should I use black or white text on #af5dbe?
Black. It scores 5.13:1 against #af5dbe, versus 4.09:1 for white — AA at any size.
What is the complementary color of #af5dbe?
#6CBE5D sits directly opposite on the wheel. Softer options are the split-complements #9DBE5D and #5DBE7F, which give the same contrast with far less vibration.
What colors go well with #af5dbe?
For interface work: #F9F4FA as the surface, #E2C5E8 for borders, #8E4B9B for secondary text, #5C9636 as an accent and #53255B for hover and pressed states. For a palette, the analogous pair #7F5DBE and #BE5D9D stays calm, while #6CBE5D is the loudest partner.
What is #af5dbe in CMYK for printing?
cmyk(8%, 51%, 0%, 26%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #af5dbe warm or cool?
Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BE5DA9; nudged cooler, #8B5BC0.