Skip to content

#cf5c97

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

RGB
207, 92, 151
HSL
329°, 55%, 59%
CMYK
0, 56, 27, 19
Luminance
0.2315

At a glance

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

Hex
#cf5c97
Hue
329°
magenta / pink
Saturation
55%
vivid
Lightness
59%
balanced
Brightness
81%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2315
WCAG relative
Temperature
Warm
34/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.63:1
Closest name
Pale Violet Red
ΔE2000 7.2
Where it sits
Hue329° of 360°
Saturation55%
Lightness59%
Temperature
Warm ← → Cool34% 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#cf5c97
RGBrgb(207, 92, 151)
HSLhsl(329, 55%, 59%)
CMYKcmyk(0%, 56%, 27%, 19%)
LABlab(55.2 51.8 -10.0)
LCHlch(55.2 52.8 349.1)
OKLCHoklch(0.635 0.159 350.6)
Decimal13589655
Display P3color(display-p3 0.812 0.361 0.592)

Copy-ready code

/* CSS */
color: #cf5c97;
background-color: #cf5c97;
/* Tailwind (arbitrary) */
class="text-[#cf5c97] bg-[#cf5c97]"
/* SCSS */
$brand: #cf5c97;
/* SwiftUI */
Color(red: 0.812, green: 0.361, blue: 0.592)
/* Android */
Color.parseColor("#cf5c97")
/* Flutter */
Color(0xFFCF5C97)
/* Python / OpenCV (BGR) */
(151, 92, 207)

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

Accessibility — WCAG contrast

Aa
#cf5c97 on white: 3.73:1
AA ✗ fail · AA-large · AAA
Aa
#cf5c97 on black: 5.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6A7899
deuteranopia · #898C94
tritanopia · #DD5773

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cf5c97 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBF4F7
#F6E9F0
#EECEDE
#E5A8C8
#D97DAC
#cf5c97
#BD387C
#9E2E67
#7E2553
#5C1F3E
#391327
Base = 500Lightest = 50 · #FBF4F7Darkest = 950 · #391327
:root {
  --brand-50: #FBF4F7;
  --brand-100: #F6E9F0;
  --brand-200: #EECEDE;
  --brand-300: #E5A8C8;
  --brand-400: #D97DAC;
  --brand-500: #cf5c97;
  --brand-600: #BD387C;
  --brand-700: #9E2E67;
  --brand-800: #7E2553;
  --brand-900: #5C1F3E;
  --brand-950: #391327;
  --brand: #cf5c97;
  --brand-ink: #000000;
}

Colors that work with #cf5c97

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#ECC0D7
Hairlines and dividers
Muted text#9B4B74
Captions on the surface
Accent#2BA146
Second voice, not a rival
Dark variant#621D41
Hover, pressed, headers
Light variant#F9EBF2
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 #cf5c97

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

Works well for
  • Headings from 24px up on white
  • 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
  • Small text on white — under 4.5:1
  • 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#5CCF94
Analogous left#CD5CCF
Analogous right#CF5C5D
Split-complement 1#5DCF5C
Split-complement 2#5CCFCD
Triadic 1#97CF5C
Triadic 2#5C97CF
Tetradic#CFCD5C

RGB percentages

Red81.2%
Green36.1%
Blue59.2%

CMYK percentages

Cyan0.0%
Magenta55.6%
Yellow27.1%
Key (black)18.8%

Color previews

#cf5c97 text on a black background

contrast 5.63:1

Card sample

#cf5c97 text on a white background

contrast 3.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf5c97

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.

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

#cf5c97, answered

What color is #cf5c97?

#cf5c97 is a balanced vivid magenta / pink, closest to Pale Violet Red (ΔE2000 7.2). It sits at 329° on the hue wheel with 55% saturation and 59% lightness, which reads as warm.

What is the RGB value of #cf5c97?

rgb(207, 92, 151) — 207 red, 92 green and 151 blue out of 255, or 81.2% / 36.1% / 59.2% by channel.

Is #cf5c97 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2315 and perceived brightness is 56%, so black text on it reaches 5.63:1.

Should I use black or white text on #cf5c97?

Black. It scores 5.63:1 against #cf5c97, versus 3.73:1 for white — AA at any size.

What is the complementary color of #cf5c97?

#5CCF94 sits directly opposite on the wheel. Softer options are the split-complements #5DCF5C and #5CCFCD, which give the same contrast with far less vibration.

What colors go well with #cf5c97?

For interface work: #FAF4F7 as the surface, #ECC0D7 for borders, #9B4B74 for secondary text, #2BA146 as an accent and #621D41 for hover and pressed states. For a palette, the analogous pair #CD5CCF and #CF5C5D stays calm, while #5CCF94 is the loudest partner.

What is #cf5c97 in CMYK for printing?

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

Is #cf5c97 warm or cool?

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

Work with #cf5c97 in the Color Lab