Skip to content

#cf1fcb

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

RGB
207, 31, 203
HSL
301°, 74%, 47%
CMYK
0, 85, 2, 19
Luminance
0.1856

At a glance

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

Hex
#cf1fcb
Hue
301°
magenta / pink
Saturation
74%
vivid
Lightness
47%
balanced
Brightness
81%
HSV value
Perceived
53%
weighted brightness
Luminance
0.1856
WCAG relative
Temperature
Neutral
49/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.71:1
Closest name
Medium Orchid
ΔE2000 6.7
Where it sits
Hue301° of 360°
Saturation74%
Lightness47%
Temperature
Warm ← → Cool49% 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#cf1fcb
RGBrgb(207, 31, 203)
HSLhsl(301, 74%, 47%)
CMYKcmyk(0%, 85%, 2%, 19%)
LABlab(50.2 79.9 -48.2)
LCHlch(50.2 93.3 328.9)
OKLCHoklch(0.606 0.262 329.3)
Decimal13574091
Display P3color(display-p3 0.812 0.122 0.796)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf1fcb on white: 4.46:1
AA ✗ fail · AA-large · AAA
Aa
#cf1fcb on black: 4.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0069CF
deuteranopia · #5B7FC7
tritanopia · #D6407A

Color scale — 50 to 950

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

#FCF3FC
#F9E7F8
#F3C8F2
#F09DEE
#E96DE6
#E23CDE
#cf1fcb
#B11BAE
#8E158B
#671465
#400C3F
Base = 600Lightest = 50 · #FCF3FCDarkest = 950 · #400C3F
:root {
  --brand-50: #FCF3FC;
  --brand-100: #F9E7F8;
  --brand-200: #F3C8F2;
  --brand-300: #F09DEE;
  --brand-400: #E96DE6;
  --brand-500: #E23CDE;
  --brand-600: #cf1fcb;
  --brand-700: #B11BAE;
  --brand-800: #8E158B;
  --brand-900: #671465;
  --brand-950: #400C3F;
  --brand: #cf1fcb;
  --brand-ink: #000000;
}

Colors that work with #cf1fcb

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#EDC0EC
Hairlines and dividers
Muted text#9B4B99
Captions on the surface
Accent#3AB616
Second voice, not a rival
Dark variant#6F116D
Hover, pressed, headers
Light variant#FCE9FB
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 #cf1fcb

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#1FCF23
Analogous left#7B1FCF
Analogous right#CF1F73
Split-complement 1#73CF1F
Split-complement 2#1FCF7B
Triadic 1#CBCF1F
Triadic 2#1FCBCF
Tetradic#CF7B1F

RGB percentages

Red81.2%
Green12.2%
Blue79.6%

CMYK percentages

Cyan0.0%
Magenta85.0%
Yellow1.9%
Key (black)18.8%

Color previews

#cf1fcb text on a black background

contrast 4.71:1

Card sample

#cf1fcb text on a white background

contrast 4.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf1fcb

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.

#cf1fcb 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

Converts to four-color process without much drama. Proof it anyway.

#cf1fcb, answered

What color is #cf1fcb?

#cf1fcb is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 6.7). It sits at 301° on the hue wheel with 74% saturation and 47% lightness, which reads as neutral.

What is the RGB value of #cf1fcb?

rgb(207, 31, 203) — 207 red, 31 green and 203 blue out of 255, or 81.2% / 12.2% / 79.6% by channel.

Is #cf1fcb a light or a dark color?

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

Should I use black or white text on #cf1fcb?

Black. It scores 4.71:1 against #cf1fcb, versus 4.46:1 for white — AA at any size.

What is the complementary color of #cf1fcb?

#1FCF23 sits directly opposite on the wheel. Softer options are the split-complements #73CF1F and #1FCF7B, which give the same contrast with far less vibration.

What colors go well with #cf1fcb?

For interface work: #FAF4FA as the surface, #EDC0EC for borders, #9B4B99 for secondary text, #3AB616 as an accent and #6F116D for hover and pressed states. For a palette, the analogous pair #7B1FCF and #CF1F73 stays calm, while #1FCF23 is the loudest partner.

What is #cf1fcb in CMYK for printing?

cmyk(0%, 85%, 2%, 19%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #cf1fcb warm or cool?

Neutral — it scores 49 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF1F8A; nudged cooler, #931DD1.

Work with #cf1fcb in the Color Lab