#af6478
a balanced, soft magenta / pink · warm · closest name: Pale Violet Red
At a glance
Every number on this page in one read: what #af6478 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 | #af6478 |
| RGB | rgb(175, 100, 120) |
| HSL | hsl(344, 32%, 54%) |
| CMYK | cmyk(0%, 43%, 31%, 31%) |
| LAB | lab(51.4 32.6 2.1) |
| LCH | lch(51.4 32.7 3.7) |
| OKLCH | oklch(0.593 0.099 3.4) |
| Decimal | 11494520 |
| Display P3 | color(display-p3 0.686 0.392 0.471) |
Copy-ready code
/* CSS */
color: #af6478;
background-color: #af6478;
/* Tailwind (arbitrary) */
class="text-[#af6478] bg-[#af6478]"
/* SCSS */
$brand: #af6478;
/* SwiftUI */
Color(red: 0.686, green: 0.392, blue: 0.471)
/* Android */
Color.parseColor("#af6478")
/* Flutter */
Color(0xFFAF6478)
/* Python / OpenCV (BGR) */
(120, 100, 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. #af6478 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: #F9F5F6;
--brand-100: #F4ECEE;
--brand-200: #E7D5DA;
--brand-300: #D9B5BF;
--brand-400: #C6909E;
--brand-500: #af6478;
--brand-600: #A15368;
--brand-700: #874557;
--brand-800: #6C3845;
--brand-900: #4F2B35;
--brand-950: #311B21;
--brand: #af6478;
--brand-ink: #000000;
}Colors that work with #af6478
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 #af6478
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 | #64AF9B | Directly opposite — maximum tension | |
| Analogous left | #AF649D | Neighbour, quieter | |
| Analogous right | #AF7564 | Neighbour, quieter | |
| Split-complement 1 | #64AF75 | Contrast without the clash | |
| Split-complement 2 | #649DAF | Contrast without the clash | |
| Triadic 1 | #78AF64 | Even thirds — balanced and loud | |
| Triadic 2 | #6478AF | Even thirds — balanced and loud | |
| Tetradic | #9DAF64 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#af6478 text on a black background
contrast 4.92:1
#af6478 text on a white background
contrast 4.27:1
CSS3 live lab
The quick brown fox
color: #af6478;
background-color: #af6478;
Glowing headline
text-shadow: 2px 2px 8px #af6478;
Soft neon halo
text-shadow: 0 0 14px rgba(175, 100, 120, 0.45);
box-shadow: 0 12px 32px -8px rgba(175, 100, 120, 0.45);
border: 3px solid #af6478; background: linear-gradient(135deg, #af6478, #AF8264);
Monochromatic scale
Palettes built from #af6478
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: Dusty Rose (#b76e79) — ΔE2000 4.4 away, with its history, psychology and brand usage.
#af6478 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.
#af6478, answered
What color is #af6478?
#af6478 is a balanced soft magenta / pink, closest to Pale Violet Red (ΔE2000 9.8). It sits at 344° on the hue wheel with 32% saturation and 54% lightness, which reads as warm.
What is the RGB value of #af6478?
rgb(175, 100, 120) — 175 red, 100 green and 120 blue out of 255, or 68.6% / 39.2% / 47.1% by channel.
Is #af6478 a light or a dark color?
It is a mid-tone. Relative luminance is 0.1958 and perceived brightness is 51%, so black text on it reaches 4.92:1.
Should I use black or white text on #af6478?
Black. It scores 4.92:1 against #af6478, versus 4.27:1 for white — AA at any size.
What is the complementary color of #af6478?
#64AF9B sits directly opposite on the wheel. Softer options are the split-complements #64AF75 and #649DAF, which give the same contrast with far less vibration.
What colors go well with #af6478?
For interface work: #FAF5F6 as the surface, #E3C9D0 for borders, #974E62 for secondary text, #418B65 as an accent and #542B36 for hover and pressed states. For a palette, the analogous pair #AF649D and #AF7564 stays calm, while #64AF9B is the loudest partner.
What is #af6478 in CMYK for printing?
cmyk(0%, 43%, 31%, 31%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #af6478 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 #AF6B64; nudged cooler, #B16294.