Skip to content

#cd2ce6

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

RGB
205, 44, 230
HSL
292°, 79%, 54%
CMYK
11, 81, 0, 10
Luminance
0.2049

At a glance

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

Hex
#cd2ce6
Hue
292°
magenta / pink
Saturation
79%
electric
Lightness
54%
balanced
Brightness
90%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2049
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
5.10:1
Closest name
Medium Orchid
ΔE2000 5.3
Where it sits
Hue292° of 360°
Saturation79%
Lightness54%
Temperature
Warm ← → Cool55% 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#cd2ce6
RGBrgb(205, 44, 230)
HSLhsl(292, 79%, 54%)
CMYKcmyk(11%, 81%, 0%, 10%)
LABlab(52.4 81.0 -60.0)
LCHlch(52.4 100.8 323.5)
OKLCHoklch(0.626 0.271 321.7)
Decimal13446374
Display P3color(display-p3 0.804 0.173 0.902)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd2ce6 on white: 4.12:1
AA ✗ fail · AA-large · AAA
Aa
#cd2ce6 on black: 5.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0072EB
deuteranopia · #4883E2
tritanopia · #CF568C

Color scale — 50 to 950

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

#FBF3FC
#F7E6F9
#EFC7F5
#E79BF3
#DB69ED
#cd2ce6
#C11ADB
#A116B6
#811192
#5E116A
#3A0B42
Base = 500Lightest = 50 · #FBF3FCDarkest = 950 · #3A0B42
:root {
  --brand-50: #FBF3FC;
  --brand-100: #F7E6F9;
  --brand-200: #EFC7F5;
  --brand-300: #E79BF3;
  --brand-400: #DB69ED;
  --brand-500: #cd2ce6;
  --brand-600: #C11ADB;
  --brand-700: #A116B6;
  --brand-800: #811192;
  --brand-900: #5E116A;
  --brand-950: #3A0B42;
  --brand: #cd2ce6;
  --brand-ink: #000000;
}

Colors that work with #cd2ce6

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#E7C0ED
Hairlines and dividers
Muted text#904B9B
Captions on the surface
Accent#52BB11
Second voice, not a rival
Dark variant#640E72
Hover, pressed, headers
Light variant#FAE8FC
Selected rows, tints
Dark surface#221424
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 #cd2ce6

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#45E62C
Analogous left#702CE6
Analogous right#E62CA2
Split-complement 1#A2E62C
Split-complement 2#2CE670
Triadic 1#E6CD2C
Triadic 2#2CE6CD
Tetradic#E6702C

RGB percentages

Red80.4%
Green17.3%
Blue90.2%

CMYK percentages

Cyan10.9%
Magenta80.9%
Yellow0.0%
Key (black)9.8%

Color previews

#cd2ce6 text on a black background

contrast 5.10:1

Card sample

#cd2ce6 text on a white background

contrast 4.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd2ce6

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.

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

#cd2ce6, answered

What color is #cd2ce6?

#cd2ce6 is a balanced electric magenta / pink, closest to Medium Orchid (ΔE2000 5.3). It sits at 292° on the hue wheel with 79% saturation and 54% lightness, which reads as neutral.

What is the RGB value of #cd2ce6?

rgb(205, 44, 230) — 205 red, 44 green and 230 blue out of 255, or 80.4% / 17.3% / 90.2% by channel.

Is #cd2ce6 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2049 and perceived brightness is 55%, so black text on it reaches 5.10:1.

Should I use black or white text on #cd2ce6?

Black. It scores 5.10:1 against #cd2ce6, versus 4.12:1 for white — AA at any size.

What is the complementary color of #cd2ce6?

#45E62C sits directly opposite on the wheel. Softer options are the split-complements #A2E62C and #2CE670, which give the same contrast with far less vibration.

What colors go well with #cd2ce6?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #904B9B for secondary text, #52BB11 as an accent and #640E72 for hover and pressed states. For a palette, the analogous pair #702CE6 and #E62CA2 stays calm, while #45E62C is the loudest partner.

What is #cd2ce6 in CMYK for printing?

cmyk(11%, 81%, 0%, 10%). 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 #cd2ce6 warm or cool?

Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E62CBB; nudged cooler, #892AE8.

Work with #cd2ce6 in the Color Lab