Skip to content

#cd98cf

a light, soft magenta / pink · neutral · closest name: Plum

RGB
205, 152, 207
HSL
298°, 36%, 70%
CMYK
1, 27, 0, 19
Luminance
0.3994

At a glance

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

Hex
#cd98cf
Hue
298°
magenta / pink
Saturation
36%
soft
Lightness
70%
light
Brightness
81%
HSV value
Perceived
69%
weighted brightness
Luminance
0.3994
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
8.99:1
Closest name
Plum
ΔE2000 3.3
Where it sits
Hue298° of 360°
Saturation36%
Lightness70%
Temperature
Warm ← → Cool51% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#cd98cf
RGBrgb(205, 152, 207)
HSLhsl(298, 36%, 70%)
CMYKcmyk(1%, 27%, 0%, 19%)
LABlab(69.4 29.0 -20.4)
LCHlch(69.4 35.5 324.9)
OKLCHoklch(0.748 0.097 325.3)
Decimal13473999
Display P3color(display-p3 0.804 0.596 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd98cf on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#cd98cf on black: 8.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #94A5D1
deuteranopia · #A0ACCD
tritanopia · #D09DAB

Color scale — 50 to 950

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

#F9F5FA
#F4EBF4
#E8D3E8
#DAB2DB
#cd98cf
#B566B8
#A44EA7
#88418B
#6D346F
#502952
#321933
Base = 400Lightest = 50 · #F9F5FADarkest = 950 · #321933
:root {
  --brand-50: #F9F5FA;
  --brand-100: #F4EBF4;
  --brand-200: #E8D3E8;
  --brand-300: #DAB2DB;
  --brand-400: #cd98cf;
  --brand-500: #B566B8;
  --brand-600: #A44EA7;
  --brand-700: #88418B;
  --brand-800: #6D346F;
  --brand-900: #502952;
  --brand-950: #321933;
  --brand: #cd98cf;
  --brand-ink: #000000;
}

Colors that work with #cd98cf

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#FAF5FA
Tinted page background
Border#E4C7E5
Hairlines and dividers
Muted text#984B9B
Captions on the surface
Accent#558F3D
Second voice, not a rival
Dark variant#552957
Hover, pressed, headers
Light variant#F7EEF7
Selected rows, tints
Dark surface#241424
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 #cd98cf

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#9ACF98
Analogous left#B298CF
Analogous right#CF98B6
Split-complement 1#B6CF98
Split-complement 2#98CFB2
Triadic 1#CFCD98
Triadic 2#98CFCD
Tetradic#CFB298

RGB percentages

Red80.4%
Green59.6%
Blue81.2%

CMYK percentages

Cyan1.0%
Magenta26.6%
Yellow0.0%
Key (black)18.8%

Color previews

#cd98cf text on a black background

contrast 8.99:1

Card sample

#cd98cf text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd98cf

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.

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

#cd98cf, answered

What color is #cd98cf?

#cd98cf is a light soft magenta / pink, closest to Plum (ΔE2000 3.3). It sits at 298° on the hue wheel with 36% saturation and 70% lightness, which reads as neutral.

What is the RGB value of #cd98cf?

rgb(205, 152, 207) — 205 red, 152 green and 207 blue out of 255, or 80.4% / 59.6% / 81.2% by channel.

Is #cd98cf a light or a dark color?

It is a mid-tone. Relative luminance is 0.3994 and perceived brightness is 69%, so black text on it reaches 8.99:1.

Should I use black or white text on #cd98cf?

Black. It scores 8.99:1 against #cd98cf, versus 2.34:1 for white — AAA at any size.

What is the complementary color of #cd98cf?

#9ACF98 sits directly opposite on the wheel. Softer options are the split-complements #B6CF98 and #98CFB2, which give the same contrast with far less vibration.

What colors go well with #cd98cf?

For interface work: #FAF5FA as the surface, #E4C7E5 for borders, #984B9B for secondary text, #558F3D as an accent and #552957 for hover and pressed states. For a palette, the analogous pair #B298CF and #CF98B6 stays calm, while #9ACF98 is the loudest partner.

What is #cd98cf in CMYK for printing?

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

Is #cd98cf warm or cool?

Neutral — it scores 51 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF98BD; nudged cooler, #B997D1.

Work with #cd98cf in the Color Lab