Skip to content

#cf5cd9

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

RGB
207, 92, 217
HSL
295°, 62%, 61%
CMYK
5, 58, 0, 15
Luminance
0.2593

At a glance

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

Hex
#cf5cd9
Hue
295°
magenta / pink
Saturation
62%
vivid
Lightness
61%
balanced
Brightness
85%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2593
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
6.19:1
Closest name
Medium Orchid
ΔE2000 4.6
Where it sits
Hue295° of 360°
Saturation62%
Lightness61%
Temperature
Warm ← → Cool53% 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#cf5cd9
RGBrgb(207, 92, 217)
HSLhsl(295, 62%, 61%)
CMYKcmyk(5%, 58%, 0%, 15%)
LABlab(58.0 62.2 -43.8)
LCHlch(58.0 76.1 324.9)
OKLCHoklch(0.664 0.208 324.4)
Decimal13589721
Display P3color(display-p3 0.812 0.361 0.851)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf5cd9 on white: 3.39:1
AA ✗ fail · AA-large · AAA
Aa
#cf5cd9 on black: 6.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4882DD
deuteranopia · #7090D6
tritanopia · #D36D92

Color scale — 50 to 950

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

#FAF4FB
#F6E8F7
#EDCCF0
#E4A4EA
#D777DF
#cf5cd9
#BA2EC7
#9B27A5
#7C1F84
#5B1A60
#39103C
Base = 500Lightest = 50 · #FAF4FBDarkest = 950 · #39103C
:root {
  --brand-50: #FAF4FB;
  --brand-100: #F6E8F7;
  --brand-200: #EDCCF0;
  --brand-300: #E4A4EA;
  --brand-400: #D777DF;
  --brand-500: #cf5cd9;
  --brand-600: #BA2EC7;
  --brand-700: #9B27A5;
  --brand-800: #7C1F84;
  --brand-900: #5B1A60;
  --brand-950: #39103C;
  --brand: #cf5cd9;
  --brand-ink: #000000;
}

Colors that work with #cf5cd9

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#E9C0ED
Hairlines and dividers
Muted text#944B9B
Captions on the surface
Accent#4FAA22
Second voice, not a rival
Dark variant#611867
Hover, pressed, headers
Light variant#F9EAFA
Selected rows, tints
Dark surface#231424
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 #cf5cd9

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#66D95C
Analogous left#915CD9
Analogous right#D95CA5
Split-complement 1#A5D95C
Split-complement 2#5CD991
Triadic 1#D9CF5C
Triadic 2#5CD9CF
Tetradic#D9915C

RGB percentages

Red81.2%
Green36.1%
Blue85.1%

CMYK percentages

Cyan4.6%
Magenta57.6%
Yellow0.0%
Key (black)14.9%

Color previews

#cf5cd9 text on a black background

contrast 6.19:1

Card sample

#cf5cd9 text on a white background

contrast 3.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf5cd9

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.

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

#cf5cd9, answered

What color is #cf5cd9?

#cf5cd9 is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 4.6). It sits at 295° on the hue wheel with 62% saturation and 61% lightness, which reads as neutral.

What is the RGB value of #cf5cd9?

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

Is #cf5cd9 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2593 and perceived brightness is 60%, so black text on it reaches 6.19:1.

Should I use black or white text on #cf5cd9?

Black. It scores 6.19:1 against #cf5cd9, versus 3.39:1 for white — AA at any size.

What is the complementary color of #cf5cd9?

#66D95C sits directly opposite on the wheel. Softer options are the split-complements #A5D95C and #5CD991, which give the same contrast with far less vibration.

What colors go well with #cf5cd9?

For interface work: #FAF4FA as the surface, #E9C0ED for borders, #944B9B for secondary text, #4FAA22 as an accent and #611867 for hover and pressed states. For a palette, the analogous pair #915CD9 and #D95CA5 stays calm, while #66D95C is the loudest partner.

What is #cf5cd9 in CMYK for printing?

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

Is #cf5cd9 warm or cool?

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

Work with #cf5cd9 in the Color Lab