Skip to content

#d732cf

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

RGB
215, 50, 207
HSL
303°, 67%, 52%
CMYK
0, 77, 4, 16
Luminance
0.2123

At a glance

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

Hex
#d732cf
Hue
303°
magenta / pink
Saturation
67%
vivid
Lightness
52%
balanced
Brightness
84%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2123
WCAG relative
Temperature
Neutral
48/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.25:1
Closest name
Medium Orchid
ΔE2000 5.8
Where it sits
Hue303° of 360°
Saturation67%
Lightness52%
Temperature
Warm ← → Cool48% 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#d732cf
RGBrgb(215, 50, 207)
HSLhsl(303, 67%, 52%)
CMYKcmyk(0%, 77%, 4%, 16%)
LABlab(53.2 77.7 -45.5)
LCHlch(53.2 90.1 329.6)
OKLCHoklch(0.630 0.254 330.3)
Decimal14103247
Display P3color(display-p3 0.843 0.196 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d732cf on white: 4.00:1
AA ✗ fail · AA-large · AAA
Aa
#d732cf on black: 5.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #1871D3
deuteranopia · #6787CB
tritanopia · #DF4A80

Color scale — 50 to 950

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

#FBF3FB
#F8E8F7
#F1CAF0
#EDA1E9
#E372DE
#d732cf
#CD28C5
#AB21A4
#891B83
#63175F
#3E0F3C
Base = 500Lightest = 50 · #FBF3FBDarkest = 950 · #3E0F3C
:root {
  --brand-50: #FBF3FB;
  --brand-100: #F8E8F7;
  --brand-200: #F1CAF0;
  --brand-300: #EDA1E9;
  --brand-400: #E372DE;
  --brand-500: #d732cf;
  --brand-600: #CD28C5;
  --brand-700: #AB21A4;
  --brand-800: #891B83;
  --brand-900: #63175F;
  --brand-950: #3E0F3C;
  --brand: #d732cf;
  --brand-ink: #000000;
}

Colors that work with #d732cf

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#EDC0EA
Hairlines and dividers
Muted text#9B4B97
Captions on the surface
Accent#3BAF1D
Second voice, not a rival
Dark variant#6B1567
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 #d732cf

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#32D73A
Analogous left#8D32D7
Analogous right#D7327D
Split-complement 1#7DD732
Split-complement 2#32D78D
Triadic 1#CFD732
Triadic 2#32CFD7
Tetradic#D78D32

RGB percentages

Red84.3%
Green19.6%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta76.7%
Yellow3.7%
Key (black)15.7%

Color previews

#d732cf text on a black background

contrast 5.25:1

Card sample

#d732cf text on a white background

contrast 4.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d732cf

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.

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

#d732cf, answered

What color is #d732cf?

#d732cf is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 5.8). It sits at 303° on the hue wheel with 67% saturation and 52% lightness, which reads as neutral.

What is the RGB value of #d732cf?

rgb(215, 50, 207) — 215 red, 50 green and 207 blue out of 255, or 84.3% / 19.6% / 81.2% by channel.

Is #d732cf a light or a dark color?

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

Should I use black or white text on #d732cf?

Black. It scores 5.25:1 against #d732cf, versus 4.00:1 for white — AA at any size.

What is the complementary color of #d732cf?

#32D73A sits directly opposite on the wheel. Softer options are the split-complements #7DD732 and #32D78D, which give the same contrast with far less vibration.

What colors go well with #d732cf?

For interface work: #FAF4FA as the surface, #EDC0EA for borders, #9B4B97 for secondary text, #3BAF1D as an accent and #6B1567 for hover and pressed states. For a palette, the analogous pair #8D32D7 and #D7327D stays calm, while #32D73A is the loudest partner.

What is #d732cf in CMYK for printing?

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

Is #d732cf warm or cool?

Neutral — it scores 48 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D73293; nudged cooler, #A330D9.

Work with #d732cf in the Color Lab