Skip to content

#cf5f91

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

RGB
207, 95, 145
HSL
333°, 54%, 59%
CMYK
0, 54, 30, 19
Luminance
0.2349

At a glance

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

Hex
#cf5f91
Hue
333°
magenta / pink
Saturation
54%
vivid
Lightness
59%
balanced
Brightness
81%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2349
WCAG relative
Temperature
Warm
32/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.70:1
Closest name
Pale Violet Red
ΔE2000 5.7
Where it sits
Hue333° of 360°
Saturation54%
Lightness59%
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#cf5f91
RGBrgb(207, 95, 145)
HSLhsl(333, 54%, 59%)
CMYKcmyk(0%, 54%, 30%, 19%)
LABlab(55.6 49.6 -6.0)
LCHlch(55.6 50.0 353.1)
OKLCHoklch(0.637 0.151 354.3)
Decimal13590417
Display P3color(display-p3 0.812 0.373 0.569)

Copy-ready code

/* CSS */
color: #cf5f91;
background-color: #cf5f91;
/* Tailwind (arbitrary) */
class="text-[#cf5f91] bg-[#cf5f91]"
/* SCSS */
$brand: #cf5f91;
/* SwiftUI */
Color(red: 0.812, green: 0.373, blue: 0.569)
/* Android */
Color.parseColor("#cf5f91")
/* Flutter */
Color(0xFFCF5F91)
/* Python / OpenCV (BGR) */
(145, 95, 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 #cf5f91 · 5.70:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.68:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.70:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #cf5f91 as text scores 3.68:1 on white and 5.70:1 on black.

Accessibility — WCAG contrast

Aa
#cf5f91 on white: 3.68:1
AA ✗ fail · AA-large · AAA
Aa
#cf5f91 on black: 5.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6F7993
deuteranopia · #8C8D8E
tritanopia · #DD5972

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cf5f91 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
#F6E9EF
#EECEDC
#E5A9C4
#D87EA6
#cf5f91
#BC3973
#9D2F60
#7E264D
#5B1F3A
#391324
Base = 500Lightest = 50 · #FBF4F7Darkest = 950 · #391324
:root {
  --brand-50: #FBF4F7;
  --brand-100: #F6E9EF;
  --brand-200: #EECEDC;
  --brand-300: #E5A9C4;
  --brand-400: #D87EA6;
  --brand-500: #cf5f91;
  --brand-600: #BC3973;
  --brand-700: #9D2F60;
  --brand-800: #7E264D;
  --brand-900: #5B1F3A;
  --brand-950: #391324;
  --brand: #cf5f91;
  --brand-ink: #000000;
}

Colors that work with #cf5f91

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#ECC0D4
Hairlines and dividers
Muted text#9B4B6E
Captions on the surface
Accent#2BA14E
Second voice, not a rival
Dark variant#621D3C
Hover, pressed, headers
Light variant#F9EBF2
Selected rows, tints
Dark surface#24141B
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 #cf5f91

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#5FCF9D
Analogous left#CF5FC9
Analogous right#CF655F
Split-complement 1#5FCF65
Split-complement 2#5FC9CF
Triadic 1#91CF5F
Triadic 2#5F91CF
Tetradic#C9CF5F

RGB percentages

Red81.2%
Green37.3%
Blue56.9%

CMYK percentages

Cyan0.0%
Magenta54.1%
Yellow30.0%
Key (black)18.8%

Color previews

#cf5f91 text on a black background

contrast 5.70:1

Card sample

#cf5f91 text on a white background

contrast 3.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf5f91

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.

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

#cf5f91, answered

What color is #cf5f91?

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

What is the RGB value of #cf5f91?

rgb(207, 95, 145) — 207 red, 95 green and 145 blue out of 255, or 81.2% / 37.3% / 56.9% by channel.

Is #cf5f91 a light or a dark color?

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

Should I use black or white text on #cf5f91?

Black. It scores 5.70:1 against #cf5f91, versus 3.68:1 for white — AA at any size.

What is the complementary color of #cf5f91?

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

What colors go well with #cf5f91?

For interface work: #FAF4F7 as the surface, #ECC0D4 for borders, #9B4B6E for secondary text, #2BA14E as an accent and #621D3C for hover and pressed states. For a palette, the analogous pair #CF5FC9 and #CF655F stays calm, while #5FCF9D is the loudest partner.

What is #cf5f91 in CMYK for printing?

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

Is #cf5f91 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 #CF5F68; nudged cooler, #D15DBB.

Work with #cf5f91 in the Color Lab