Skip to content

#cd56d2

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

RGB
205, 86, 210
HSL
298°, 58%, 58%
CMYK
2, 59, 0, 18
Luminance
0.2429

At a glance

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

Hex
#cd56d2
Hue
298°
magenta / pink
Saturation
58%
vivid
Lightness
58%
balanced
Brightness
82%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2429
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.86:1
Closest name
Medium Orchid
ΔE2000 3.9
Where it sits
Hue298° of 360°
Saturation58%
Lightness58%
Temperature
Warm ← → Cool51% 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#cd56d2
RGBrgb(205, 86, 210)
HSLhsl(298, 58%, 58%)
CMYKcmyk(2%, 59%, 0%, 18%)
LABlab(56.4 63.1 -42.3)
LCHlch(56.4 76.0 326.2)
OKLCHoklch(0.651 0.209 326.0)
Decimal13457106
Display P3color(display-p3 0.804 0.337 0.824)

Copy-ready code

/* CSS */
color: #cd56d2;
background-color: #cd56d2;
/* Tailwind (arbitrary) */
class="text-[#cd56d2] bg-[#cd56d2]"
/* SCSS */
$brand: #cd56d2;
/* SwiftUI */
Color(red: 0.804, green: 0.337, blue: 0.824)
/* Android */
Color.parseColor("#cd56d2")
/* Flutter */
Color(0xFFCD56D2)
/* Python / OpenCV (BGR) */
(210, 86, 205)

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

Accessibility — WCAG contrast

Aa
#cd56d2 on white: 3.59:1
AA ✗ fail · AA-large · AAA
Aa
#cd56d2 on black: 5.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #457ED6
deuteranopia · #6E8CCF
tritanopia · #D2668C

Color scale — 50 to 950

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

#FBF4FB
#F6E9F7
#EDCDEF
#E5A6E7
#D87ADC
#cd56d2
#BC34C1
#9C2BA1
#7D2281
#5B1D5E
#39123B
Base = 500Lightest = 50 · #FBF4FBDarkest = 950 · #39123B
:root {
  --brand-50: #FBF4FB;
  --brand-100: #F6E9F7;
  --brand-200: #EDCDEF;
  --brand-300: #E5A6E7;
  --brand-400: #D87ADC;
  --brand-500: #cd56d2;
  --brand-600: #BC34C1;
  --brand-700: #9C2BA1;
  --brand-800: #7D2281;
  --brand-900: #5B1D5E;
  --brand-950: #39123B;
  --brand: #cd56d2;
  --brand-ink: #000000;
}

Colors that work with #cd56d2

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#EBC0ED
Hairlines and dividers
Muted text#984B9B
Captions on the surface
Accent#4BA527
Second voice, not a rival
Dark variant#621B65
Hover, pressed, headers
Light variant#F9EBFA
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 #cd56d2

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#5BD256
Analogous left#8F56D2
Analogous right#D25699
Split-complement 1#99D256
Split-complement 2#56D28F
Triadic 1#D2CD56
Triadic 2#56D2CD
Tetradic#D28F56

RGB percentages

Red80.4%
Green33.7%
Blue82.4%

CMYK percentages

Cyan2.4%
Magenta59.0%
Yellow0.0%
Key (black)17.6%

Color previews

#cd56d2 text on a black background

contrast 5.86:1

Card sample

#cd56d2 text on a white background

contrast 3.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd56d2

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.

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

#cd56d2, answered

What color is #cd56d2?

#cd56d2 is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 3.9). It sits at 298° on the hue wheel with 58% saturation and 58% lightness, which reads as neutral.

What is the RGB value of #cd56d2?

rgb(205, 86, 210) — 205 red, 86 green and 210 blue out of 255, or 80.4% / 33.7% / 82.4% by channel.

Is #cd56d2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2429 and perceived brightness is 58%, so black text on it reaches 5.86:1.

Should I use black or white text on #cd56d2?

Black. It scores 5.86:1 against #cd56d2, versus 3.59:1 for white — AA at any size.

What is the complementary color of #cd56d2?

#5BD256 sits directly opposite on the wheel. Softer options are the split-complements #99D256 and #56D28F, which give the same contrast with far less vibration.

What colors go well with #cd56d2?

For interface work: #FAF4FA as the surface, #EBC0ED for borders, #984B9B for secondary text, #4BA527 as an accent and #621B65 for hover and pressed states. For a palette, the analogous pair #8F56D2 and #D25699 stays calm, while #5BD256 is the loudest partner.

What is #cd56d2 in CMYK for printing?

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

Is #cd56d2 warm or cool?

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

Work with #cd56d2 in the Color Lab