Skip to content

#af09c7

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

RGB
175, 9, 199
HSL
292°, 91%, 41%
CMYK
12, 96, 0, 22
Luminance
0.1343

At a glance

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

Hex
#af09c7
Hue
292°
magenta / pink
Saturation
91%
electric
Lightness
41%
dark
Brightness
78%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1343
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.70:1
Closest name
Dark Orchid
ΔE2000 4.3
Where it sits
Hue292° of 360°
Saturation91%
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#af09c7
RGBrgb(175, 9, 199)
HSLhsl(292, 91%, 41%)
CMYKcmyk(12%, 96%, 0%, 22%)
LABlab(43.4 77.0 -57.0)
LCHlch(43.4 95.8 323.5)
OKLCHoklch(0.547 0.257 321.4)
Decimal11471303
Display P3color(display-p3 0.686 0.035 0.780)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af09c7 on white: 5.70:1
AA ✓ pass · AA-large · AAA
Aa
#af09c7 on black: 3.69:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005CCB
deuteranopia · #306CC3
tritanopia · #B04175

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af09c7 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
#F8E4FB
#F2C3F9
#ED94FA
#E45EF8
#DB28F5
#CE0BEA
#af09c7
#89079C
#640A71
#3E0646
Base = 700Lightest = 50 · #FCF2FDDarkest = 950 · #3E0646
:root {
  --brand-50: #FCF2FD;
  --brand-100: #F8E4FB;
  --brand-200: #F2C3F9;
  --brand-300: #ED94FA;
  --brand-400: #E45EF8;
  --brand-500: #DB28F5;
  --brand-600: #CE0BEA;
  --brand-700: #af09c7;
  --brand-800: #89079C;
  --brand-900: #640A71;
  --brand-950: #3E0646;
  --brand: #af09c7;
  --brand-ink: #ffffff;
}

Colors that work with #af09c7

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#4EC705
Second voice, not a rival
Dark variant#6B067A
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 #af09c7

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#21C709
Analogous left#5009C7
Analogous right#C70980
Split-complement 1#80C709
Split-complement 2#09C750
Triadic 1#C7AF09
Triadic 2#09C7AF
Tetradic#C75009

RGB percentages

Red68.6%
Green3.5%
Blue78.0%

CMYK percentages

Cyan12.1%
Magenta95.5%
Yellow0.0%
Key (black)22.0%

Color previews

#af09c7 text on a black background

contrast 3.69:1

Card sample

#af09c7 text on a white background

contrast 5.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af09c7

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.

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

#af09c7, answered

What color is #af09c7?

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

What is the RGB value of #af09c7?

rgb(175, 9, 199) — 175 red, 9 green and 199 blue out of 255, or 68.6% / 3.5% / 78% by channel.

Is #af09c7 a light or a dark color?

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

Should I use black or white text on #af09c7?

White. It scores 5.70:1 against #af09c7, versus 3.69:1 for black — AA at any size.

What is the complementary color of #af09c7?

#21C709 sits directly opposite on the wheel. Softer options are the split-complements #80C709 and #09C750, which give the same contrast with far less vibration.

What colors go well with #af09c7?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #914B9B for secondary text, #4EC705 as an accent and #6B067A for hover and pressed states. For a palette, the analogous pair #5009C7 and #C70980 stays calm, while #21C709 is the loudest partner.

What is #af09c7 in CMYK for printing?

cmyk(12%, 96%, 0%, 22%). 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 #af09c7 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 #C70999; nudged cooler, #6907C9.

Work with #af09c7 in the Color Lab