Skip to content

#d72fd2

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

RGB
215, 47, 210
HSL
302°, 68%, 51%
CMYK
0, 78, 2, 16
Luminance
0.2113

At a glance

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

Hex
#d72fd2
Hue
302°
magenta / pink
Saturation
68%
vivid
Lightness
51%
balanced
Brightness
84%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2113
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.23:1
Closest name
Medium Orchid
ΔE2000 5.7
Where it sits
Hue302° of 360°
Saturation68%
Lightness51%
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#d72fd2
RGBrgb(215, 47, 210)
HSLhsl(302, 68%, 51%)
CMYKcmyk(0%, 78%, 2%, 16%)
LABlab(53.1 79.0 -47.4)
LCHlch(53.1 92.1 329.0)
OKLCHoklch(0.630 0.259 329.5)
Decimal14102482
Display P3color(display-p3 0.843 0.184 0.824)

Copy-ready code

/* CSS */
color: #d72fd2;
background-color: #d72fd2;
/* Tailwind (arbitrary) */
class="text-[#d72fd2] bg-[#d72fd2]"
/* SCSS */
$brand: #d72fd2;
/* SwiftUI */
Color(red: 0.843, green: 0.184, blue: 0.824)
/* Android */
Color.parseColor("#d72fd2")
/* Flutter */
Color(0xFFD72FD2)
/* Python / OpenCV (BGR) */
(210, 47, 215)

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

Accessibility — WCAG contrast

Aa
#d72fd2 on white: 4.02:1
AA ✗ fail · AA-large · AAA
Aa
#d72fd2 on black: 5.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0571D6
deuteranopia · #6486CE
tritanopia · #DF4A81

Color scale — 50 to 950

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

#FBF3FB
#F8E8F7
#F2CAF0
#EDA1EB
#E472E0
#DB43D6
#d72fd2
#AB21A7
#891A86
#631761
#3E0E3D
Base = 600Lightest = 50 · #FBF3FBDarkest = 950 · #3E0E3D
:root {
  --brand-50: #FBF3FB;
  --brand-100: #F8E8F7;
  --brand-200: #F2CAF0;
  --brand-300: #EDA1EB;
  --brand-400: #E472E0;
  --brand-500: #DB43D6;
  --brand-600: #d72fd2;
  --brand-700: #AB21A7;
  --brand-800: #891A86;
  --brand-900: #631761;
  --brand-950: #3E0E3D;
  --brand: #d72fd2;
  --brand-ink: #000000;
}

Colors that work with #d72fd2

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4FA
Tinted page background
Border#EDC0EB
Hairlines and dividers
Muted text#9B4B99
Captions on the surface
Accent#3DAF1D
Second voice, not a rival
Dark variant#6B1568
Hover, pressed, headers
Light variant#FBEAFA
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 #d72fd2

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#2FD734
Analogous left#882FD7
Analogous right#D72F7E
Split-complement 1#7ED72F
Split-complement 2#2FD788
Triadic 1#D2D72F
Triadic 2#2FD2D7
Tetradic#D7882F

RGB percentages

Red84.3%
Green18.4%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta78.1%
Yellow2.3%
Key (black)15.7%

Color previews

#d72fd2 text on a black background

contrast 5.23:1

Card sample

#d72fd2 text on a white background

contrast 4.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(215, 47, 210, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(215, 47, 210, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d72fd2;
background: linear-gradient(135deg, #d72fd2, #D72F62);

Monochromatic scale

Palettes built from #d72fd2

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.

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

#d72fd2, answered

What color is #d72fd2?

#d72fd2 is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 5.7). It sits at 302° on the hue wheel with 68% saturation and 51% lightness, which reads as neutral.

What is the RGB value of #d72fd2?

rgb(215, 47, 210) — 215 red, 47 green and 210 blue out of 255, or 84.3% / 18.4% / 82.4% by channel.

Is #d72fd2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2113 and perceived brightness is 56%, so black text on it reaches 5.23:1.

Should I use black or white text on #d72fd2?

Black. It scores 5.23:1 against #d72fd2, versus 4.02:1 for white — AA at any size.

What is the complementary color of #d72fd2?

#2FD734 sits directly opposite on the wheel. Softer options are the split-complements #7ED72F and #2FD788, which give the same contrast with far less vibration.

What colors go well with #d72fd2?

For interface work: #FAF4FA as the surface, #EDC0EB for borders, #9B4B99 for secondary text, #3DAF1D as an accent and #6B1568 for hover and pressed states. For a palette, the analogous pair #882FD7 and #D72F7E stays calm, while #2FD734 is the loudest partner.

What is #d72fd2 in CMYK for printing?

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

Is #d72fd2 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 #D72F94; nudged cooler, #9F2DD9.

Work with #d72fd2 in the Color Lab