Skip to content

#cc7da2

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

RGB
204, 125, 162
HSL
332°, 44%, 65%
CMYK
0, 39, 21, 20
Luminance
0.3011

At a glance

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

Hex
#cc7da2
Hue
332°
magenta / pink
Saturation
44%
soft
Lightness
65%
balanced
Brightness
80%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3011
WCAG relative
Temperature
Warm
32/100 cool
Color family
Magenta / pink
Tone
Soft
Best ink
Black
7.02:1
Closest name
Pale Violet Red
ΔE2000 5.5
Where it sits
Hue332° of 360°
Saturation44%
Lightness65%
Temperature
Warm ← → Cool32% 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#cc7da2
RGBrgb(204, 125, 162)
HSLhsl(332, 44%, 65%)
CMYKcmyk(0%, 39%, 21%, 20%)
LABlab(61.8 35.6 -6.7)
LCHlch(61.8 36.3 349.4)
OKLCHoklch(0.684 0.108 350.8)
Decimal13401506
Display P3color(display-p3 0.800 0.490 0.635)

Copy-ready code

/* CSS */
color: #cc7da2;
background-color: #cc7da2;
/* Tailwind (arbitrary) */
class="text-[#cc7da2] bg-[#cc7da2]"
/* SCSS */
$brand: #cc7da2;
/* SwiftUI */
Color(red: 0.800, green: 0.490, blue: 0.635)
/* Android */
Color.parseColor("#cc7da2")
/* Flutter */
Color(0xFFCC7DA2)
/* Python / OpenCV (BGR) */
(162, 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 #cc7da2 · 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: #cc7da2 as text scores 2.99:1 on white and 7.02:1 on black.

Accessibility — WCAG contrast

Aa
#cc7da2 on white: 2.99:1
AA ✗ fail · AA-large · AAA
Aa
#cc7da2 on black: 7.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #858DA3
deuteranopia · #989AA0
tritanopia · #D77B8A

Color scale — 50 to 950

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

#FAF5F7
#F5EAEF
#EBD1DD
#DFAEC5
#cc7da2
#C05E8C
#B04577
#923A63
#752E4F
#56253C
#361725
Base = 400Lightest = 50 · #FAF5F7Darkest = 950 · #361725
:root {
  --brand-50: #FAF5F7;
  --brand-100: #F5EAEF;
  --brand-200: #EBD1DD;
  --brand-300: #DFAEC5;
  --brand-400: #cc7da2;
  --brand-500: #C05E8C;
  --brand-600: #B04577;
  --brand-700: #923A63;
  --brand-800: #752E4F;
  --brand-900: #56253C;
  --brand-950: #361725;
  --brand: #cc7da2;
  --brand-ink: #000000;
}

Colors that work with #cc7da2

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#FAF4F7
Tinted page background
Border#E8C4D5
Hairlines and dividers
Muted text#9B4B70
Captions on the surface
Accent#359751
Second voice, not a rival
Dark variant#5C243E
Hover, pressed, headers
Light variant#F8EDF2
Selected rows, tints
Dark surface#24141C
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 #cc7da2

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#7DCCA7
Analogous left#CC7DC9
Analogous right#CC807D
Split-complement 1#7DCC80
Split-complement 2#7DC9CC
Triadic 1#A2CC7D
Triadic 2#7DA2CC
Tetradic#C9CC7D

RGB percentages

Red80.0%
Green49.0%
Blue63.5%

CMYK percentages

Cyan0.0%
Magenta38.7%
Yellow20.6%
Key (black)20.0%

Color previews

#cc7da2 text on a black background

contrast 7.02:1

Card sample

#cc7da2 text on a white background

contrast 2.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc7da2

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.

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

#cc7da2, answered

What color is #cc7da2?

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

What is the RGB value of #cc7da2?

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

Is #cc7da2 a light or a dark color?

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

Should I use black or white text on #cc7da2?

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

What is the complementary color of #cc7da2?

#7DCCA7 sits directly opposite on the wheel. Softer options are the split-complements #7DCC80 and #7DC9CC, which give the same contrast with far less vibration.

What colors go well with #cc7da2?

For interface work: #FAF4F7 as the surface, #E8C4D5 for borders, #9B4B70 for secondary text, #359751 as an accent and #5C243E for hover and pressed states. For a palette, the analogous pair #CC7DC9 and #CC807D stays calm, while #7DCCA7 is the loudest partner.

What is #cc7da2 in CMYK for printing?

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

Is #cc7da2 warm or cool?

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

Work with #cc7da2 in the Color Lab