Skip to content

#cf08bc

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

RGB
207, 8, 188
HSL
306°, 93%, 42%
CMYK
0, 96, 9, 19
Luminance
0.1707

At a glance

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

Hex
#cf08bc
Hue
306°
magenta / pink
Saturation
93%
electric
Lightness
42%
dark
Brightness
81%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1707
WCAG relative
Temperature
Neutral
47/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.76:1
Closest name
Medium Orchid
ΔE2000 8.9
Where it sits
Hue306° of 360°
Saturation93%
Lightness42%
Temperature
Warm ← → Cool47% 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#cf08bc
RGBrgb(207, 8, 188)
HSLhsl(306, 93%, 42%)
CMYKcmyk(0%, 96%, 9%, 19%)
LABlab(48.4 80.7 -42.3)
LCHlch(48.4 91.1 332.3)
OKLCHoklch(0.590 0.261 333.5)
Decimal13568188
Display P3color(display-p3 0.812 0.031 0.737)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf08bc on white: 4.76:1
AA ✓ pass · AA-large · AAA
Aa
#cf08bc on black: 4.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0062C0
deuteranopia · #607CB8
tritanopia · #D92E6F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cf08bc 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.

#FDF2FC
#FBE4F9
#F9C2F4
#FB93F1
#F95DEA
#F727E3
#EC09D6
#cf08bc
#9D068F
#710967
#470641
Base = 700Lightest = 50 · #FDF2FCDarkest = 950 · #470641
:root {
  --brand-50: #FDF2FC;
  --brand-100: #FBE4F9;
  --brand-200: #F9C2F4;
  --brand-300: #FB93F1;
  --brand-400: #F95DEA;
  --brand-500: #F727E3;
  --brand-600: #EC09D6;
  --brand-700: #cf08bc;
  --brand-800: #9D068F;
  --brand-900: #710967;
  --brand-950: #470641;
  --brand: #cf08bc;
  --brand-ink: #ffffff;
}

Colors that work with #cf08bc

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#EDC0E8
Hairlines and dividers
Muted text#9B4B93
Captions on the surface
Accent#22C804
Second voice, not a rival
Dark variant#7B0570
Hover, pressed, headers
Light variant#FEE6FC
Selected rows, tints
Dark surface#241423
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 #cf08bc

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

Works well for
  • Body text and links on white
  • 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#08CF1B
Analogous left#7F08CF
Analogous right#CF0859
Split-complement 1#59CF08
Split-complement 2#08CF7F
Triadic 1#BCCF08
Triadic 2#08BCCF
Tetradic#CF7F08

RGB percentages

Red81.2%
Green3.1%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta96.1%
Yellow9.2%
Key (black)18.8%

Color previews

#cf08bc text on a black background

contrast 4.41:1

Card sample

#cf08bc text on a white background

contrast 4.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf08bc

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.

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

#cf08bc, answered

What color is #cf08bc?

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

What is the RGB value of #cf08bc?

rgb(207, 8, 188) — 207 red, 8 green and 188 blue out of 255, or 81.2% / 3.1% / 73.7% by channel.

Is #cf08bc a light or a dark color?

It is a dark color. Relative luminance is 0.1707 and perceived brightness is 51%, so white text on it reaches 4.76:1.

Should I use black or white text on #cf08bc?

White. It scores 4.76:1 against #cf08bc, versus 4.41:1 for black — AA at any size.

What is the complementary color of #cf08bc?

#08CF1B sits directly opposite on the wheel. Softer options are the split-complements #59CF08 and #08CF7F, which give the same contrast with far less vibration.

What colors go well with #cf08bc?

For interface work: #FAF4FA as the surface, #EDC0E8 for borders, #9B4B93 for secondary text, #22C804 as an accent and #7B0570 for hover and pressed states. For a palette, the analogous pair #7F08CF and #CF0859 stays calm, while #08CF1B is the loudest partner.

What is #cf08bc in CMYK for printing?

cmyk(0%, 96%, 9%, 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 #cf08bc warm or cool?

Neutral — it scores 47 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF0873; nudged cooler, #9A06D1.

Work with #cf08bc in the Color Lab