Skip to content

#cd5f7c

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

RGB
205, 95, 124
HSL
344°, 52%, 59%
CMYK
0, 54, 40, 20
Luminance
0.2262

At a glance

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

Hex
#cd5f7c
Hue
344°
magenta / pink
Saturation
52%
vivid
Lightness
59%
balanced
Brightness
80%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2262
WCAG relative
Temperature
Warm
25/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.52:1
Closest name
Pale Violet Red
ΔE2000 5.9
Where it sits
Hue344° of 360°
Saturation52%
Lightness59%
Temperature
Warm ← → Cool25% 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#cd5f7c
RGBrgb(205, 95, 124)
HSLhsl(344, 52%, 59%)
CMYKcmyk(0%, 54%, 40%, 20%)
LABlab(54.7 46.4 5.0)
LCHlch(54.7 46.7 6.2)
OKLCHoklch(0.627 0.142 5.5)
Decimal13459324
Display P3color(display-p3 0.804 0.373 0.486)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd5f7c on white: 3.80:1
AA ✗ fail · AA-large · AAA
Aa
#cd5f7c on black: 5.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #73767D
deuteranopia · #908B7A
tritanopia · #DD546A

Color scale — 50 to 950

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

#FAF4F6
#F6E9ED
#EDCFD7
#E4AAB9
#D77F96
#cd5f7c
#BB3A5C
#9B314D
#7C273D
#5B202F
#39141E
Base = 500Lightest = 50 · #FAF4F6Darkest = 950 · #39141E
:root {
  --brand-50: #FAF4F6;
  --brand-100: #F6E9ED;
  --brand-200: #EDCFD7;
  --brand-300: #E4AAB9;
  --brand-400: #D77F96;
  --brand-500: #cd5f7c;
  --brand-600: #BB3A5C;
  --brand-700: #9B314D;
  --brand-800: #7C273D;
  --brand-900: #5B202F;
  --brand-950: #39141E;
  --brand: #cd5f7c;
  --brand-ink: #000000;
}

Colors that work with #cd5f7c

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#FAF4F6
Tinted page background
Border#ECC1CC
Hairlines and dividers
Muted text#9B4B60
Captions on the surface
Accent#2D9F64
Second voice, not a rival
Dark variant#611E30
Hover, pressed, headers
Light variant#F9ECEF
Selected rows, tints
Dark surface#241418
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 #cd5f7c

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#5FCDB0
Analogous left#CD5FB3
Analogous right#CD795F
Split-complement 1#5FCD79
Split-complement 2#5FB3CD
Triadic 1#7CCD5F
Triadic 2#5F7CCD
Tetradic#B3CD5F

RGB percentages

Red80.4%
Green37.3%
Blue48.6%

CMYK percentages

Cyan0.0%
Magenta53.7%
Yellow39.5%
Key (black)19.6%

Color previews

#cd5f7c text on a black background

contrast 5.52:1

Card sample

#cd5f7c text on a white background

contrast 3.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd5f7c

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.

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

#cd5f7c, answered

What color is #cd5f7c?

#cd5f7c is a balanced vivid magenta / pink, closest to Pale Violet Red (ΔE2000 5.9). It sits at 344° on the hue wheel with 52% saturation and 59% lightness, which reads as warm.

What is the RGB value of #cd5f7c?

rgb(205, 95, 124) — 205 red, 95 green and 124 blue out of 255, or 80.4% / 37.3% / 48.6% by channel.

Is #cd5f7c a light or a dark color?

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

Should I use black or white text on #cd5f7c?

Black. It scores 5.52:1 against #cd5f7c, versus 3.80:1 for white — AA at any size.

What is the complementary color of #cd5f7c?

#5FCDB0 sits directly opposite on the wheel. Softer options are the split-complements #5FCD79 and #5FB3CD, which give the same contrast with far less vibration.

What colors go well with #cd5f7c?

For interface work: #FAF4F6 as the surface, #ECC1CC for borders, #9B4B60 for secondary text, #2D9F64 as an accent and #611E30 for hover and pressed states. For a palette, the analogous pair #CD5FB3 and #CD795F stays calm, while #5FCDB0 is the loudest partner.

What is #cd5f7c in CMYK for printing?

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

Is #cd5f7c warm or cool?

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

Work with #cd5f7c in the Color Lab