Skip to content

#cf5cd5

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

RGB
207, 92, 213
HSL
297°, 59%, 60%
CMYK
3, 57, 0, 17
Luminance
0.2572

At a glance

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

Hex
#cf5cd5
Hue
297°
magenta / pink
Saturation
59%
vivid
Lightness
60%
balanced
Brightness
84%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2572
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
6.14:1
Closest name
Medium Orchid
ΔE2000 4.7
Where it sits
Hue297° of 360°
Saturation59%
Lightness60%
Temperature
Warm ← → Cool52% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#cf5cd5
RGBrgb(207, 92, 213)
HSLhsl(297, 59%, 60%)
CMYKcmyk(3%, 57%, 0%, 17%)
LABlab(57.8 61.5 -41.8)
LCHlch(57.8 74.4 325.8)
OKLCHoklch(0.662 0.205 325.6)
Decimal13589717
Display P3color(display-p3 0.812 0.361 0.835)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf5cd5 on white: 3.42:1
AA ✗ fail · AA-large · AAA
Aa
#cf5cd5 on black: 6.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4C82D9
deuteranopia · #7290D2
tritanopia · #D46C90

Color scale — 50 to 950

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

#FBF4FB
#F6E9F7
#EDCDEF
#E5A6E8
#D879DC
#cf5cd5
#BB32C3
#9C2AA2
#7D2182
#5B1C5E
#39113B
Base = 500Lightest = 50 · #FBF4FBDarkest = 950 · #39113B
:root {
  --brand-50: #FBF4FB;
  --brand-100: #F6E9F7;
  --brand-200: #EDCDEF;
  --brand-300: #E5A6E8;
  --brand-400: #D879DC;
  --brand-500: #cf5cd5;
  --brand-600: #BB32C3;
  --brand-700: #9C2AA2;
  --brand-800: #7D2182;
  --brand-900: #5B1C5E;
  --brand-950: #39113B;
  --brand: #cf5cd5;
  --brand-ink: #000000;
}

Colors that work with #cf5cd5

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#FAF4FA
Tinted page background
Border#EAC0ED
Hairlines and dividers
Muted text#974B9B
Captions on the surface
Accent#4DA626
Second voice, not a rival
Dark variant#621A65
Hover, pressed, headers
Light variant#F9EBFA
Selected rows, tints
Dark surface#241424
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 #cf5cd5

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#62D55C
Analogous left#925CD5
Analogous right#D55C9F
Split-complement 1#9FD55C
Split-complement 2#5CD592
Triadic 1#D5CF5C
Triadic 2#5CD5CF
Tetradic#D5925C

RGB percentages

Red81.2%
Green36.1%
Blue83.5%

CMYK percentages

Cyan2.8%
Magenta56.8%
Yellow0.0%
Key (black)16.5%

Color previews

#cf5cd5 text on a black background

contrast 6.14:1

Card sample

#cf5cd5 text on a white background

contrast 3.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf5cd5

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.

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

#cf5cd5, answered

What color is #cf5cd5?

#cf5cd5 is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 4.7). It sits at 297° on the hue wheel with 59% saturation and 60% lightness, which reads as neutral.

What is the RGB value of #cf5cd5?

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

Is #cf5cd5 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2572 and perceived brightness is 59%, so black text on it reaches 6.14:1.

Should I use black or white text on #cf5cd5?

Black. It scores 6.14:1 against #cf5cd5, versus 3.42:1 for white — AA at any size.

What is the complementary color of #cf5cd5?

#62D55C sits directly opposite on the wheel. Softer options are the split-complements #9FD55C and #5CD592, which give the same contrast with far less vibration.

What colors go well with #cf5cd5?

For interface work: #FAF4FA as the surface, #EAC0ED for borders, #974B9B for secondary text, #4DA626 as an accent and #621A65 for hover and pressed states. For a palette, the analogous pair #925CD5 and #D55C9F stays calm, while #62D55C is the loudest partner.

What is #cf5cd5 in CMYK for printing?

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

Is #cf5cd5 warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D55CAF; nudged cooler, #A35AD7.

Work with #cf5cd5 in the Color Lab