Skip to content

#cd5f7f

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

RGB
205, 95, 127
HSL
343°, 52%, 59%
CMYK
0, 54, 38, 20
Luminance
0.2270

At a glance

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

Hex
#cd5f7f
Hue
343°
magenta / pink
Saturation
52%
vivid
Lightness
59%
balanced
Brightness
80%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2270
WCAG relative
Temperature
Warm
26/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.54:1
Closest name
Pale Violet Red
ΔE2000 5.5
Where it sits
Hue343° of 360°
Saturation52%
Lightness59%
Temperature
Warm ← → Cool26% 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#cd5f7f
RGBrgb(205, 95, 127)
HSLhsl(343, 52%, 59%)
CMYKcmyk(0%, 54%, 38%, 20%)
LABlab(54.8 46.8 3.4)
LCHlch(54.8 46.9 4.1)
OKLCHoklch(0.628 0.143 3.8)
Decimal13459327
Display P3color(display-p3 0.804 0.373 0.498)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd5f7f on white: 3.79:1
AA ✗ fail · AA-large · AAA
Aa
#cd5f7f on black: 5.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #737680
deuteranopia · #8F8B7D
tritanopia · #DD556B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cd5f7f 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
#E4AABB
#D77F98
#cd5f7f
#BB3A60
#9B3150
#7C2740
#5B2031
#39141F
Base = 500Lightest = 50 · #FAF4F6Darkest = 950 · #39141F
:root {
  --brand-50: #FAF4F6;
  --brand-100: #F6E9ED;
  --brand-200: #EDCFD7;
  --brand-300: #E4AABB;
  --brand-400: #D77F98;
  --brand-500: #cd5f7f;
  --brand-600: #BB3A60;
  --brand-700: #9B3150;
  --brand-800: #7C2740;
  --brand-900: #5B2031;
  --brand-950: #39141F;
  --brand: #cd5f7f;
  --brand-ink: #000000;
}

Colors that work with #cd5f7f

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#ECC1CD
Hairlines and dividers
Muted text#9B4B62
Captions on the surface
Accent#2D9F61
Second voice, not a rival
Dark variant#611E32
Hover, pressed, headers
Light variant#F9ECEF
Selected rows, tints
Dark surface#241419
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 #cd5f7f

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#5FCDAD
Analogous left#CD5FB6
Analogous right#CD765F
Split-complement 1#5FCD76
Split-complement 2#5FB6CD
Triadic 1#7FCD5F
Triadic 2#5F7FCD
Tetradic#B6CD5F

RGB percentages

Red80.4%
Green37.3%
Blue49.8%

CMYK percentages

Cyan0.0%
Magenta53.7%
Yellow38.0%
Key (black)19.6%

Color previews

#cd5f7f text on a black background

contrast 5.54:1

Card sample

#cd5f7f text on a white background

contrast 3.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd5f7f

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.

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

#cd5f7f, answered

What color is #cd5f7f?

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

What is the RGB value of #cd5f7f?

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

Is #cd5f7f a light or a dark color?

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

Should I use black or white text on #cd5f7f?

Black. It scores 5.54:1 against #cd5f7f, versus 3.79:1 for white — AA at any size.

What is the complementary color of #cd5f7f?

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

What colors go well with #cd5f7f?

For interface work: #FAF4F6 as the surface, #ECC1CD for borders, #9B4B62 for secondary text, #2D9F61 as an accent and #611E32 for hover and pressed states. For a palette, the analogous pair #CD5FB6 and #CD765F stays calm, while #5FCDAD is the loudest partner.

What is #cd5f7f in CMYK for printing?

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

Is #cd5f7f warm or cool?

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

Work with #cd5f7f in the Color Lab