#cf1fbc
a balanced, vivid magenta / pink · neutral · closest name: Medium Orchid
At a glance
Every number on this page in one read: what #cf1fbc is made of, how bright it looks, and which way it leans.
Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #cf1fbc |
| RGB | rgb(207, 31, 188) |
| HSL | hsl(307, 74%, 47%) |
| CMYK | cmyk(0%, 85%, 9%, 19%) |
| LAB | lab(49.4 77.7 -40.8) |
| LCH | lch(49.4 87.8 332.3) |
| OKLCH | oklch(0.597 0.252 333.6) |
| Decimal | 13574076 |
| Display P3 | color(display-p3 0.812 0.122 0.737) |
Copy-ready code
/* CSS */
color: #cf1fbc;
background-color: #cf1fbc;
/* Tailwind (arbitrary) */
class="text-[#cf1fbc] bg-[#cf1fbc]"
/* SCSS */
$brand: #cf1fbc;
/* SwiftUI */
Color(red: 0.812, green: 0.122, blue: 0.737)
/* Android */
Color.parseColor("#cf1fbc")
/* Flutter */
Color(0xFFCF1FBC)
/* Python / OpenCV (BGR) */
(188, 31, 207)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #cf1fbc 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.
:root {
--brand-50: #FCF3FB;
--brand-100: #F9E7F7;
--brand-200: #F3C8EF;
--brand-300: #F09DE7;
--brand-400: #E96DDC;
--brand-500: #E23CD0;
--brand-600: #cf1fbc;
--brand-700: #B11BA1;
--brand-800: #8E1581;
--brand-900: #67145E;
--brand-950: #400C3B;
--brand: #cf1fbc;
--brand-ink: #ffffff;
}Colors that work with #cf1fbc
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #cf1fbc
Derived from its contrast, chroma and lightness — not from taste.
- ✓Body text and links 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
- ⚠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 | #1FCF32 | Directly opposite — maximum tension | |
| Analogous left | #8A1FCF | Neighbour, quieter | |
| Analogous right | #CF1F64 | Neighbour, quieter | |
| Split-complement 1 | #64CF1F | Contrast without the clash | |
| Split-complement 2 | #1FCF8A | Contrast without the clash | |
| Triadic 1 | #BCCF1F | Even thirds — balanced and loud | |
| Triadic 2 | #1FBCCF | Even thirds — balanced and loud | |
| Tetradic | #CF8A1F | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#cf1fbc text on a black background
contrast 4.58:1
#cf1fbc text on a white background
contrast 4.59:1
CSS3 live lab
The quick brown fox
color: #cf1fbc;
background-color: #cf1fbc;
Glowing headline
text-shadow: 2px 2px 8px #cf1fbc;
Soft neon halo
text-shadow: 0 0 14px rgba(207, 31, 188, 0.45);
box-shadow: 0 12px 32px -8px rgba(207, 31, 188, 0.45);
border: 3px solid #cf1fbc; background: linear-gradient(135deg, #cf1fbc, #CF1F47);
Monochromatic scale
Palettes built from #cf1fbc
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.
Closest color with a full write-up: Mulberry (#c54b8c) — ΔE2000 11 away, with its history, psychology and brand usage.
#cf1fbc in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#cf1fbc, answered
What color is #cf1fbc?
#cf1fbc is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 8.1). It sits at 307° on the hue wheel with 74% saturation and 47% lightness, which reads as neutral.
What is the RGB value of #cf1fbc?
rgb(207, 31, 188) — 207 red, 31 green and 188 blue out of 255, or 81.2% / 12.2% / 73.7% by channel.
Is #cf1fbc a light or a dark color?
It is a dark color. Relative luminance is 0.1788 and perceived brightness is 52%, so white text on it reaches 4.59:1.
Should I use black or white text on #cf1fbc?
White. It scores 4.59:1 against #cf1fbc, versus 4.58:1 for black — AA at any size.
What is the complementary color of #cf1fbc?
#1FCF32 sits directly opposite on the wheel. Softer options are the split-complements #64CF1F and #1FCF8A, which give the same contrast with far less vibration.
What colors go well with #cf1fbc?
For interface work: #FAF4FA as the surface, #EDC0E8 for borders, #9B4B92 for secondary text, #2DB616 as an accent and #6F1165 for hover and pressed states. For a palette, the analogous pair #8A1FCF and #CF1F64 stays calm, while #1FCF32 is the loudest partner.
What is #cf1fbc in CMYK for printing?
cmyk(0%, 85%, 9%, 19%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #cf1fbc warm or cool?
Neutral — it scores 46 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF1F7B; nudged cooler, #A31DD1.