Skip to content

#cd1acd

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

RGB
205, 26, 205
HSL
300°, 78%, 45%
CMYK
0, 87, 0, 20
Luminance
0.1813

At a glance

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

Hex
#cd1acd
Hue
300°
magenta / pink
Saturation
78%
electric
Lightness
45%
balanced
Brightness
80%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1813
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.63:1
Closest name
Medium Orchid
ΔE2000 6.9
Where it sits
Hue300° of 360°
Saturation78%
Lightness45%
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#cd1acd
RGBrgb(205, 26, 205)
HSLhsl(300, 78%, 45%)
CMYKcmyk(0%, 87%, 0%, 20%)
LABlab(49.6 80.7 -50.1)
LCHlch(49.6 95.0 328.1)
OKLCHoklch(0.602 0.265 328.3)
Decimal13441741
Display P3color(display-p3 0.804 0.102 0.804)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd1acd on white: 4.54:1
AA ✓ pass · AA-large · AAA
Aa
#cd1acd on black: 4.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0068D1
deuteranopia · #567EC9
tritanopia · #D4407A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cd1acd 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
#F9E6F9
#F4C7F4
#F29BF2
#EC6AEC
#E638E6
#cd1acd
#B517B5
#911291
#691269
#420B42
Base = 600Lightest = 50 · #FCF3FCDarkest = 950 · #420B42
:root {
  --brand-50: #FCF3FC;
  --brand-100: #F9E6F9;
  --brand-200: #F4C7F4;
  --brand-300: #F29BF2;
  --brand-400: #EC6AEC;
  --brand-500: #E638E6;
  --brand-600: #cd1acd;
  --brand-700: #B517B5;
  --brand-800: #911291;
  --brand-900: #691269;
  --brand-950: #420B42;
  --brand: #cd1acd;
  --brand-ink: #000000;
}

Colors that work with #cd1acd

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#EDC0ED
Hairlines and dividers
Muted text#9B4B9B
Captions on the surface
Accent#3CB913
Second voice, not a rival
Dark variant#710E71
Hover, pressed, headers
Light variant#FCE8FC
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 #cd1acd

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#1ACD1A
Analogous left#741ACD
Analogous right#CD1A74
Split-complement 1#74CD1A
Split-complement 2#1ACD74
Triadic 1#CDCD1A
Triadic 2#1ACDCD
Tetradic#CD741A

RGB percentages

Red80.4%
Green10.2%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta87.3%
Yellow0.0%
Key (black)19.6%

Color previews

#cd1acd text on a black background

contrast 4.63:1

Card sample

#cd1acd text on a white background

contrast 4.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd1acd

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.

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

#cd1acd, answered

What color is #cd1acd?

#cd1acd is a balanced electric magenta / pink, closest to Medium Orchid (ΔE2000 6.9). It sits at 300° on the hue wheel with 78% saturation and 45% lightness, which reads as neutral.

What is the RGB value of #cd1acd?

rgb(205, 26, 205) — 205 red, 26 green and 205 blue out of 255, or 80.4% / 10.2% / 80.4% by channel.

Is #cd1acd a light or a dark color?

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

Should I use black or white text on #cd1acd?

Black. It scores 4.63:1 against #cd1acd, versus 4.54:1 for white — AA at any size.

What is the complementary color of #cd1acd?

#1ACD1A sits directly opposite on the wheel. Softer options are the split-complements #74CD1A and #1ACD74, which give the same contrast with far less vibration.

What colors go well with #cd1acd?

For interface work: #FAF4FA as the surface, #EDC0ED for borders, #9B4B9B for secondary text, #3CB913 as an accent and #710E71 for hover and pressed states. For a palette, the analogous pair #741ACD and #CD1A74 stays calm, while #1ACD1A is the loudest partner.

What is #cd1acd in CMYK for printing?

cmyk(0%, 87%, 0%, 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 #cd1acd 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 #CD1A8B; nudged cooler, #8C18CF.

Work with #cd1acd in the Color Lab