Skip to content

#cf4cd5

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

RGB
207, 76, 213
HSL
297°, 62%, 57%
CMYK
3, 64, 0, 17
Luminance
0.2324

At a glance

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

Hex
#cf4cd5
Hue
297°
magenta / pink
Saturation
62%
vivid
Lightness
57%
balanced
Brightness
84%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2324
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.65:1
Closest name
Medium Orchid
ΔE2000 3.6
Where it sits
Hue297° of 360°
Saturation62%
Lightness57%
Temperature
Warm ← → Cool51% 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#cf4cd5
RGBrgb(207, 76, 213)
HSLhsl(297, 62%, 57%)
CMYKcmyk(3%, 64%, 0%, 17%)
LABlab(55.3 68.3 -45.7)
LCHlch(55.3 82.2 326.2)
OKLCHoklch(0.644 0.227 326.0)
Decimal13585621
Display P3color(display-p3 0.812 0.298 0.835)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf4cd5 on white: 3.72:1
AA ✗ fail · AA-large · AAA
Aa
#cf4cd5 on black: 5.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #347AD9
deuteranopia · #688AD1
tritanopia · #D4608A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cf4cd5 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
#F6E8F7
#EECCF0
#E7A4EA
#DB77DF
#cf4cd5
#C02FC6
#A027A5
#801F84
#5D1A60
#3A103C
Base = 500Lightest = 50 · #FBF4FBDarkest = 950 · #3A103C
:root {
  --brand-50: #FBF4FB;
  --brand-100: #F6E8F7;
  --brand-200: #EECCF0;
  --brand-300: #E7A4EA;
  --brand-400: #DB77DF;
  --brand-500: #cf4cd5;
  --brand-600: #C02FC6;
  --brand-700: #A027A5;
  --brand-800: #801F84;
  --brand-900: #5D1A60;
  --brand-950: #3A103C;
  --brand: #cf4cd5;
  --brand-ink: #000000;
}

Colors that work with #cf4cd5

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#EBC0ED
Hairlines and dividers
Muted text#974B9B
Captions on the surface
Accent#4AA923
Second voice, not a rival
Dark variant#641867
Hover, pressed, headers
Light variant#F9EAFA
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 #cf4cd5

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#52D54C
Analogous left#8B4CD5
Analogous right#D54C97
Split-complement 1#97D54C
Split-complement 2#4CD58B
Triadic 1#D5CF4C
Triadic 2#4CD5CF
Tetradic#D58B4C

RGB percentages

Red81.2%
Green29.8%
Blue83.5%

CMYK percentages

Cyan2.8%
Magenta64.3%
Yellow0.0%
Key (black)16.5%

Color previews

#cf4cd5 text on a black background

contrast 5.65:1

Card sample

#cf4cd5 text on a white background

contrast 3.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf4cd5

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.

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

#cf4cd5, answered

What color is #cf4cd5?

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

What is the RGB value of #cf4cd5?

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

Is #cf4cd5 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2324 and perceived brightness is 57%, so black text on it reaches 5.65:1.

Should I use black or white text on #cf4cd5?

Black. It scores 5.65:1 against #cf4cd5, versus 3.72:1 for white — AA at any size.

What is the complementary color of #cf4cd5?

#52D54C sits directly opposite on the wheel. Softer options are the split-complements #97D54C and #4CD58B, which give the same contrast with far less vibration.

What colors go well with #cf4cd5?

For interface work: #FAF4FA as the surface, #EBC0ED for borders, #974B9B for secondary text, #4AA923 as an accent and #641867 for hover and pressed states. For a palette, the analogous pair #8B4CD5 and #D54C97 stays calm, while #52D54C is the loudest partner.

What is #cf4cd5 in CMYK for printing?

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

Is #cf4cd5 warm or cool?

Neutral — it scores 51 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D54CA9; nudged cooler, #9D4AD7.

Work with #cf4cd5 in the Color Lab