Skip to content

#cc7daf

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

RGB
204, 125, 175
HSL
322°, 44%, 65%
CMYK
0, 39, 14, 20
Luminance
0.3060

At a glance

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

Hex
#cc7daf
Hue
322°
magenta / pink
Saturation
44%
soft
Lightness
65%
balanced
Brightness
80%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3060
WCAG relative
Temperature
Warm
38/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
7.12:1
Closest name
Pale Violet Red
ΔE2000 8.1
Where it sits
Hue322° of 360°
Saturation44%
Lightness65%
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#cc7daf
RGBrgb(204, 125, 175)
HSLhsl(322, 44%, 65%)
CMYKcmyk(0%, 39%, 14%, 20%)
LABlab(62.2 37.7 -13.5)
LCHlch(62.2 40.0 340.3)
OKLCHoklch(0.689 0.116 342.1)
Decimal13401519
Display P3color(display-p3 0.800 0.490 0.686)

Copy-ready code

/* CSS */
color: #cc7daf;
background-color: #cc7daf;
/* Tailwind (arbitrary) */
class="text-[#cc7daf] bg-[#cc7daf]"
/* SCSS */
$brand: #cc7daf;
/* SwiftUI */
Color(red: 0.800, green: 0.490, blue: 0.686)
/* Android */
Color.parseColor("#cc7daf")
/* Flutter */
Color(0xFFCC7DAF)
/* Python / OpenCV (BGR) */
(175, 125, 204)

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 #cc7daf · 7.12:1
Use #000000AAA at every size.
Aa
White text · 2.95:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.12:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cc7daf as text scores 2.95:1 on white and 7.12:1 on black.

Accessibility — WCAG contrast

Aa
#cc7daf on white: 2.95:1
AA ✗ fail · AA-large · AAA
Aa
#cc7daf on black: 7.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #818FB1
deuteranopia · #959BAD
tritanopia · #D57D8F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cc7daf 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
#EBD1E1
#DFAECD
#cc7daf
#C05E9C
#B04589
#923A72
#752E5B
#562544
#36172A
Base = 400Lightest = 50 · #FAF5F8Darkest = 950 · #36172A
:root {
  --brand-50: #FAF5F8;
  --brand-100: #F5EAF1;
  --brand-200: #EBD1E1;
  --brand-300: #DFAECD;
  --brand-400: #cc7daf;
  --brand-500: #C05E9C;
  --brand-600: #B04589;
  --brand-700: #923A72;
  --brand-800: #752E5B;
  --brand-900: #562544;
  --brand-950: #36172A;
  --brand: #cc7daf;
  --brand-ink: #000000;
}

Colors that work with #cc7daf

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#E8C4DB
Hairlines and dividers
Muted text#9B4B7D
Captions on the surface
Accent#359740
Second voice, not a rival
Dark variant#5C2447
Hover, pressed, headers
Light variant#F8EDF4
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 #cc7daf

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#7DCC9A
Analogous left#C17DCC
Analogous right#CC7D88
Split-complement 1#88CC7D
Split-complement 2#7DCCC1
Triadic 1#AFCC7D
Triadic 2#7DAFCC
Tetradic#CCC17D

RGB percentages

Red80.0%
Green49.0%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta38.7%
Yellow14.2%
Key (black)20.0%

Color previews

#cc7daf text on a black background

contrast 7.12:1

Card sample

#cc7daf text on a white background

contrast 2.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 125, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 125, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc7daf;
background: linear-gradient(135deg, #cc7daf, #CC807D);

Monochromatic scale

Palettes built from #cc7daf

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.

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

#cc7daf, answered

What color is #cc7daf?

#cc7daf is a balanced soft magenta / pink, closest to Pale Violet Red (ΔE2000 8.1). It sits at 322° on the hue wheel with 44% saturation and 65% lightness, which reads as warm.

What is the RGB value of #cc7daf?

rgb(204, 125, 175) — 204 red, 125 green and 175 blue out of 255, or 80% / 49% / 68.6% by channel.

Is #cc7daf a light or a dark color?

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

Should I use black or white text on #cc7daf?

Black. It scores 7.12:1 against #cc7daf, versus 2.95:1 for white — AAA at any size.

What is the complementary color of #cc7daf?

#7DCC9A sits directly opposite on the wheel. Softer options are the split-complements #88CC7D and #7DCCC1, which give the same contrast with far less vibration.

What colors go well with #cc7daf?

For interface work: #FAF4F8 as the surface, #E8C4DB for borders, #9B4B7D for secondary text, #359740 as an accent and #5C2447 for hover and pressed states. For a palette, the analogous pair #C17DCC and #CC7D88 stays calm, while #7DCC9A is the loudest partner.

What is #cc7daf in CMYK for printing?

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

Is #cc7daf 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 #CC7D92; nudged cooler, #CE7BCE.

Work with #cc7daf in the Color Lab