Skip to content

#cf0dcc

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

RGB
207, 13, 204
HSL
301°, 88%, 43%
CMYK
0, 94, 1, 19
Luminance
0.1791

At a glance

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

Hex
#cf0dcc
Hue
301°
magenta / pink
Saturation
88%
electric
Lightness
43%
dark
Brightness
81%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1791
WCAG relative
Temperature
Neutral
50/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.58:1
Closest name
Medium Orchid
ΔE2000 7.5
Where it sits
Hue301° of 360°
Saturation88%
Lightness43%
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#cf0dcc
RGBrgb(207, 13, 204)
HSLhsl(301, 88%, 43%)
CMYKcmyk(0%, 94%, 1%, 19%)
LABlab(49.4 82.5 -50.0)
LCHlch(49.4 96.4 328.8)
OKLCHoklch(0.600 0.270 329.1)
Decimal13569484
Display P3color(display-p3 0.812 0.051 0.800)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf0dcc on white: 4.58:1
AA ✓ pass · AA-large · AAA
Aa
#cf0dcc on black: 4.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0067D0
deuteranopia · #577DC8
tritanopia · #D63B78

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cf0dcc 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
#F8C4F7
#F895F7
#F561F3
#F22CEF
#E60EE3
#cf0dcc
#9A0A97
#6F0C6D
#450744
Base = 700Lightest = 50 · #FDF2FDDarkest = 950 · #450744
:root {
  --brand-50: #FDF2FD;
  --brand-100: #FAE5FA;
  --brand-200: #F8C4F7;
  --brand-300: #F895F7;
  --brand-400: #F561F3;
  --brand-500: #F22CEF;
  --brand-600: #E60EE3;
  --brand-700: #cf0dcc;
  --brand-800: #9A0A97;
  --brand-900: #6F0C6D;
  --brand-950: #450744;
  --brand: #cf0dcc;
  --brand-ink: #ffffff;
}

Colors that work with #cf0dcc

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#EDC0EC
Hairlines and dividers
Muted text#9B4B9A
Captions on the surface
Accent#34C408
Second voice, not a rival
Dark variant#780876
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 #cf0dcc

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#0DCF10
Analogous left#710DCF
Analogous right#CF0D6B
Split-complement 1#6BCF0D
Split-complement 2#0DCF71
Triadic 1#CCCF0D
Triadic 2#0DCCCF
Tetradic#CF710D

RGB percentages

Red81.2%
Green5.1%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta93.7%
Yellow1.4%
Key (black)18.8%

Color previews

#cf0dcc text on a black background

contrast 4.58:1

Card sample

#cf0dcc text on a white background

contrast 4.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf0dcc

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.

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

#cf0dcc, answered

What color is #cf0dcc?

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

What is the RGB value of #cf0dcc?

rgb(207, 13, 204) — 207 red, 13 green and 204 blue out of 255, or 81.2% / 5.1% / 80% by channel.

Is #cf0dcc a light or a dark color?

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

Should I use black or white text on #cf0dcc?

White. It scores 4.58:1 against #cf0dcc, versus 4.58:1 for black — AA at any size.

What is the complementary color of #cf0dcc?

#0DCF10 sits directly opposite on the wheel. Softer options are the split-complements #6BCF0D and #0DCF71, which give the same contrast with far less vibration.

What colors go well with #cf0dcc?

For interface work: #FAF4FA as the surface, #EDC0EC for borders, #9B4B9A for secondary text, #34C408 as an accent and #780876 for hover and pressed states. For a palette, the analogous pair #710DCF and #CF0D6B stays calm, while #0DCF10 is the loudest partner.

What is #cf0dcc in CMYK for printing?

cmyk(0%, 94%, 1%, 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 #cf0dcc 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 #CF0D85; nudged cooler, #8B0BD1.

Work with #cf0dcc in the Color Lab