Skip to content

#cd7bab

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

RGB
205, 123, 171
HSL
325°, 45%, 64%
CMYK
0, 40, 17, 20
Luminance
0.3009

At a glance

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

Hex
#cd7bab
Hue
325°
magenta / pink
Saturation
45%
vivid
Lightness
64%
balanced
Brightness
80%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3009
WCAG relative
Temperature
Warm
36/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
7.02:1
Closest name
Pale Violet Red
ΔE2000 7.1
Where it sits
Hue325° of 360°
Saturation45%
Lightness64%
Temperature
Warm ← → Cool36% 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#cd7bab
RGBrgb(205, 123, 171)
HSLhsl(325, 45%, 64%)
CMYKcmyk(0%, 40%, 17%, 20%)
LABlab(61.7 38.4 -11.8)
LCHlch(61.7 40.2 342.9)
OKLCHoklch(0.685 0.118 344.6)
Decimal13466539
Display P3color(display-p3 0.804 0.482 0.671)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd7bab on white: 2.99:1
AA ✗ fail · AA-large · AAA
Aa
#cd7bab on black: 7.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #818DAD
deuteranopia · #959AA9
tritanopia · #D77B8C

Color scale — 50 to 950

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

#FAF5F8
#F5EAF1
#EBD1E0
#E0AECB
#cd7bab
#C15C97
#B24384
#94386E
#762D58
#572442
#361629
Base = 400Lightest = 50 · #FAF5F8Darkest = 950 · #361629
:root {
  --brand-50: #FAF5F8;
  --brand-100: #F5EAF1;
  --brand-200: #EBD1E0;
  --brand-300: #E0AECB;
  --brand-400: #cd7bab;
  --brand-500: #C15C97;
  --brand-600: #B24384;
  --brand-700: #94386E;
  --brand-800: #762D58;
  --brand-900: #572442;
  --brand-950: #361629;
  --brand: #cd7bab;
  --brand-ink: #000000;
}

Colors that work with #cd7bab

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#E9C4D9
Hairlines and dividers
Muted text#9B4B7A
Captions on the surface
Accent#349844
Second voice, not a rival
Dark variant#5D2345
Hover, pressed, headers
Light variant#F8ECF3
Selected rows, tints
Dark surface#24141D
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 #cd7bab

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • 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
  • Text of any size on white — fails WCAG AA
  • 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#7BCD9D
Analogous left#C67BCD
Analogous right#CD7B82
Split-complement 1#82CD7B
Split-complement 2#7BCDC6
Triadic 1#ABCD7B
Triadic 2#7BABCD
Tetradic#CDC67B

RGB percentages

Red80.4%
Green48.2%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta40.0%
Yellow16.6%
Key (black)19.6%

Color previews

#cd7bab text on a black background

contrast 7.02:1

Card sample

#cd7bab text on a white background

contrast 2.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd7bab

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.

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

#cd7bab, answered

What color is #cd7bab?

#cd7bab is a balanced vivid magenta / pink, closest to Pale Violet Red (ΔE2000 7.1). It sits at 325° on the hue wheel with 45% saturation and 64% lightness, which reads as warm.

What is the RGB value of #cd7bab?

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

Is #cd7bab a light or a dark color?

It is a mid-tone. Relative luminance is 0.3009 and perceived brightness is 62%, so black text on it reaches 7.02:1.

Should I use black or white text on #cd7bab?

Black. It scores 7.02:1 against #cd7bab, versus 2.99:1 for white — AAA at any size.

What is the complementary color of #cd7bab?

#7BCD9D sits directly opposite on the wheel. Softer options are the split-complements #82CD7B and #7BCDC6, which give the same contrast with far less vibration.

What colors go well with #cd7bab?

For interface work: #FAF4F8 as the surface, #E9C4D9 for borders, #9B4B7A for secondary text, #349844 as an accent and #5D2345 for hover and pressed states. For a palette, the analogous pair #C67BCD and #CD7B82 stays calm, while #7BCD9D is the loudest partner.

What is #cd7bab in CMYK for printing?

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

Is #cd7bab warm or cool?

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

Work with #cd7bab in the Color Lab