Skip to content

#ad02cd

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

RGB
173, 2, 205
HSL
291°, 98%, 41%
CMYK
16, 99, 0, 20
Luminance
0.1334

At a glance

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

Hex
#ad02cd
Hue
291°
magenta / pink
Saturation
98%
electric
Lightness
41%
dark
Brightness
80%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1334
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
5.73:1
Closest name
Dark Orchid
ΔE2000 3.8
Where it sits
Hue291° of 360°
Saturation98%
Lightness41%
Temperature
Warm ← → Cool55% 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#ad02cd
RGBrgb(173, 2, 205)
HSLhsl(291, 98%, 41%)
CMYKcmyk(16%, 99%, 0%, 20%)
LABlab(43.3 78.3 -60.7)
LCHlch(43.3 99.1 322.2)
OKLCHoklch(0.547 0.263 319.3)
Decimal11338445
Display P3color(display-p3 0.678 0.008 0.804)

Copy-ready code

/* CSS */
color: #ad02cd;
background-color: #ad02cd;
/* Tailwind (arbitrary) */
class="text-[#ad02cd] bg-[#ad02cd]"
/* SCSS */
$brand: #ad02cd;
/* SwiftUI */
Color(red: 0.678, green: 0.008, blue: 0.804)
/* Android */
Color.parseColor("#ad02cd")
/* Flutter */
Color(0xFFAD02CD)
/* Python / OpenCV (BGR) */
(205, 2, 173)

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 #ad02cd · 5.73:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.73:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.67:1
AA fail · AA large pass · AAA fail
Reading the other direction: #ad02cd as text scores 5.73:1 on white and 3.67:1 on black.

Accessibility — WCAG contrast

Aa
#ad02cd on white: 5.73:1
AA ✓ pass · AA-large · AAA
Aa
#ad02cd on black: 3.67:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005DD1
deuteranopia · #216BC9
tritanopia · #AD4478

Color scale — 50 to 950

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

#FCF1FD
#F8E3FC
#F2C1FB
#ED90FE
#E358FD
#DA21FD
#CC02F2
#ad02cd
#8802A2
#630674
#3E0449
Base = 700Lightest = 50 · #FCF1FDDarkest = 950 · #3E0449
:root {
  --brand-50: #FCF1FD;
  --brand-100: #F8E3FC;
  --brand-200: #F2C1FB;
  --brand-300: #ED90FE;
  --brand-400: #E358FD;
  --brand-500: #DA21FD;
  --brand-600: #CC02F2;
  --brand-700: #ad02cd;
  --brand-800: #8802A2;
  --brand-900: #630674;
  --brand-950: #3E0449;
  --brand: #ad02cd;
  --brand-ink: #ffffff;
}

Colors that work with #ad02cd

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#F9F4FA
Tinted page background
Border#E6C0ED
Hairlines and dividers
Muted text#8E4B9B
Captions on the surface
Accent#54CC00
Second voice, not a rival
Dark variant#6A017E
Hover, pressed, headers
Light variant#FBE6FF
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 #ad02cd

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#22CD02
Analogous left#4702CD
Analogous right#CD0288
Split-complement 1#88CD02
Split-complement 2#02CD47
Triadic 1#CDAD02
Triadic 2#02CDAD
Tetradic#CD4702

RGB percentages

Red67.8%
Green0.8%
Blue80.4%

CMYK percentages

Cyan15.6%
Magenta99.0%
Yellow0.0%
Key (black)19.6%

Color previews

#ad02cd text on a black background

contrast 3.67:1

Card sample

#ad02cd text on a white background

contrast 5.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(173, 2, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 2, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad02cd;
background: linear-gradient(135deg, #ad02cd, #CD0266);

Monochromatic scale

Palettes built from #ad02cd

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.

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

#ad02cd, answered

What color is #ad02cd?

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

What is the RGB value of #ad02cd?

rgb(173, 2, 205) — 173 red, 2 green and 205 blue out of 255, or 67.8% / 0.8% / 80.4% by channel.

Is #ad02cd a light or a dark color?

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

Should I use black or white text on #ad02cd?

White. It scores 5.73:1 against #ad02cd, versus 3.67:1 for black — AA at any size.

What is the complementary color of #ad02cd?

#22CD02 sits directly opposite on the wheel. Softer options are the split-complements #88CD02 and #02CD47, which give the same contrast with far less vibration.

What colors go well with #ad02cd?

For interface work: #F9F4FA as the surface, #E6C0ED for borders, #8E4B9B for secondary text, #54CC00 as an accent and #6A017E for hover and pressed states. For a palette, the analogous pair #4702CD and #CD0288 stays calm, while #22CD02 is the loudest partner.

What is #ad02cd in CMYK for printing?

cmyk(16%, 99%, 0%, 20%). 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 #ad02cd warm or cool?

Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CD02A3; nudged cooler, #6200CF.

Work with #ad02cd in the Color Lab