Skip to content

#af6478

a balanced, soft magenta / pink · warm · closest name: Pale Violet Red

RGB
175, 100, 120
HSL
344°, 32%, 54%
CMYK
0, 43, 31, 31
Luminance
0.1958

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.

Hex
#af6478
Hue
344°
magenta / pink
Saturation
32%
soft
Lightness
54%
balanced
Brightness
69%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1958
WCAG relative
Temperature
Warm
28/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
4.92:1
Closest name
Pale Violet Red
ΔE2000 9.8
Where it sits
Hue344° of 360°
Saturation32%
Lightness54%
Temperature
Warm ← → Cool28% cool

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
RGBrgb(175, 100, 120)
HSLhsl(344, 32%, 54%)
CMYKcmyk(0%, 43%, 31%, 31%)
LABlab(51.4 32.6 2.1)
LCHlch(51.4 32.7 3.7)
OKLCHoklch(0.593 0.099 3.4)
Decimal11494520
Display P3color(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.

Readable at a glance#000000 on #af6478 · 4.92:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.27:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.92:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #af6478 as text scores 4.27:1 on white and 4.92:1 on black.

Accessibility — WCAG contrast

Aa
#af6478 on white: 4.27:1
AA ✗ fail · AA-large · AAA
Aa
#af6478 on black: 4.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #707279
deuteranopia · #828076
tritanopia · #BB5E6B

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.

#F9F5F6
#F4ECEE
#E7D5DA
#D9B5BF
#C6909E
#af6478
#A15368
#874557
#6C3845
#4F2B35
#311B21
Base = 500Lightest = 50 · #F9F5F6Darkest = 950 · #311B21
: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.

Text on it#000000
Black wins here
Surface#FAF5F6
Tinted page background
Border#E3C9D0
Hairlines and dividers
Muted text#974E62
Captions on the surface
Accent#418B65
Second voice, not a rival
Dark variant#542B36
Hover, pressed, headers
Light variant#F6EEF0
Selected rows, tints
Dark surface#241418
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #af6478

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • 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
Analogous left#AF649D
Analogous right#AF7564
Split-complement 1#64AF75
Split-complement 2#649DAF
Triadic 1#78AF64
Triadic 2#6478AF
Tetradic#9DAF64

RGB percentages

Red68.6%
Green39.2%
Blue47.1%

CMYK percentages

Cyan0.0%
Magenta42.9%
Yellow31.4%
Key (black)31.4%

Color previews

#af6478 text on a black background

contrast 4.92:1

Card sample

#af6478 text on a white background

contrast 4.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #af6478;
Background color
Panel with #af6478 background
background-color: #af6478;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #af6478;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(175, 100, 120, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 100, 120, 0.45);
Border & gradient
Gradient panel
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.

#af6478 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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.

Work with #af6478 in the Color Lab