Skip to content

#cf0ff0

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

RGB
207, 15, 240
HSL
291°, 88%, 50%
CMYK
14, 94, 0, 6
Luminance
0.1990

At a glance

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

Hex
#cf0ff0
Hue
291°
magenta / pink
Saturation
88%
electric
Lightness
50%
balanced
Brightness
94%
HSV value
Perceived
55%
weighted brightness
Luminance
0.1990
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.98:1
Closest name
Medium Orchid
ΔE2000 7
Where it sits
Hue291° of 360°
Saturation88%
Lightness50%
Temperature
Warm ← → Cool55% 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#cf0ff0
RGBrgb(207, 15, 240)
HSLhsl(291, 88%, 50%)
CMYKcmyk(14%, 94%, 0%, 6%)
LABlab(51.7 87.8 -66.7)
LCHlch(51.7 110.3 322.8)
OKLCHoklch(0.624 0.294 320.3)
Decimal13570032
Display P3color(display-p3 0.812 0.059 0.941)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf0ff0 on white: 4.22:1
AA ✗ fail · AA-large · AAA
Aa
#cf0ff0 on black: 4.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0070F5
deuteranopia · #3481EC
tritanopia · #CF528E

Color scale — 50 to 950

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

#FBF2FD
#F7E5FA
#F0C4F8
#EA95F8
#DF61F5
#D52CF2
#cf0ff0
#A60CC0
#840A9A
#600C6F
#3C0745
Base = 600Lightest = 50 · #FBF2FDDarkest = 950 · #3C0745
:root {
  --brand-50: #FBF2FD;
  --brand-100: #F7E5FA;
  --brand-200: #F0C4F8;
  --brand-300: #EA95F8;
  --brand-400: #DF61F5;
  --brand-500: #D52CF2;
  --brand-600: #cf0ff0;
  --brand-700: #A60CC0;
  --brand-800: #840A9A;
  --brand-900: #600C6F;
  --brand-950: #3C0745;
  --brand: #cf0ff0;
  --brand-ink: #000000;
}

Colors that work with #cf0ff0

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#E6C0ED
Hairlines and dividers
Muted text#8F4B9B
Captions on the surface
Accent#52C408
Second voice, not a rival
Dark variant#670878
Hover, pressed, headers
Light variant#FAE7FD
Selected rows, tints
Dark surface#221424
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 #cf0ff0

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#30F00F
Analogous left#5F0FF0
Analogous right#F00FA0
Split-complement 1#A0F00F
Split-complement 2#0FF05F
Triadic 1#F0CF0F
Triadic 2#0FF0CF
Tetradic#F05F0F

RGB percentages

Red81.2%
Green5.9%
Blue94.1%

CMYK percentages

Cyan13.7%
Magenta93.8%
Yellow0.0%
Key (black)5.9%

Color previews

#cf0ff0 text on a black background

contrast 4.98:1

Card sample

#cf0ff0 text on a white background

contrast 4.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf0ff0

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.

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

#cf0ff0, answered

What color is #cf0ff0?

#cf0ff0 is a balanced electric magenta / pink, closest to Medium Orchid (ΔE2000 7). It sits at 291° on the hue wheel with 88% saturation and 50% lightness, which reads as neutral.

What is the RGB value of #cf0ff0?

rgb(207, 15, 240) — 207 red, 15 green and 240 blue out of 255, or 81.2% / 5.9% / 94.1% by channel.

Is #cf0ff0 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1990 and perceived brightness is 55%, so black text on it reaches 4.98:1.

Should I use black or white text on #cf0ff0?

Black. It scores 4.98:1 against #cf0ff0, versus 4.22:1 for white — AA at any size.

What is the complementary color of #cf0ff0?

#30F00F sits directly opposite on the wheel. Softer options are the split-complements #A0F00F and #0FF05F, which give the same contrast with far less vibration.

What colors go well with #cf0ff0?

For interface work: #FAF4FA as the surface, #E6C0ED for borders, #8F4B9B for secondary text, #52C408 as an accent and #670878 for hover and pressed states. For a palette, the analogous pair #5F0FF0 and #F00FA0 stays calm, while #30F00F is the loudest partner.

What is #cf0ff0 in CMYK for printing?

cmyk(14%, 94%, 0%, 6%). 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 #cf0ff0 warm or cool?

Neutral — it scores 55 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F00FBE; nudged cooler, #7C0CF3.

Work with #cf0ff0 in the Color Lab