Skip to content

#cd1ac8

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

RGB
205, 26, 200
HSL
302°, 78%, 45%
CMYK
0, 87, 2, 20
Luminance
0.1789

At a glance

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

Hex
#cd1ac8
Hue
302°
magenta / pink
Saturation
78%
electric
Lightness
45%
balanced
Brightness
80%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1789
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.59:1
Closest name
Medium Orchid
ΔE2000 7.3
Where it sits
Hue302° of 360°
Saturation78%
Lightness45%
Temperature
Warm ← → Cool49% 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#cd1ac8
RGBrgb(205, 26, 200)
HSLhsl(302, 78%, 45%)
CMYKcmyk(0%, 87%, 2%, 20%)
LABlab(49.4 79.9 -47.7)
LCHlch(49.4 93.1 329.2)
OKLCHoklch(0.599 0.262 329.6)
Decimal13441736
Display P3color(display-p3 0.804 0.102 0.784)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd1ac8 on white: 4.59:1
AA ✓ pass · AA-large · AAA
Aa
#cd1ac8 on black: 4.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0067CC
deuteranopia · #5A7DC4
tritanopia · #D53D77

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cd1ac8 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
#F9E6F8
#F4C7F3
#F29BF0
#EC6AE8
#E638E1
#cd1ac8
#B517B1
#91128D
#691266
#420B40
Base = 600Lightest = 50 · #FCF3FCDarkest = 950 · #420B40
:root {
  --brand-50: #FCF3FC;
  --brand-100: #F9E6F8;
  --brand-200: #F4C7F3;
  --brand-300: #F29BF0;
  --brand-400: #EC6AE8;
  --brand-500: #E638E1;
  --brand-600: #cd1ac8;
  --brand-700: #B517B1;
  --brand-800: #91128D;
  --brand-900: #691266;
  --brand-950: #420B40;
  --brand: #cd1ac8;
  --brand-ink: #ffffff;
}

Colors that work with #cd1ac8

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#EDC0EB
Hairlines and dividers
Muted text#9B4B99
Captions on the surface
Accent#38B913
Second voice, not a rival
Dark variant#710E6E
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 #cd1ac8

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#1ACD1F
Analogous left#791ACD
Analogous right#CD1A6E
Split-complement 1#6ECD1A
Split-complement 2#1ACD79
Triadic 1#C8CD1A
Triadic 2#1AC8CD
Tetradic#CD791A

RGB percentages

Red80.4%
Green10.2%
Blue78.4%

CMYK percentages

Cyan0.0%
Magenta87.3%
Yellow2.4%
Key (black)19.6%

Color previews

#cd1ac8 text on a black background

contrast 4.58:1

Card sample

#cd1ac8 text on a white background

contrast 4.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd1ac8

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.

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

#cd1ac8, answered

What color is #cd1ac8?

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

What is the RGB value of #cd1ac8?

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

Is #cd1ac8 a light or a dark color?

It is a dark color. Relative luminance is 0.1789 and perceived brightness is 52%, so white text on it reaches 4.59:1.

Should I use black or white text on #cd1ac8?

White. It scores 4.59:1 against #cd1ac8, versus 4.58:1 for black — AA at any size.

What is the complementary color of #cd1ac8?

#1ACD1F sits directly opposite on the wheel. Softer options are the split-complements #6ECD1A and #1ACD79, which give the same contrast with far less vibration.

What colors go well with #cd1ac8?

For interface work: #FAF4FA as the surface, #EDC0EB for borders, #9B4B99 for secondary text, #38B913 as an accent and #710E6E for hover and pressed states. For a palette, the analogous pair #791ACD and #CD1A6E stays calm, while #1ACD1F is the loudest partner.

What is #cd1ac8 in CMYK for printing?

cmyk(0%, 87%, 2%, 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 #cd1ac8 warm or cool?

Neutral — it scores 49 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CD1A86; nudged cooler, #9118CF.

Work with #cd1ac8 in the Color Lab