Skip to content

#af39ae

a balanced, vivid magenta / pink · neutral · closest name: Dark Orchid

RGB
175, 57, 174
HSL
301°, 51%, 46%
CMYK
0, 67, 1, 31
Luminance
0.1510

At a glance

Every number on this page in one read: what #af39ae is made of, how bright it looks, and which way it leans.

Hex
#af39ae
Hue
301°
magenta / pink
Saturation
51%
vivid
Lightness
46%
balanced
Brightness
69%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1510
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
5.22:1
Closest name
Dark Orchid
ΔE2000 7.7
Where it sits
Hue301° of 360°
Saturation51%
Lightness46%
Temperature
Warm ← → Cool50% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#af39ae
RGBrgb(175, 57, 174)
HSLhsl(301, 51%, 46%)
CMYKcmyk(0%, 67%, 1%, 31%)
LABlab(45.8 61.5 -38.6)
LCHlch(45.8 72.6 327.9)
OKLCHoklch(0.559 0.202 328.2)
Decimal11483566
Display P3color(display-p3 0.686 0.224 0.682)

Copy-ready code

/* CSS */
color: #af39ae;
background-color: #af39ae;
/* Tailwind (arbitrary) */
class="text-[#af39ae] bg-[#af39ae]"
/* SCSS */
$brand: #af39ae;
/* SwiftUI */
Color(red: 0.686, green: 0.224, blue: 0.682)
/* Android */
Color.parseColor("#af39ae")
/* Flutter */
Color(0xFFAF39AE)
/* Python / OpenCV (BGR) */
(174, 57, 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#ffffff on #af39ae · 5.22:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.22:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.02:1
AA fail · AA large pass · AAA fail
Reading the other direction: #af39ae as text scores 5.22:1 on white and 4.02:1 on black.

Accessibility — WCAG contrast

Aa
#af39ae on white: 5.22:1
AA ✓ pass · AA-large · AAA
Aa
#af39ae on black: 4.02:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2862B1
deuteranopia · #5772AB
tritanopia · #B5496F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af39ae is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAF4FA
#F6EAF6
#EDCFEC
#E3AAE3
#D680D5
#C856C7
#af39ae
#9A3299
#7B287A
#5A2159
#381438
Base = 600Lightest = 50 · #FAF4FADarkest = 950 · #381438
:root {
  --brand-50: #FAF4FA;
  --brand-100: #F6EAF6;
  --brand-200: #EDCFEC;
  --brand-300: #E3AAE3;
  --brand-400: #D680D5;
  --brand-500: #C856C7;
  --brand-600: #af39ae;
  --brand-700: #9A3299;
  --brand-800: #7B287A;
  --brand-900: #5A2159;
  --brand-950: #381438;
  --brand: #af39ae;
  --brand-ink: #ffffff;
}

Colors that work with #af39ae

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF4FA
Tinted page background
Border#EBC1EB
Hairlines and dividers
Muted text#9B4B9A
Captions on the surface
Accent#499E2E
Second voice, not a rival
Dark variant#601F60
Hover, pressed, headers
Light variant#F9ECF9
Selected rows, tints
Dark surface#241424
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 #af39ae

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • 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#39AF3A
Analogous left#7539AF
Analogous right#AF3973
Split-complement 1#73AF39
Split-complement 2#39AF75
Triadic 1#AEAF39
Triadic 2#39AEAF
Tetradic#AF7539

RGB percentages

Red68.6%
Green22.4%
Blue68.2%

CMYK percentages

Cyan0.0%
Magenta67.4%
Yellow0.6%
Key (black)31.4%

Color previews

#af39ae text on a black background

contrast 4.02:1

Card sample

#af39ae text on a white background

contrast 5.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 57, 174, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 57, 174, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af39ae;
background: linear-gradient(135deg, #af39ae, #AF395F);

Monochromatic scale

Palettes built from #af39ae

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.

#af39ae 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.

#af39ae, answered

What color is #af39ae?

#af39ae is a balanced vivid magenta / pink, closest to Dark Orchid (ΔE2000 7.7). It sits at 301° on the hue wheel with 51% saturation and 46% lightness, which reads as neutral.

What is the RGB value of #af39ae?

rgb(175, 57, 174) — 175 red, 57 green and 174 blue out of 255, or 68.6% / 22.4% / 68.2% by channel.

Is #af39ae a light or a dark color?

It is a dark color. Relative luminance is 0.1510 and perceived brightness is 47%, so white text on it reaches 5.22:1.

Should I use black or white text on #af39ae?

White. It scores 5.22:1 against #af39ae, versus 4.02:1 for black — AA at any size.

What is the complementary color of #af39ae?

#39AF3A sits directly opposite on the wheel. Softer options are the split-complements #73AF39 and #39AF75, which give the same contrast with far less vibration.

What colors go well with #af39ae?

For interface work: #FAF4FA as the surface, #EBC1EB for borders, #9B4B9A for secondary text, #499E2E as an accent and #601F60 for hover and pressed states. For a palette, the analogous pair #7539AF and #AF3973 stays calm, while #39AF3A is the loudest partner.

What is #af39ae in CMYK for printing?

cmyk(0%, 67%, 1%, 31%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #af39ae warm or cool?

Neutral — it scores 50 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF3983; nudged cooler, #8537B1.

Work with #af39ae in the Color Lab