Skip to content

#cd20cb

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

RGB
205, 32, 203
HSL
301°, 73%, 47%
CMYK
0, 84, 1, 20
Luminance
0.1832

At a glance

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

Hex
#cd20cb
Hue
301°
magenta / pink
Saturation
73%
vivid
Lightness
47%
balanced
Brightness
80%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1832
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.66:1
Closest name
Medium Orchid
ΔE2000 6.7
Where it sits
Hue301° of 360°
Saturation73%
Lightness47%
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#cd20cb
RGBrgb(205, 32, 203)
HSLhsl(301, 73%, 47%)
CMYKcmyk(0%, 84%, 1%, 20%)
LABlab(49.9 79.3 -48.6)
LCHlch(49.9 93.0 328.5)
OKLCHoklch(0.603 0.260 328.8)
Decimal13443275
Display P3color(display-p3 0.804 0.125 0.796)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd20cb on white: 4.50:1
AA ✓ pass · AA-large · AAA
Aa
#cd20cb on black: 4.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0069CF
deuteranopia · #597EC7
tritanopia · #D4427A

Color scale — 50 to 950

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

#FCF3FC
#F8E7F8
#F3C9F3
#F09EEF
#E86DE7
#E13DDF
#cd20cb
#B01CAF
#8D168C
#661465
#400D3F
Base = 600Lightest = 50 · #FCF3FCDarkest = 950 · #400D3F
:root {
  --brand-50: #FCF3FC;
  --brand-100: #F8E7F8;
  --brand-200: #F3C9F3;
  --brand-300: #F09EEF;
  --brand-400: #E86DE7;
  --brand-500: #E13DDF;
  --brand-600: #cd20cb;
  --brand-700: #B01CAF;
  --brand-800: #8D168C;
  --brand-900: #661465;
  --brand-950: #400D3F;
  --brand: #cd20cb;
  --brand-ink: #000000;
}

Colors that work with #cd20cb

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#3DB517
Second voice, not a rival
Dark variant#6E116D
Hover, pressed, headers
Light variant#FCE9FB
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 #cd20cb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links 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
  • 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#20CD22
Analogous left#7920CD
Analogous right#CD2075
Split-complement 1#75CD20
Split-complement 2#20CD79
Triadic 1#CBCD20
Triadic 2#20CBCD
Tetradic#CD7920

RGB percentages

Red80.4%
Green12.5%
Blue79.6%

CMYK percentages

Cyan0.0%
Magenta84.4%
Yellow1.0%
Key (black)19.6%

Color previews

#cd20cb text on a black background

contrast 4.66:1

Card sample

#cd20cb text on a white background

contrast 4.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd20cb

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.

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

#cd20cb, answered

What color is #cd20cb?

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

What is the RGB value of #cd20cb?

rgb(205, 32, 203) — 205 red, 32 green and 203 blue out of 255, or 80.4% / 12.5% / 79.6% by channel.

Is #cd20cb a light or a dark color?

It is a mid-tone. Relative luminance is 0.1832 and perceived brightness is 52%, so black text on it reaches 4.66:1.

Should I use black or white text on #cd20cb?

Black. It scores 4.66:1 against #cd20cb, versus 4.50:1 for white — AA at any size.

What is the complementary color of #cd20cb?

#20CD22 sits directly opposite on the wheel. Softer options are the split-complements #75CD20 and #20CD79, which give the same contrast with far less vibration.

What colors go well with #cd20cb?

For interface work: #FAF4FA as the surface, #EDC0EC for borders, #9B4B9A for secondary text, #3DB517 as an accent and #6E116D for hover and pressed states. For a palette, the analogous pair #7920CD and #CD2075 stays calm, while #20CD22 is the loudest partner.

What is #cd20cb in CMYK for printing?

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

Is #cd20cb 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 #CD208C; nudged cooler, #901ED0.

Work with #cd20cb in the Color Lab