Skip to content

#d72bea

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

RGB
215, 43, 234
HSL
294°, 82%, 54%
CMYK
8, 82, 0, 8
Luminance
0.2212

At a glance

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

Hex
#d72bea
Hue
294°
magenta / pink
Saturation
82%
electric
Lightness
54%
balanced
Brightness
92%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2212
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
5.42:1
Closest name
Medium Orchid
ΔE2000 5.7
Where it sits
Hue294° of 360°
Saturation82%
Lightness54%
Temperature
Warm ← → Cool53% 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#d72bea
RGBrgb(215, 43, 234)
HSLhsl(294, 82%, 54%)
CMYKcmyk(8%, 82%, 0%, 8%)
LABlab(54.1 83.6 -59.4)
LCHlch(54.1 102.6 324.6)
OKLCHoklch(0.642 0.279 323.4)
Decimal14101482
Display P3color(display-p3 0.843 0.169 0.918)

Copy-ready code

/* CSS */
color: #d72bea;
background-color: #d72bea;
/* Tailwind (arbitrary) */
class="text-[#d72bea] bg-[#d72bea]"
/* SCSS */
$brand: #d72bea;
/* SwiftUI */
Color(red: 0.843, green: 0.169, blue: 0.918)
/* Android */
Color.parseColor("#d72bea")
/* Flutter */
Color(0xFFD72BEA)
/* Python / OpenCV (BGR) */
(234, 43, 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 #d72bea · 5.42:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.87:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.42:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #d72bea as text scores 3.87:1 on white and 5.42:1 on black.

Accessibility — WCAG contrast

Aa
#d72bea on white: 3.87:1
AA ✗ fail · AA-large · AAA
Aa
#d72bea on black: 5.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0075EF
deuteranopia · #5188E6
tritanopia · #DA558E

Color scale — 50 to 950

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

#FBF2FC
#F8E6F9
#F1C6F6
#EC99F5
#E266F0
#d72bea
#CB16DF
#A912BA
#870F95
#620F6B
#3D0943
Base = 500Lightest = 50 · #FBF2FCDarkest = 950 · #3D0943
:root {
  --brand-50: #FBF2FC;
  --brand-100: #F8E6F9;
  --brand-200: #F1C6F6;
  --brand-300: #EC99F5;
  --brand-400: #E266F0;
  --brand-500: #d72bea;
  --brand-600: #CB16DF;
  --brand-700: #A912BA;
  --brand-800: #870F95;
  --brand-900: #620F6B;
  --brand-950: #3D0943;
  --brand: #d72bea;
  --brand-ink: #000000;
}

Colors that work with #d72bea

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#E8C0ED
Hairlines and dividers
Muted text#934B9B
Captions on the surface
Accent#4BBE0E
Second voice, not a rival
Dark variant#6A0B74
Hover, pressed, headers
Light variant#FBE8FD
Selected rows, tints
Dark surface#231424
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 #d72bea

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#3EEA2B
Analogous left#772BEA
Analogous right#EA2B9E
Split-complement 1#9EEA2B
Split-complement 2#2BEA77
Triadic 1#EAD72B
Triadic 2#2BEAD7
Tetradic#EA772B

RGB percentages

Red84.3%
Green16.9%
Blue91.8%

CMYK percentages

Cyan8.1%
Magenta81.6%
Yellow0.0%
Key (black)8.2%

Color previews

#d72bea text on a black background

contrast 5.42:1

Card sample

#d72bea text on a white background

contrast 3.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d72bea

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.

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

#d72bea, answered

What color is #d72bea?

#d72bea is a balanced electric magenta / pink, closest to Medium Orchid (ΔE2000 5.7). It sits at 294° on the hue wheel with 82% saturation and 54% lightness, which reads as neutral.

What is the RGB value of #d72bea?

rgb(215, 43, 234) — 215 red, 43 green and 234 blue out of 255, or 84.3% / 16.9% / 91.8% by channel.

Is #d72bea a light or a dark color?

It is a mid-tone. Relative luminance is 0.2212 and perceived brightness is 57%, so black text on it reaches 5.42:1.

Should I use black or white text on #d72bea?

Black. It scores 5.42:1 against #d72bea, versus 3.87:1 for white — AA at any size.

What is the complementary color of #d72bea?

#3EEA2B sits directly opposite on the wheel. Softer options are the split-complements #9EEA2B and #2BEA77, which give the same contrast with far less vibration.

What colors go well with #d72bea?

For interface work: #FAF4FA as the surface, #E8C0ED for borders, #934B9B for secondary text, #4BBE0E as an accent and #6A0B74 for hover and pressed states. For a palette, the analogous pair #772BEA and #EA2B9E stays calm, while #3EEA2B is the loudest partner.

What is #d72bea in CMYK for printing?

cmyk(8%, 82%, 0%, 8%). 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 #d72bea warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EA2BB7; nudged cooler, #9129EC.

Work with #d72bea in the Color Lab