Skip to content

#cd98ac

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

RGB
205, 152, 172
HSL
337°, 35%, 70%
CMYK
0, 26, 16, 20
Luminance
0.3841

At a glance

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

Hex
#cd98ac
Hue
337°
magenta / pink
Saturation
35%
soft
Lightness
70%
light
Brightness
80%
HSV value
Perceived
67%
weighted brightness
Luminance
0.3841
WCAG relative
Temperature
Warm
29/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
8.68:1
Closest name
Rosy Brown
ΔE2000 8.3
Where it sits
Hue337° 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#cd98ac
RGBrgb(205, 152, 172)
HSLhsl(337, 35%, 70%)
CMYKcmyk(0%, 26%, 16%, 20%)
LABlab(68.3 22.9 -2.6)
LCHlch(68.3 23.0 353.5)
OKLCHoklch(0.736 0.068 354.5)
Decimal13473964
Display P3color(display-p3 0.804 0.596 0.675)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd98ac on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#cd98ac on black: 8.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #9DA1AD
deuteranopia · #AAAAAB
tritanopia · #D5969F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cd98ac 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
#DAB3C2
#cd98ac
#B66885
#A55070
#89435D
#6E354B
#512A38
#321A23
Base = 400Lightest = 50 · #F9F5F7Darkest = 950 · #321A23
:root {
  --brand-50: #F9F5F7;
  --brand-100: #F4ECEF;
  --brand-200: #E8D4DB;
  --brand-300: #DAB3C2;
  --brand-400: #cd98ac;
  --brand-500: #B66885;
  --brand-600: #A55070;
  --brand-700: #89435D;
  --brand-800: #6E354B;
  --brand-900: #512A38;
  --brand-950: #321A23;
  --brand: #cd98ac;
  --brand-ink: #000000;
}

Colors that work with #cd98ac

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#E4C8D3
Hairlines and dividers
Muted text#9A4B69
Captions on the surface
Accent#3F8D5C
Second voice, not a rival
Dark variant#562A3A
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 #cd98ac

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#98CDB9
Analogous left#CD98C6
Analogous right#CD9F98
Split-complement 1#98CD9F
Split-complement 2#98C6CD
Triadic 1#ACCD98
Triadic 2#98ACCD
Tetradic#C6CD98

RGB percentages

Red80.4%
Green59.6%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta25.9%
Yellow16.1%
Key (black)19.6%

Color previews

#cd98ac text on a black background

contrast 8.68:1

Card sample

#cd98ac text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd98ac

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.

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

#cd98ac, answered

What color is #cd98ac?

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

What is the RGB value of #cd98ac?

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

Is #cd98ac a light or a dark color?

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

Should I use black or white text on #cd98ac?

Black. It scores 8.68:1 against #cd98ac, versus 2.42:1 for white — AAA at any size.

What is the complementary color of #cd98ac?

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

What colors go well with #cd98ac?

For interface work: #FAF5F7 as the surface, #E4C8D3 for borders, #9A4B69 for secondary text, #3F8D5C as an accent and #562A3A for hover and pressed states. For a palette, the analogous pair #CD98C6 and #CD9F98 stays calm, while #98CDB9 is the loudest partner.

What is #cd98ac in CMYK for printing?

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

Is #cd98ac 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 #CD9899; nudged cooler, #CE97C0.

Work with #cd98ac in the Color Lab