Skip to content

#cd4580

a balanced, vivid magenta / pink · warm · closest name: Medium Violet Red

RGB
205, 69, 128
HSL
334°, 58%, 54%
CMYK
0, 66, 38, 20
Luminance
0.1879

At a glance

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

Hex
#cd4580
Hue
334°
magenta / pink
Saturation
58%
vivid
Lightness
54%
balanced
Brightness
80%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1879
WCAG relative
Temperature
Warm
31/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.76:1
Closest name
Medium Violet Red
ΔE2000 7.8
Where it sits
Hue334° of 360°
Saturation58%
Lightness54%
Temperature
Warm ← → Cool31% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#cd4580
RGBrgb(205, 69, 128)
HSLhsl(334, 58%, 54%)
CMYKcmyk(0%, 66%, 38%, 20%)
LABlab(50.5 58.5 -3.5)
LCHlch(50.5 58.6 356.6)
OKLCHoklch(0.596 0.179 357.3)
Decimal13452672
Display P3color(display-p3 0.804 0.271 0.502)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd4580 on white: 4.41:1
AA ✗ fail · AA-large · AAA
Aa
#cd4580 on black: 4.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5E6882
deuteranopia · #83817D
tritanopia · #DD385D

Color scale — 50 to 950

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

#FBF4F7
#F7E9EF
#EFCDDC
#E7A7C3
#DB7AA4
#cd4580
#C13471
#A12B5E
#81234B
#5E1D39
#3B1224
Base = 500Lightest = 50 · #FBF4F7Darkest = 950 · #3B1224
:root {
  --brand-50: #FBF4F7;
  --brand-100: #F7E9EF;
  --brand-200: #EFCDDC;
  --brand-300: #E7A7C3;
  --brand-400: #DB7AA4;
  --brand-500: #cd4580;
  --brand-600: #C13471;
  --brand-700: #A12B5E;
  --brand-800: #81234B;
  --brand-900: #5E1D39;
  --brand-950: #3B1224;
  --brand: #cd4580;
  --brand-ink: #000000;
}

Colors that work with #cd4580

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#FAF4F7
Tinted page background
Border#EDC0D3
Hairlines and dividers
Muted text#9B4B6D
Captions on the surface
Accent#27A54F
Second voice, not a rival
Dark variant#641B3B
Hover, pressed, headers
Light variant#FAEBF1
Selected rows, tints
Dark surface#24141B
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 #cd4580

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#45CD92
Analogous left#CD45C4
Analogous right#CD4E45
Split-complement 1#45CD4E
Split-complement 2#45C4CD
Triadic 1#80CD45
Triadic 2#4580CD
Tetradic#C4CD45

RGB percentages

Red80.4%
Green27.1%
Blue50.2%

CMYK percentages

Cyan0.0%
Magenta66.3%
Yellow37.6%
Key (black)19.6%

Color previews

#cd4580 text on a black background

contrast 4.76:1

Card sample

#cd4580 text on a white background

contrast 4.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd4580

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.

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

#cd4580, answered

What color is #cd4580?

#cd4580 is a balanced vivid magenta / pink, closest to Medium Violet Red (ΔE2000 7.8). It sits at 334° on the hue wheel with 58% saturation and 54% lightness, which reads as warm.

What is the RGB value of #cd4580?

rgb(205, 69, 128) — 205 red, 69 green and 128 blue out of 255, or 80.4% / 27.1% / 50.2% by channel.

Is #cd4580 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1879 and perceived brightness is 51%, so black text on it reaches 4.76:1.

Should I use black or white text on #cd4580?

Black. It scores 4.76:1 against #cd4580, versus 4.41:1 for white — AA at any size.

What is the complementary color of #cd4580?

#45CD92 sits directly opposite on the wheel. Softer options are the split-complements #45CD4E and #45C4CD, which give the same contrast with far less vibration.

What colors go well with #cd4580?

For interface work: #FAF4F7 as the surface, #EDC0D3 for borders, #9B4B6D for secondary text, #27A54F as an accent and #641B3B for hover and pressed states. For a palette, the analogous pair #CD45C4 and #CD4E45 stays calm, while #45CD92 is the loudest partner.

What is #cd4580 in CMYK for printing?

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

Is #cd4580 warm or cool?

Warm — it scores 31 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CD454E; nudged cooler, #CF43B3.

Work with #cd4580 in the Color Lab