Skip to content

#cd71ab

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

RGB
205, 113, 171
HSL
322°, 48%, 62%
CMYK
0, 45, 17, 20
Luminance
0.2773

At a glance

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

Hex
#cd71ab
Hue
322°
magenta / pink
Saturation
48%
vivid
Lightness
62%
balanced
Brightness
80%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2773
WCAG relative
Temperature
Warm
38/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
6.55:1
Closest name
Pale Violet Red
ΔE2000 7.8
Where it sits
Hue322° of 360°
Saturation48%
Lightness62%
Temperature
Warm ← → Cool38% 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#cd71ab
RGBrgb(205, 113, 171)
HSLhsl(322, 48%, 62%)
CMYKcmyk(0%, 45%, 17%, 20%)
LABlab(59.6 43.7 -15.0)
LCHlch(59.6 46.2 341.1)
OKLCHoklch(0.670 0.135 342.9)
Decimal13463979
Display P3color(display-p3 0.804 0.443 0.671)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd71ab on white: 3.21:1
AA ✗ fail · AA-large · AAA
Aa
#cd71ab on black: 6.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7786AD
deuteranopia · #8F95A9
tritanopia · #D77187

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cd71ab is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAF4F8
#F5EAF1
#ECD0E1
#E2ACCE
#cd71ab
#C5599D
#B5408A
#973573
#792B5C
#582244
#37152B
Base = 400Lightest = 50 · #FAF4F8Darkest = 950 · #37152B
:root {
  --brand-50: #FAF4F8;
  --brand-100: #F5EAF1;
  --brand-200: #ECD0E1;
  --brand-300: #E2ACCE;
  --brand-400: #cd71ab;
  --brand-500: #C5599D;
  --brand-600: #B5408A;
  --brand-700: #973573;
  --brand-800: #792B5C;
  --brand-900: #582244;
  --brand-950: #37152B;
  --brand: #cd71ab;
  --brand-ink: #000000;
}

Colors that work with #cd71ab

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#EAC3DB
Hairlines and dividers
Muted text#9B4B7D
Captions on the surface
Accent#319B3E
Second voice, not a rival
Dark variant#5E2148
Hover, pressed, headers
Light variant#F8ECF4
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 #cd71ab

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#71CD93
Analogous left#C171CD
Analogous right#CD717D
Split-complement 1#7DCD71
Split-complement 2#71CDC1
Triadic 1#ABCD71
Triadic 2#71ABCD
Tetradic#CDC171

RGB percentages

Red80.4%
Green44.3%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta44.9%
Yellow16.6%
Key (black)19.6%

Color previews

#cd71ab text on a black background

contrast 6.55:1

Card sample

#cd71ab text on a white background

contrast 3.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd71ab

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.

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

#cd71ab, answered

What color is #cd71ab?

#cd71ab is a balanced vivid magenta / pink, closest to Pale Violet Red (ΔE2000 7.8). It sits at 322° on the hue wheel with 48% saturation and 62% lightness, which reads as warm.

What is the RGB value of #cd71ab?

rgb(205, 113, 171) — 205 red, 113 green and 171 blue out of 255, or 80.4% / 44.3% / 67.1% by channel.

Is #cd71ab a light or a dark color?

It is a mid-tone. Relative luminance is 0.2773 and perceived brightness is 60%, so black text on it reaches 6.55:1.

Should I use black or white text on #cd71ab?

Black. It scores 6.55:1 against #cd71ab, versus 3.21:1 for white — AA at any size.

What is the complementary color of #cd71ab?

#71CD93 sits directly opposite on the wheel. Softer options are the split-complements #7DCD71 and #71CDC1, which give the same contrast with far less vibration.

What colors go well with #cd71ab?

For interface work: #FAF4F8 as the surface, #EAC3DB for borders, #9B4B7D for secondary text, #319B3E as an accent and #5E2148 for hover and pressed states. For a palette, the analogous pair #C171CD and #CD717D stays calm, while #71CD93 is the loudest partner.

What is #cd71ab in CMYK for printing?

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

Is #cd71ab warm or cool?

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

Work with #cd71ab in the Color Lab