Skip to content

#d52cbc

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

RGB
213, 44, 188
HSL
309°, 67%, 50%
CMYK
0, 79, 12, 17
Luminance
0.1958

At a glance

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

Hex
#d52cbc
Hue
309°
magenta / pink
Saturation
67%
vivid
Lightness
50%
balanced
Brightness
84%
HSV value
Perceived
54%
weighted brightness
Luminance
0.1958
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.92:1
Closest name
Medium Orchid
ΔE2000 7.7
Where it sits
Hue309° of 360°
Saturation67%
Lightness50%
Temperature
Warm ← → Cool45% 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#d52cbc
RGBrgb(213, 44, 188)
HSLhsl(309, 67%, 50%)
CMYKcmyk(0%, 79%, 12%, 17%)
LABlab(51.4 76.1 -37.5)
LCHlch(51.4 84.9 333.8)
OKLCHoklch(0.613 0.245 335.2)
Decimal13970620
Display P3color(display-p3 0.835 0.173 0.737)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d52cbc on white: 4.27:1
AA ✗ fail · AA-large · AAA
Aa
#d52cbc on black: 4.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2C6BC0
deuteranopia · #6D83B8
tritanopia · #E03C74

Color scale — 50 to 950

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

#FBF3FA
#F8E8F5
#F1CAEC
#ECA1E1
#E373D2
#DA44C4
#d52cbc
#AA2296
#881B78
#631858
#3E0F37
Base = 600Lightest = 50 · #FBF3FADarkest = 950 · #3E0F37
:root {
  --brand-50: #FBF3FA;
  --brand-100: #F8E8F5;
  --brand-200: #F1CAEC;
  --brand-300: #ECA1E1;
  --brand-400: #E373D2;
  --brand-500: #DA44C4;
  --brand-600: #d52cbc;
  --brand-700: #AA2296;
  --brand-800: #881B78;
  --brand-900: #631858;
  --brand-950: #3E0F37;
  --brand: #d52cbc;
  --brand-ink: #000000;
}

Colors that work with #d52cbc

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#EDC0E6
Hairlines and dividers
Muted text#9B4B8F
Captions on the surface
Accent#2CAE1E
Second voice, not a rival
Dark variant#6A155E
Hover, pressed, headers
Light variant#FBEAF8
Selected rows, tints
Dark surface#241422
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 #d52cbc

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#2CD545
Analogous left#9A2CD5
Analogous right#D52C67
Split-complement 1#67D52C
Split-complement 2#2CD59A
Triadic 1#BCD52C
Triadic 2#2CBCD5
Tetradic#D59A2C

RGB percentages

Red83.5%
Green17.3%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta79.3%
Yellow11.7%
Key (black)16.5%

Color previews

#d52cbc text on a black background

contrast 4.92:1

Card sample

#d52cbc text on a white background

contrast 4.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d52cbc

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.

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

#d52cbc, answered

What color is #d52cbc?

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

What is the RGB value of #d52cbc?

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

Is #d52cbc a light or a dark color?

It is a mid-tone. Relative luminance is 0.1958 and perceived brightness is 54%, so black text on it reaches 4.92:1.

Should I use black or white text on #d52cbc?

Black. It scores 4.92:1 against #d52cbc, versus 4.27:1 for white — AA at any size.

What is the complementary color of #d52cbc?

#2CD545 sits directly opposite on the wheel. Softer options are the split-complements #67D52C and #2CD59A, which give the same contrast with far less vibration.

What colors go well with #d52cbc?

For interface work: #FAF4FA as the surface, #EDC0E6 for borders, #9B4B8F for secondary text, #2CAE1E as an accent and #6A155E for hover and pressed states. For a palette, the analogous pair #9A2CD5 and #D52C67 stays calm, while #2CD545 is the loudest partner.

What is #d52cbc in CMYK for printing?

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

Is #d52cbc warm or cool?

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

Work with #d52cbc in the Color Lab