Skip to content

#af3eab

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

RGB
175, 62, 171
HSL
302°, 48%, 47%
CMYK
0, 65, 2, 31
Luminance
0.1550

At a glance

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

Hex
#af3eab
Hue
302°
magenta / pink
Saturation
48%
vivid
Lightness
47%
balanced
Brightness
69%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1550
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
5.12:1
Closest name
Dark Orchid
ΔE2000 8.6
Where it sits
Hue302° of 360°
Saturation48%
Lightness47%
Temperature
Warm ← → Cool49% 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#af3eab
RGBrgb(175, 62, 171)
HSLhsl(302, 48%, 47%)
CMYKcmyk(0%, 65%, 2%, 31%)
LABlab(46.3 59.1 -35.9)
LCHlch(46.3 69.2 328.7)
OKLCHoklch(0.562 0.194 329.2)
Decimal11484843
Display P3color(display-p3 0.686 0.243 0.671)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af3eab on white: 5.12:1
AA ✓ pass · AA-large · AAA
Aa
#af3eab on black: 4.10:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #3364AE
deuteranopia · #5C73A8
tritanopia · #B54C6F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af3eab 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.

#FAF5FA
#F5EAF5
#ECD0EB
#E2ACE0
#D383D0
#C459C1
#af3eab
#973593
#792B76
#582256
#371536
Base = 600Lightest = 50 · #FAF5FADarkest = 950 · #371536
:root {
  --brand-50: #FAF5FA;
  --brand-100: #F5EAF5;
  --brand-200: #ECD0EB;
  --brand-300: #E2ACE0;
  --brand-400: #D383D0;
  --brand-500: #C459C1;
  --brand-600: #af3eab;
  --brand-700: #973593;
  --brand-800: #792B76;
  --brand-900: #582256;
  --brand-950: #371536;
  --brand: #af3eab;
  --brand-ink: #ffffff;
}

Colors that work with #af3eab

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#EAC3E8
Hairlines and dividers
Muted text#9B4B98
Captions on the surface
Accent#489B31
Second voice, not a rival
Dark variant#5E215C
Hover, pressed, headers
Light variant#F8ECF8
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 #af3eab

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#3EAF42
Analogous left#7B3EAF
Analogous right#AF3E73
Split-complement 1#73AF3E
Split-complement 2#3EAF7B
Triadic 1#ABAF3E
Triadic 2#3EABAF
Tetradic#AF7B3E

RGB percentages

Red68.6%
Green24.3%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta64.6%
Yellow2.3%
Key (black)31.4%

Color previews

#af3eab text on a black background

contrast 4.10:1

Card sample

#af3eab text on a white background

contrast 5.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3eab

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.

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

#af3eab, answered

What color is #af3eab?

#af3eab is a balanced vivid magenta / pink, closest to Dark Orchid (ΔE2000 8.6). It sits at 302° on the hue wheel with 48% saturation and 47% lightness, which reads as neutral.

What is the RGB value of #af3eab?

rgb(175, 62, 171) — 175 red, 62 green and 171 blue out of 255, or 68.6% / 24.3% / 67.1% by channel.

Is #af3eab a light or a dark color?

It is a dark color. Relative luminance is 0.1550 and perceived brightness is 48%, so white text on it reaches 5.12:1.

Should I use black or white text on #af3eab?

White. It scores 5.12:1 against #af3eab, versus 4.10:1 for black — AA at any size.

What is the complementary color of #af3eab?

#3EAF42 sits directly opposite on the wheel. Softer options are the split-complements #73AF3E and #3EAF7B, which give the same contrast with far less vibration.

What colors go well with #af3eab?

For interface work: #FAF4FA as the surface, #EAC3E8 for borders, #9B4B98 for secondary text, #489B31 as an accent and #5E215C for hover and pressed states. For a palette, the analogous pair #7B3EAF and #AF3E73 stays calm, while #3EAF42 is the loudest partner.

What is #af3eab in CMYK for printing?

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

Is #af3eab warm or cool?

Neutral — it scores 49 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF3E82; nudged cooler, #8A3CB2.

Work with #af3eab in the Color Lab