Skip to content

#cf0ed2

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

RGB
207, 14, 210
HSL
299°, 88%, 44%
CMYK
1, 93, 0, 18
Luminance
0.1823

At a glance

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

Hex
#cf0ed2
Hue
299°
magenta / pink
Saturation
88%
electric
Lightness
44%
dark
Brightness
82%
HSV value
Perceived
53%
weighted brightness
Luminance
0.1823
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.65:1
Closest name
Medium Orchid
ΔE2000 7.1
Where it sits
Hue299° of 360°
Saturation88%
Lightness44%
Temperature
Warm ← → Cool50% 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#cf0ed2
RGBrgb(207, 14, 210)
HSLhsl(299, 88%, 44%)
CMYKcmyk(1%, 93%, 0%, 18%)
LABlab(49.8 83.3 -52.8)
LCHlch(49.8 98.6 327.6)
OKLCHoklch(0.604 0.274 327.5)
Decimal13569746
Display P3color(display-p3 0.812 0.055 0.824)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf0ed2 on white: 4.52:1
AA ✓ pass · AA-large · AAA
Aa
#cf0ed2 on black: 4.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0068D6
deuteranopia · #537ECE
tritanopia · #D53F7C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cf0ed2 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
#FAE5FA
#F7C4F8
#F796F8
#F261F4
#EE2DF1
#E20FE5
#cf0ed2
#970A99
#6D0C6E
#440745
Base = 700Lightest = 50 · #FDF2FDDarkest = 950 · #440745
:root {
  --brand-50: #FDF2FD;
  --brand-100: #FAE5FA;
  --brand-200: #F7C4F8;
  --brand-300: #F796F8;
  --brand-400: #F261F4;
  --brand-500: #EE2DF1;
  --brand-600: #E20FE5;
  --brand-700: #cf0ed2;
  --brand-800: #970A99;
  --brand-900: #6D0C6E;
  --brand-950: #440745;
  --brand: #cf0ed2;
  --brand-ink: #000000;
}

Colors that work with #cf0ed2

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#ECC0ED
Hairlines and dividers
Muted text#9A4B9B
Captions on the surface
Accent#3AC309
Second voice, not a rival
Dark variant#760878
Hover, pressed, headers
Light variant#FDE7FD
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 #cf0ed2

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#11D20E
Analogous left#6D0ED2
Analogous right#D20E73
Split-complement 1#73D20E
Split-complement 2#0ED26D
Triadic 1#D2CF0E
Triadic 2#0ED2CF
Tetradic#D26D0E

RGB percentages

Red81.2%
Green5.5%
Blue82.4%

CMYK percentages

Cyan1.4%
Magenta93.3%
Yellow0.0%
Key (black)17.6%

Color previews

#cf0ed2 text on a black background

contrast 4.65:1

Card sample

#cf0ed2 text on a white background

contrast 4.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf0ed2

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.

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

#cf0ed2, answered

What color is #cf0ed2?

#cf0ed2 is a dark electric magenta / pink, closest to Medium Orchid (ΔE2000 7.1). It sits at 299° on the hue wheel with 88% saturation and 44% lightness, which reads as neutral.

What is the RGB value of #cf0ed2?

rgb(207, 14, 210) — 207 red, 14 green and 210 blue out of 255, or 81.2% / 5.5% / 82.4% by channel.

Is #cf0ed2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1823 and perceived brightness is 53%, so black text on it reaches 4.65:1.

Should I use black or white text on #cf0ed2?

Black. It scores 4.65:1 against #cf0ed2, versus 4.52:1 for white — AA at any size.

What is the complementary color of #cf0ed2?

#11D20E sits directly opposite on the wheel. Softer options are the split-complements #73D20E and #0ED26D, which give the same contrast with far less vibration.

What colors go well with #cf0ed2?

For interface work: #FAF4FA as the surface, #ECC0ED for borders, #9A4B9B for secondary text, #3AC309 as an accent and #760878 for hover and pressed states. For a palette, the analogous pair #6D0ED2 and #D20E73 stays calm, while #11D20E is the loudest partner.

What is #cf0ed2 in CMYK for printing?

cmyk(1%, 93%, 0%, 18%). 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 #cf0ed2 warm or cool?

Neutral — it scores 50 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D20E8D; nudged cooler, #880CD4.

Work with #cf0ed2 in the Color Lab