Skip to content

#cd01bc

a dark, electric magenta / pink · neutral · closest name: Medium Orchid

RGB
205, 1, 188
HSL
305°, 99%, 40%
CMYK
0, 100, 8, 20
Luminance
0.1663

At a glance

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

Hex
#cd01bc
Hue
305°
magenta / pink
Saturation
99%
electric
Lightness
40%
dark
Brightness
80%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1663
WCAG relative
Temperature
Neutral
47/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.85:1
Closest name
Medium Orchid
ΔE2000 9.1
Where it sits
Hue305° of 360°
Saturation99%
Lightness40%
Temperature
Warm ← → Cool47% 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#cd01bc
RGBrgb(205, 1, 188)
HSLhsl(305, 99%, 40%)
CMYKcmyk(0%, 100%, 8%, 20%)
LABlab(47.8 80.9 -43.2)
LCHlch(47.8 91.7 331.9)
OKLCHoklch(0.585 0.263 333.0)
Decimal13435324
Display P3color(display-p3 0.804 0.004 0.737)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd01bc on white: 4.85:1
AA ✓ pass · AA-large · AAA
Aa
#cd01bc on black: 4.33:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0061C0
deuteranopia · #5D7AB8
tritanopia · #D72D6E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cd01bc is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FEF1FD
#FCE3FA
#FBC0F6
#FE8FF5
#FE58F0
#FE20EB
#F401DF
#cd01bc
#A20195
#75056C
#490343
Base = 700Lightest = 50 · #FEF1FDDarkest = 950 · #490343
:root {
  --brand-50: #FEF1FD;
  --brand-100: #FCE3FA;
  --brand-200: #FBC0F6;
  --brand-300: #FE8FF5;
  --brand-400: #FE58F0;
  --brand-500: #FE20EB;
  --brand-600: #F401DF;
  --brand-700: #cd01bc;
  --brand-800: #A20195;
  --brand-900: #75056C;
  --brand-950: #490343;
  --brand: #cd01bc;
  --brand-ink: #ffffff;
}

Colors that work with #cd01bc

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF4FA
Tinted page background
Border#EDC0E9
Hairlines and dividers
Muted text#9B4B94
Captions on the surface
Accent#22CC00
Second voice, not a rival
Dark variant#7F0174
Hover, pressed, headers
Light variant#FFE6FD
Selected rows, tints
Dark surface#241423
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 #cd01bc

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#01CD12
Analogous left#7801CD
Analogous right#CD0156
Split-complement 1#56CD01
Split-complement 2#01CD78
Triadic 1#BCCD01
Triadic 2#01BCCD
Tetradic#CD7801

RGB percentages

Red80.4%
Green0.4%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta99.5%
Yellow8.3%
Key (black)19.6%

Color previews

#cd01bc text on a black background

contrast 4.33:1

Card sample

#cd01bc text on a white background

contrast 4.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd01bc

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.

#cd01bc 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#cd01bc, answered

What color is #cd01bc?

#cd01bc is a dark electric magenta / pink, closest to Medium Orchid (ΔE2000 9.1). It sits at 305° on the hue wheel with 99% saturation and 40% lightness, which reads as neutral.

What is the RGB value of #cd01bc?

rgb(205, 1, 188) — 205 red, 1 green and 188 blue out of 255, or 80.4% / 0.4% / 73.7% by channel.

Is #cd01bc a light or a dark color?

It is a dark color. Relative luminance is 0.1663 and perceived brightness is 51%, so white text on it reaches 4.85:1.

Should I use black or white text on #cd01bc?

White. It scores 4.85:1 against #cd01bc, versus 4.33:1 for black — AA at any size.

What is the complementary color of #cd01bc?

#01CD12 sits directly opposite on the wheel. Softer options are the split-complements #56CD01 and #01CD78, which give the same contrast with far less vibration.

What colors go well with #cd01bc?

For interface work: #FAF4FA as the surface, #EDC0E9 for borders, #9B4B94 for secondary text, #22CC00 as an accent and #7F0174 for hover and pressed states. For a palette, the analogous pair #7801CD and #CD0156 stays calm, while #01CD12 is the loudest partner.

What is #cd01bc in CMYK for printing?

cmyk(0%, 100%, 8%, 20%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #cd01bc warm or cool?

Neutral — it scores 47 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CD0171; nudged cooler, #9400CE.

Work with #cd01bc in the Color Lab