Skip to content

#d52cd3

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

RGB
213, 44, 211
HSL
301°, 67%, 50%
CMYK
0, 79, 1, 17
Luminance
0.2065

At a glance

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

Hex
#d52cd3
Hue
301°
magenta / pink
Saturation
67%
vivid
Lightness
50%
balanced
Brightness
84%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2065
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.13:1
Closest name
Medium Orchid
ΔE2000 5.7
Where it sits
Hue301° of 360°
Saturation67%
Lightness50%
Temperature
Warm ← → Cool50% 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#d52cd3
RGBrgb(213, 44, 211)
HSLhsl(301, 67%, 50%)
CMYKcmyk(0%, 79%, 1%, 17%)
LABlab(52.6 79.5 -48.9)
LCHlch(52.6 93.3 328.4)
OKLCHoklch(0.626 0.261 328.7)
Decimal13970643
Display P3color(display-p3 0.835 0.173 0.827)

Copy-ready code

/* CSS */
color: #d52cd3;
background-color: #d52cd3;
/* Tailwind (arbitrary) */
class="text-[#d52cd3] bg-[#d52cd3]"
/* SCSS */
$brand: #d52cd3;
/* SwiftUI */
Color(red: 0.835, green: 0.173, blue: 0.827)
/* Android */
Color.parseColor("#d52cd3")
/* Flutter */
Color(0xFFD52CD3)
/* Python / OpenCV (BGR) */
(211, 44, 213)

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

Accessibility — WCAG contrast

Aa
#d52cd3 on white: 4.09:1
AA ✗ fail · AA-large · AAA
Aa
#d52cd3 on black: 5.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0070D7
deuteranopia · #6085CF
tritanopia · #DC4981

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d52cd3 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
#F1CAF1
#ECA1EC
#E373E2
#DA44D8
#d52cd3
#AA22A9
#881B87
#631862
#3E0F3D
Base = 600Lightest = 50 · #FBF3FBDarkest = 950 · #3E0F3D
:root {
  --brand-50: #FBF3FB;
  --brand-100: #F8E8F7;
  --brand-200: #F1CAF1;
  --brand-300: #ECA1EC;
  --brand-400: #E373E2;
  --brand-500: #DA44D8;
  --brand-600: #d52cd3;
  --brand-700: #AA22A9;
  --brand-800: #881B87;
  --brand-900: #631862;
  --brand-950: #3E0F3D;
  --brand: #d52cd3;
  --brand-ink: #000000;
}

Colors that work with #d52cd3

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#EDC0EC
Hairlines and dividers
Muted text#9B4B9A
Captions on the surface
Accent#40AE1E
Second voice, not a rival
Dark variant#6A1569
Hover, pressed, headers
Light variant#FBEAFB
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 #d52cd3

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#2CD52E
Analogous left#822CD5
Analogous right#D52C7F
Split-complement 1#7FD52C
Split-complement 2#2CD582
Triadic 1#D3D52C
Triadic 2#2CD3D5
Tetradic#D5822C

RGB percentages

Red83.5%
Green17.3%
Blue82.7%

CMYK percentages

Cyan0.0%
Magenta79.3%
Yellow0.9%
Key (black)16.5%

Color previews

#d52cd3 text on a black background

contrast 5.13:1

Card sample

#d52cd3 text on a white background

contrast 4.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(213, 44, 211, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(213, 44, 211, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d52cd3;
background: linear-gradient(135deg, #d52cd3, #D52C62);

Monochromatic scale

Palettes built from #d52cd3

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.

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

#d52cd3, answered

What color is #d52cd3?

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

What is the RGB value of #d52cd3?

rgb(213, 44, 211) — 213 red, 44 green and 211 blue out of 255, or 83.5% / 17.3% / 82.7% by channel.

Is #d52cd3 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2065 and perceived brightness is 55%, so black text on it reaches 5.13:1.

Should I use black or white text on #d52cd3?

Black. It scores 5.13:1 against #d52cd3, versus 4.09:1 for white — AA at any size.

What is the complementary color of #d52cd3?

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

What colors go well with #d52cd3?

For interface work: #FAF4FA as the surface, #EDC0EC for borders, #9B4B9A for secondary text, #40AE1E as an accent and #6A1569 for hover and pressed states. For a palette, the analogous pair #822CD5 and #D52C7F stays calm, while #2CD52E is the loudest partner.

What is #d52cd3 in CMYK for printing?

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

Is #d52cd3 warm or cool?

Neutral — it scores 50 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D52C95; nudged cooler, #9A2AD8.

Work with #d52cd3 in the Color Lab