Skip to content

#cd97ab

a light, soft magenta / pink · warm · closest name: Rosy Brown

RGB
205, 151, 171
HSL
338°, 35%, 70%
CMYK
0, 26, 17, 20
Luminance
0.3805

At a glance

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

Hex
#cd97ab
Hue
338°
magenta / pink
Saturation
35%
soft
Lightness
70%
light
Brightness
80%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3805
WCAG relative
Temperature
Warm
29/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
8.61:1
Closest name
Rosy Brown
ΔE2000 8.2
Where it sits
Hue338° of 360°
Saturation35%
Lightness70%
Temperature
Warm ← → Cool29% 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#cd97ab
RGBrgb(205, 151, 171)
HSLhsl(338, 35%, 70%)
CMYKcmyk(0%, 26%, 17%, 20%)
LABlab(68.1 23.3 -2.5)
LCHlch(68.1 23.4 354.0)
OKLCHoklch(0.734 0.070 354.9)
Decimal13473707
Display P3color(display-p3 0.804 0.592 0.671)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd97ab on white: 2.44:1
AA ✗ fail · AA-large · AAA
Aa
#cd97ab on black: 8.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9DA0AC
deuteranopia · #A9A9AA
tritanopia · #D6959E

Color scale — 50 to 950

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

#F9F5F7
#F4ECEF
#E8D4DB
#DBB3C2
#cd97ab
#B66785
#A54F6F
#8A425D
#6E354A
#512938
#331A23
Base = 400Lightest = 50 · #F9F5F7Darkest = 950 · #331A23
:root {
  --brand-50: #F9F5F7;
  --brand-100: #F4ECEF;
  --brand-200: #E8D4DB;
  --brand-300: #DBB3C2;
  --brand-400: #cd97ab;
  --brand-500: #B66785;
  --brand-600: #A54F6F;
  --brand-700: #8A425D;
  --brand-800: #6E354A;
  --brand-900: #512938;
  --brand-950: #331A23;
  --brand: #cd97ab;
  --brand-ink: #000000;
}

Colors that work with #cd97ab

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#FAF5F7
Tinted page background
Border#E5C8D2
Hairlines and dividers
Muted text#9B4B68
Captions on the surface
Accent#3E8E5D
Second voice, not a rival
Dark variant#56293A
Hover, pressed, headers
Light variant#F7EEF1
Selected rows, tints
Dark surface#24141A
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 #cd97ab

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • White text placed on it
  • 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#97CDB9
Analogous left#CD97C6
Analogous right#CD9E97
Split-complement 1#97CD9E
Split-complement 2#97C6CD
Triadic 1#ABCD97
Triadic 2#97ABCD
Tetradic#C6CD97

RGB percentages

Red80.4%
Green59.2%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta26.3%
Yellow16.6%
Key (black)19.6%

Color previews

#cd97ab text on a black background

contrast 8.61:1

Card sample

#cd97ab text on a white background

contrast 2.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd97ab

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.

#cd97ab 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
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#cd97ab, answered

What color is #cd97ab?

#cd97ab is a light soft magenta / pink, closest to Rosy Brown (ΔE2000 8.2). It sits at 338° on the hue wheel with 35% saturation and 70% lightness, which reads as warm.

What is the RGB value of #cd97ab?

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

Is #cd97ab a light or a dark color?

It is a mid-tone. Relative luminance is 0.3805 and perceived brightness is 67%, so black text on it reaches 8.61:1.

Should I use black or white text on #cd97ab?

Black. It scores 8.61:1 against #cd97ab, versus 2.44:1 for white — AAA at any size.

What is the complementary color of #cd97ab?

#97CDB9 sits directly opposite on the wheel. Softer options are the split-complements #97CD9E and #97C6CD, which give the same contrast with far less vibration.

What colors go well with #cd97ab?

For interface work: #FAF5F7 as the surface, #E5C8D2 for borders, #9B4B68 for secondary text, #3E8E5D as an accent and #56293A for hover and pressed states. For a palette, the analogous pair #CD97C6 and #CD9E97 stays calm, while #97CDB9 is the loudest partner.

What is #cd97ab in CMYK for printing?

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

Is #cd97ab warm or cool?

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

Work with #cd97ab in the Color Lab