Skip to content

#cd509b

a balanced, vivid magenta / pink · warm · closest name: Deep Pink

RGB
205, 80, 155
HSL
324°, 56%, 56%
CMYK
0, 61, 24, 20
Luminance
0.2108

At a glance

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

Hex
#cd509b
Hue
324°
magenta / pink
Saturation
56%
vivid
Lightness
56%
balanced
Brightness
80%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2108
WCAG relative
Temperature
Warm
37/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.22:1
Closest name
Deep Pink
ΔE2000 8.6
Where it sits
Hue324° of 360°
Saturation56%
Lightness56%
Temperature
Warm ← → Cool37% 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#cd509b
RGBrgb(205, 80, 155)
HSLhsl(324, 56%, 56%)
CMYKcmyk(0%, 61%, 24%, 20%)
LABlab(53.0 57.2 -15.7)
LCHlch(53.0 59.3 344.7)
OKLCHoklch(0.619 0.177 346.5)
Decimal13455515
Display P3color(display-p3 0.804 0.314 0.608)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd509b on white: 4.03:1
AA ✗ fail · AA-large · AAA
Aa
#cd509b on black: 5.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5D719D
deuteranopia · #818798
tritanopia · #DA4D6F

Color scale — 50 to 950

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

#FBF4F8
#F6E9F1
#EECEE1
#E6A8CD
#DA7CB4
#cd509b
#BE3688
#9F2D71
#7F245B
#5D1E43
#3A132A
Base = 500Lightest = 50 · #FBF4F8Darkest = 950 · #3A132A
:root {
  --brand-50: #FBF4F8;
  --brand-100: #F6E9F1;
  --brand-200: #EECEE1;
  --brand-300: #E6A8CD;
  --brand-400: #DA7CB4;
  --brand-500: #cd509b;
  --brand-600: #BE3688;
  --brand-700: #9F2D71;
  --brand-800: #7F245B;
  --brand-900: #5D1E43;
  --brand-950: #3A132A;
  --brand: #cd509b;
  --brand-ink: #000000;
}

Colors that work with #cd509b

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#FAF4F8
Tinted page background
Border#EDC0DB
Hairlines and dividers
Muted text#9B4B7B
Captions on the surface
Accent#29A33B
Second voice, not a rival
Dark variant#631C47
Hover, pressed, headers
Light variant#F9EBF4
Selected rows, tints
Dark surface#24141E
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 #cd509b

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#50CD82
Analogous left#C150CD
Analogous right#CD505D
Split-complement 1#5DCD50
Split-complement 2#50CDC1
Triadic 1#9BCD50
Triadic 2#509BCD
Tetradic#CDC150

RGB percentages

Red80.4%
Green31.4%
Blue60.8%

CMYK percentages

Cyan0.0%
Magenta61.0%
Yellow24.4%
Key (black)19.6%

Color previews

#cd509b text on a black background

contrast 5.22:1

Card sample

#cd509b text on a white background

contrast 4.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd509b

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.

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

#cd509b, answered

What color is #cd509b?

#cd509b is a balanced vivid magenta / pink, closest to Deep Pink (ΔE2000 8.6). It sits at 324° on the hue wheel with 56% saturation and 56% lightness, which reads as warm.

What is the RGB value of #cd509b?

rgb(205, 80, 155) — 205 red, 80 green and 155 blue out of 255, or 80.4% / 31.4% / 60.8% by channel.

Is #cd509b a light or a dark color?

It is a mid-tone. Relative luminance is 0.2108 and perceived brightness is 54%, so black text on it reaches 5.22:1.

Should I use black or white text on #cd509b?

Black. It scores 5.22:1 against #cd509b, versus 4.03:1 for white — AA at any size.

What is the complementary color of #cd509b?

#50CD82 sits directly opposite on the wheel. Softer options are the split-complements #5DCD50 and #50CDC1, which give the same contrast with far less vibration.

What colors go well with #cd509b?

For interface work: #FAF4F8 as the surface, #EDC0DB for borders, #9B4B7B for secondary text, #29A33B as an accent and #631C47 for hover and pressed states. For a palette, the analogous pair #C150CD and #CD505D stays calm, while #50CD82 is the loudest partner.

What is #cd509b in CMYK for printing?

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

Is #cd509b warm or cool?

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

Work with #cd509b in the Color Lab