Skip to content

#cd56ba

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

RGB
205, 86, 186
HSL
310°, 54%, 57%
CMYK
0, 58, 9, 20
Luminance
0.2318

At a glance

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

Hex
#cd56ba
Hue
310°
magenta / pink
Saturation
54%
vivid
Lightness
57%
balanced
Brightness
80%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2318
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.64:1
Closest name
Medium Orchid
ΔE2000 6.9
Where it sits
Hue310° of 360°
Saturation54%
Lightness57%
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#cd56ba
RGBrgb(205, 86, 186)
HSLhsl(310, 54%, 57%)
CMYKcmyk(0%, 58%, 9%, 20%)
LABlab(55.3 59.1 -30.4)
LCHlch(55.3 66.5 332.8)
OKLCHoklch(0.639 0.190 334.2)
Decimal13457082
Display P3color(display-p3 0.804 0.337 0.729)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd56ba on white: 3.73:1
AA ✗ fail · AA-large · AAA
Aa
#cd56ba on black: 5.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5579BD
deuteranopia · #798BB7
tritanopia · #D65E80

Color scale — 50 to 950

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

#FBF4FA
#F6E9F4
#EECEE9
#E5A8DC
#D97DCA
#cd56ba
#BD38A8
#9D2F8C
#7E2570
#5C1F52
#391333
Base = 500Lightest = 50 · #FBF4FADarkest = 950 · #391333
:root {
  --brand-50: #FBF4FA;
  --brand-100: #F6E9F4;
  --brand-200: #EECEE9;
  --brand-300: #E5A8DC;
  --brand-400: #D97DCA;
  --brand-500: #cd56ba;
  --brand-600: #BD38A8;
  --brand-700: #9D2F8C;
  --brand-800: #7E2570;
  --brand-900: #5C1F52;
  --brand-950: #391333;
  --brand: #cd56ba;
  --brand-ink: #000000;
}

Colors that work with #cd56ba

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#FAF4F9
Tinted page background
Border#ECC0E5
Hairlines and dividers
Muted text#9B4B8E
Captions on the surface
Accent#35A12B
Second voice, not a rival
Dark variant#621D57
Hover, pressed, headers
Light variant#F9EBF7
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 #cd56ba

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#56CD69
Analogous left#A556CD
Analogous right#CD567F
Split-complement 1#7FCD56
Split-complement 2#56CDA5
Triadic 1#BACD56
Triadic 2#56BACD
Tetradic#CDA556

RGB percentages

Red80.4%
Green33.7%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta58.0%
Yellow9.3%
Key (black)19.6%

Color previews

#cd56ba text on a black background

contrast 5.64:1

Card sample

#cd56ba text on a white background

contrast 3.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd56ba

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.

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

#cd56ba, answered

What color is #cd56ba?

#cd56ba is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 6.9). It sits at 310° on the hue wheel with 54% saturation and 57% lightness, which reads as neutral.

What is the RGB value of #cd56ba?

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

Is #cd56ba a light or a dark color?

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

Should I use black or white text on #cd56ba?

Black. It scores 5.64:1 against #cd56ba, versus 3.73:1 for white — AA at any size.

What is the complementary color of #cd56ba?

#56CD69 sits directly opposite on the wheel. Softer options are the split-complements #7FCD56 and #56CDA5, which give the same contrast with far less vibration.

What colors go well with #cd56ba?

For interface work: #FAF4F9 as the surface, #ECC0E5 for borders, #9B4B8E for secondary text, #35A12B as an accent and #621D57 for hover and pressed states. For a palette, the analogous pair #A556CD and #CD567F stays calm, while #56CD69 is the loudest partner.

What is #cd56ba in CMYK for printing?

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

Is #cd56ba 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 #CD568E; nudged cooler, #B654CF.

Work with #cd56ba in the Color Lab