Skip to content

#cf07c7

a dark, electric magenta / pink · neutral · closest name: Medium Orchid

RGB
207, 7, 199
HSL
302°, 94%, 42%
CMYK
0, 97, 4, 19
Luminance
0.1754

At a glance

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

Hex
#cf07c7
Hue
302°
magenta / pink
Saturation
94%
electric
Lightness
42%
dark
Brightness
81%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1754
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.66:1
Closest name
Medium Orchid
ΔE2000 8
Where it sits
Hue302° of 360°
Saturation94%
Lightness42%
Temperature
Warm ← → Cool49% 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#cf07c7
RGBrgb(207, 7, 199)
HSLhsl(302, 94%, 42%)
CMYKcmyk(0%, 97%, 4%, 19%)
LABlab(48.9 82.3 -47.8)
LCHlch(48.9 95.1 329.8)
OKLCHoklch(0.596 0.269 330.5)
Decimal13567943
Display P3color(display-p3 0.812 0.027 0.780)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf07c7 on white: 4.66:1
AA ✓ pass · AA-large · AAA
Aa
#cf07c7 on black: 4.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0065CB
deuteranopia · #597CC3
tritanopia · #D73675

Color scale — 50 to 950

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

#FDF2FD
#FBE4FA
#FAC2F7
#FB92F7
#FA5CF3
#F826EF
#ED08E4
#cf07c7
#9E0598
#72096E
#470545
Base = 700Lightest = 50 · #FDF2FDDarkest = 950 · #470545
:root {
  --brand-50: #FDF2FD;
  --brand-100: #FBE4FA;
  --brand-200: #FAC2F7;
  --brand-300: #FB92F7;
  --brand-400: #FA5CF3;
  --brand-500: #F826EF;
  --brand-600: #ED08E4;
  --brand-700: #cf07c7;
  --brand-800: #9E0598;
  --brand-900: #72096E;
  --brand-950: #470545;
  --brand: #cf07c7;
  --brand-ink: #ffffff;
}

Colors that work with #cf07c7

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF4FA
Tinted page background
Border#EDC0EB
Hairlines and dividers
Muted text#9B4B98
Captions on the surface
Accent#2CC903
Second voice, not a rival
Dark variant#7B0477
Hover, pressed, headers
Light variant#FEE6FD
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 #cf07c7

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

Works well for
  • Body text and links on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#07CF0F
Analogous left#7307CF
Analogous right#CF0763
Split-complement 1#63CF07
Split-complement 2#07CF73
Triadic 1#C7CF07
Triadic 2#07C7CF
Tetradic#CF7307

RGB percentages

Red81.2%
Green2.7%
Blue78.0%

CMYK percentages

Cyan0.0%
Magenta96.6%
Yellow3.9%
Key (black)18.8%

Color previews

#cf07c7 text on a black background

contrast 4.51:1

Card sample

#cf07c7 text on a white background

contrast 4.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf07c7

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.

#cf07c7 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#cf07c7, answered

What color is #cf07c7?

#cf07c7 is a dark electric magenta / pink, closest to Medium Orchid (ΔE2000 8). It sits at 302° on the hue wheel with 94% saturation and 42% lightness, which reads as neutral.

What is the RGB value of #cf07c7?

rgb(207, 7, 199) — 207 red, 7 green and 199 blue out of 255, or 81.2% / 2.7% / 78% by channel.

Is #cf07c7 a light or a dark color?

It is a dark color. Relative luminance is 0.1754 and perceived brightness is 52%, so white text on it reaches 4.66:1.

Should I use black or white text on #cf07c7?

White. It scores 4.66:1 against #cf07c7, versus 4.51:1 for black — AA at any size.

What is the complementary color of #cf07c7?

#07CF0F sits directly opposite on the wheel. Softer options are the split-complements #63CF07 and #07CF73, which give the same contrast with far less vibration.

What colors go well with #cf07c7?

For interface work: #FAF4FA as the surface, #EDC0EB for borders, #9B4B98 for secondary text, #2CC903 as an accent and #7B0477 for hover and pressed states. For a palette, the analogous pair #7307CF and #CF0763 stays calm, while #07CF0F is the loudest partner.

What is #cf07c7 in CMYK for printing?

cmyk(0%, 97%, 4%, 19%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #cf07c7 warm or cool?

Neutral — it scores 49 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF077E; nudged cooler, #8F05D1.

Work with #cf07c7 in the Color Lab