Skip to content

#cd7ab2

a balanced, vivid magenta / pink · warm · closest name: Orchid

RGB
205, 122, 178
HSL
320°, 45%, 64%
CMYK
0, 41, 13, 20
Luminance
0.3011

At a glance

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

Hex
#cd7ab2
Hue
320°
magenta / pink
Saturation
45%
vivid
Lightness
64%
balanced
Brightness
80%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3011
WCAG relative
Temperature
Warm
39/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
7.02:1
Closest name
Orchid
ΔE2000 8
Where it sits
Hue320° of 360°
Saturation45%
Lightness64%
Temperature
Warm ← → Cool39% 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#cd7ab2
RGBrgb(205, 122, 178)
HSLhsl(320, 45%, 64%)
CMYKcmyk(0%, 41%, 13%, 20%)
LABlab(61.8 40.1 -15.8)
LCHlch(61.8 43.1 338.5)
OKLCHoklch(0.686 0.125 340.3)
Decimal13466290
Display P3color(display-p3 0.804 0.478 0.698)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd7ab2 on white: 2.99:1
AA ✗ fail · AA-large · AAA
Aa
#cd7ab2 on black: 7.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7D8DB4
deuteranopia · #939AB0
tritanopia · #D67B8F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cd7ab2 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
#F5EAF2
#EBD1E2
#E0ADD0
#cd7ab2
#C25CA1
#B2438E
#943876
#772D5F
#572446
#36162C
Base = 400Lightest = 50 · #FAF5F8Darkest = 950 · #36162C
:root {
  --brand-50: #FAF5F8;
  --brand-100: #F5EAF2;
  --brand-200: #EBD1E2;
  --brand-300: #E0ADD0;
  --brand-400: #cd7ab2;
  --brand-500: #C25CA1;
  --brand-600: #B2438E;
  --brand-700: #943876;
  --brand-800: #772D5F;
  --brand-900: #572446;
  --brand-950: #36162C;
  --brand: #cd7ab2;
  --brand-ink: #000000;
}

Colors that work with #cd7ab2

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#E9C4DD
Hairlines and dividers
Muted text#9B4B81
Captions on the surface
Accent#33993B
Second voice, not a rival
Dark variant#5D234A
Hover, pressed, headers
Light variant#F8ECF4
Selected rows, tints
Dark surface#24141F
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 #cd7ab2

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

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • 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#7ACD95
Analogous left#BE7ACD
Analogous right#CD7A88
Split-complement 1#88CD7A
Split-complement 2#7ACDBE
Triadic 1#B2CD7A
Triadic 2#7AB2CD
Tetradic#CDBE7A

RGB percentages

Red80.4%
Green47.8%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta40.5%
Yellow13.2%
Key (black)19.6%

Color previews

#cd7ab2 text on a black background

contrast 7.02:1

Card sample

#cd7ab2 text on a white background

contrast 2.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd7ab2

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.

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

#cd7ab2, answered

What color is #cd7ab2?

#cd7ab2 is a balanced vivid magenta / pink, closest to Orchid (ΔE2000 8). It sits at 320° on the hue wheel with 45% saturation and 64% lightness, which reads as warm.

What is the RGB value of #cd7ab2?

rgb(205, 122, 178) — 205 red, 122 green and 178 blue out of 255, or 80.4% / 47.8% / 69.8% by channel.

Is #cd7ab2 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 #cd7ab2?

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

What is the complementary color of #cd7ab2?

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

What colors go well with #cd7ab2?

For interface work: #FAF4F8 as the surface, #E9C4DD for borders, #9B4B81 for secondary text, #33993B as an accent and #5D234A for hover and pressed states. For a palette, the analogous pair #BE7ACD and #CD7A88 stays calm, while #7ACD95 is the loudest partner.

What is #cd7ab2 in CMYK for printing?

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

Is #cd7ab2 warm or cool?

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

Work with #cd7ab2 in the Color Lab