Skip to content

#af0eb0

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

RGB
175, 14, 176
HSL
300°, 85%, 37%
CMYK
1, 92, 0, 31
Luminance
0.1256

At a glance

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

Hex
#af0eb0
Hue
300°
magenta / pink
Saturation
85%
electric
Lightness
37%
dark
Brightness
69%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1256
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.98:1
Closest name
Dark Orchid
ΔE2000 6.8
Where it sits
Hue300° of 360°
Saturation85%
Lightness37%
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#af0eb0
RGBrgb(175, 14, 176)
HSLhsl(300, 85%, 37%)
CMYKcmyk(1%, 92%, 0%, 31%)
LABlab(42.1 72.8 -45.6)
LCHlch(42.1 85.9 327.9)
OKLCHoklch(0.533 0.239 328.0)
Decimal11472560
Display P3color(display-p3 0.686 0.055 0.690)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af0eb0 on white: 5.98:1
AA ✓ pass · AA-large · AAA
Aa
#af0eb0 on black: 3.51:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0057B4
deuteranopia · #476AAD
tritanopia · #B53467

Color scale — 50 to 950

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

#FCF2FC
#FAE5FA
#F6C5F7
#F697F7
#F263F3
#ED2FEF
#E112E3
#af0eb0
#960C97
#6D0D6D
#440844
Base = 700Lightest = 50 · #FCF2FCDarkest = 950 · #440844
:root {
  --brand-50: #FCF2FC;
  --brand-100: #FAE5FA;
  --brand-200: #F6C5F7;
  --brand-300: #F697F7;
  --brand-400: #F263F3;
  --brand-500: #ED2FEF;
  --brand-600: #E112E3;
  --brand-700: #af0eb0;
  --brand-800: #960C97;
  --brand-900: #6D0D6D;
  --brand-950: #440844;
  --brand: #af0eb0;
  --brand-ink: #ffffff;
}

Colors that work with #af0eb0

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#ECC0ED
Hairlines and dividers
Muted text#9A4B9B
Captions on the surface
Accent#3AC10B
Second voice, not a rival
Dark variant#750976
Hover, pressed, headers
Light variant#FDE7FD
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 #af0eb0

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#0FB00E
Analogous left#5E0EB0
Analogous right#B00E60
Split-complement 1#60B00E
Split-complement 2#0EB05E
Triadic 1#B0AF0E
Triadic 2#0EB0AF
Tetradic#B05E0E

RGB percentages

Red68.6%
Green5.5%
Blue69.0%

CMYK percentages

Cyan0.6%
Magenta92.0%
Yellow0.0%
Key (black)31.0%

Color previews

#af0eb0 text on a black background

contrast 3.51:1

Card sample

#af0eb0 text on a white background

contrast 5.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af0eb0

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.

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

#af0eb0, answered

What color is #af0eb0?

#af0eb0 is a dark electric magenta / pink, closest to Dark Orchid (ΔE2000 6.8). It sits at 300° on the hue wheel with 85% saturation and 37% lightness, which reads as neutral.

What is the RGB value of #af0eb0?

rgb(175, 14, 176) — 175 red, 14 green and 176 blue out of 255, or 68.6% / 5.5% / 69% by channel.

Is #af0eb0 a light or a dark color?

It is a dark color. Relative luminance is 0.1256 and perceived brightness is 44%, so white text on it reaches 5.98:1.

Should I use black or white text on #af0eb0?

White. It scores 5.98:1 against #af0eb0, versus 3.51:1 for black — AA at any size.

What is the complementary color of #af0eb0?

#0FB00E sits directly opposite on the wheel. Softer options are the split-complements #60B00E and #0EB05E, which give the same contrast with far less vibration.

What colors go well with #af0eb0?

For interface work: #FAF4FA as the surface, #ECC0ED for borders, #9A4B9B for secondary text, #3AC10B as an accent and #750976 for hover and pressed states. For a palette, the analogous pair #5E0EB0 and #B00E60 stays calm, while #0FB00E is the loudest partner.

What is #af0eb0 in CMYK for printing?

cmyk(1%, 92%, 0%, 31%). 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 #af0eb0 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 #B00E76; nudged cooler, #740CB2.

Work with #af0eb0 in the Color Lab