Skip to content

#cf0fec

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

RGB
207, 15, 236
HSL
292°, 88%, 49%
CMYK
12, 94, 0, 8
Luminance
0.1966

At a glance

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

Hex
#cf0fec
Hue
292°
magenta / pink
Saturation
88%
electric
Lightness
49%
balanced
Brightness
93%
HSV value
Perceived
54%
weighted brightness
Luminance
0.1966
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.93:1
Closest name
Medium Orchid
ΔE2000 6.8
Where it sits
Hue292° of 360°
Saturation88%
Lightness49%
Temperature
Warm ← → Cool54% 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#cf0fec
RGBrgb(207, 15, 236)
HSLhsl(292, 88%, 49%)
CMYKcmyk(12%, 94%, 0%, 8%)
LABlab(51.5 87.2 -64.9)
LCHlch(51.5 108.7 323.3)
OKLCHoklch(0.621 0.291 321.2)
Decimal13570028
Display P3color(display-p3 0.812 0.059 0.925)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf0fec on white: 4.26:1
AA ✗ fail · AA-large · AAA
Aa
#cf0fec on black: 4.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006FF1
deuteranopia · #3A81E8
tritanopia · #D0508C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cf0fec 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
#F8E5FA
#F1C4F8
#EB96F8
#E161F5
#D82CF2
#cf0fec
#A80CC0
#860A99
#620C6F
#3D0745
Base = 600Lightest = 50 · #FBF2FDDarkest = 950 · #3D0745
:root {
  --brand-50: #FBF2FD;
  --brand-100: #F8E5FA;
  --brand-200: #F1C4F8;
  --brand-300: #EB96F8;
  --brand-400: #E161F5;
  --brand-500: #D82CF2;
  --brand-600: #cf0fec;
  --brand-700: #A80CC0;
  --brand-800: #860A99;
  --brand-900: #620C6F;
  --brand-950: #3D0745;
  --brand: #cf0fec;
  --brand-ink: #000000;
}

Colors that work with #cf0fec

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#E7C0ED
Hairlines and dividers
Muted text#904B9B
Captions on the surface
Accent#50C408
Second voice, not a rival
Dark variant#690878
Hover, pressed, headers
Light variant#FBE7FD
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 #cf0fec

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#2CEC0F
Analogous left#600FEC
Analogous right#EC0F9B
Split-complement 1#9BEC0F
Split-complement 2#0FEC60
Triadic 1#ECCF0F
Triadic 2#0FECCF
Tetradic#EC600F

RGB percentages

Red81.2%
Green5.9%
Blue92.5%

CMYK percentages

Cyan12.3%
Magenta93.6%
Yellow0.0%
Key (black)7.5%

Color previews

#cf0fec text on a black background

contrast 4.93:1

Card sample

#cf0fec text on a white background

contrast 4.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf0fec

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.

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

#cf0fec, answered

What color is #cf0fec?

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

What is the RGB value of #cf0fec?

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

Is #cf0fec a light or a dark color?

It is a mid-tone. Relative luminance is 0.1966 and perceived brightness is 54%, so black text on it reaches 4.93:1.

Should I use black or white text on #cf0fec?

Black. It scores 4.93:1 against #cf0fec, versus 4.26:1 for white — AA at any size.

What is the complementary color of #cf0fec?

#2CEC0F sits directly opposite on the wheel. Softer options are the split-complements #9BEC0F and #0FEC60, which give the same contrast with far less vibration.

What colors go well with #cf0fec?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #904B9B for secondary text, #50C408 as an accent and #690878 for hover and pressed states. For a palette, the analogous pair #600FEC and #EC0F9B stays calm, while #2CEC0F is the loudest partner.

What is #cf0fec in CMYK for printing?

cmyk(12%, 94%, 0%, 8%). 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 #cf0fec warm or cool?

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

Work with #cf0fec in the Color Lab