Skip to content

#af0bc5

a dark, electric magenta / pink · neutral · closest name: Dark Orchid

RGB
175, 11, 197
HSL
293°, 89%, 41%
CMYK
11, 94, 0, 23
Luminance
0.1338

At a glance

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

Hex
#af0bc5
Hue
293°
magenta / pink
Saturation
89%
electric
Lightness
41%
dark
Brightness
77%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1338
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.71:1
Closest name
Dark Orchid
ΔE2000 4.4
Where it sits
Hue293° of 360°
Saturation89%
Lightness41%
Temperature
Warm ← → Cool54% 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#af0bc5
RGBrgb(175, 11, 197)
HSLhsl(293, 89%, 41%)
CMYKcmyk(11%, 94%, 0%, 23%)
LABlab(43.3 76.4 -55.9)
LCHlch(43.3 94.7 323.8)
OKLCHoklch(0.546 0.255 322.0)
Decimal11471813
Display P3color(display-p3 0.686 0.043 0.773)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af0bc5 on white: 5.71:1
AA ✓ pass · AA-large · AAA
Aa
#af0bc5 on black: 3.68:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005CC9
deuteranopia · #336CC1
tritanopia · #B14074

Color scale — 50 to 950

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

#FCF2FD
#F8E5FB
#F2C4F8
#ED95F9
#E460F6
#DB2AF3
#CE0DE8
#af0bc5
#89099B
#640B70
#3E0746
Base = 700Lightest = 50 · #FCF2FDDarkest = 950 · #3E0746
:root {
  --brand-50: #FCF2FD;
  --brand-100: #F8E5FB;
  --brand-200: #F2C4F8;
  --brand-300: #ED95F9;
  --brand-400: #E460F6;
  --brand-500: #DB2AF3;
  --brand-600: #CE0DE8;
  --brand-700: #af0bc5;
  --brand-800: #89099B;
  --brand-900: #640B70;
  --brand-950: #3E0746;
  --brand: #af0bc5;
  --brand-ink: #ffffff;
}

Colors that work with #af0bc5

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#E7C0ED
Hairlines and dividers
Muted text#914B9B
Captions on the surface
Accent#4DC507
Second voice, not a rival
Dark variant#6B0779
Hover, pressed, headers
Light variant#FBE7FE
Selected rows, tints
Dark surface#221424
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 #af0bc5

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#21C50B
Analogous left#520BC5
Analogous right#C50B7E
Split-complement 1#7EC50B
Split-complement 2#0BC552
Triadic 1#C5AF0B
Triadic 2#0BC5AF
Tetradic#C5520B

RGB percentages

Red68.6%
Green4.3%
Blue77.3%

CMYK percentages

Cyan11.2%
Magenta94.4%
Yellow0.0%
Key (black)22.7%

Color previews

#af0bc5 text on a black background

contrast 3.68:1

Card sample

#af0bc5 text on a white background

contrast 5.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af0bc5

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.

#af0bc5 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#af0bc5, answered

What color is #af0bc5?

#af0bc5 is a dark electric magenta / pink, closest to Dark Orchid (ΔE2000 4.4). It sits at 293° on the hue wheel with 89% saturation and 41% lightness, which reads as neutral.

What is the RGB value of #af0bc5?

rgb(175, 11, 197) — 175 red, 11 green and 197 blue out of 255, or 68.6% / 4.3% / 77.3% by channel.

Is #af0bc5 a light or a dark color?

It is a dark color. Relative luminance is 0.1338 and perceived brightness is 46%, so white text on it reaches 5.71:1.

Should I use black or white text on #af0bc5?

White. It scores 5.71:1 against #af0bc5, versus 3.68:1 for black — AA at any size.

What is the complementary color of #af0bc5?

#21C50B sits directly opposite on the wheel. Softer options are the split-complements #7EC50B and #0BC552, which give the same contrast with far less vibration.

What colors go well with #af0bc5?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #914B9B for secondary text, #4DC507 as an accent and #6B0779 for hover and pressed states. For a palette, the analogous pair #520BC5 and #C50B7E stays calm, while #21C50B is the loudest partner.

What is #af0bc5 in CMYK for printing?

cmyk(11%, 94%, 0%, 23%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #af0bc5 warm or cool?

Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C50B97; nudged cooler, #6B09C7.

Work with #af0bc5 in the Color Lab