Skip to content

#cf1ce4

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

RGB
207, 28, 228
HSL
294°, 79%, 50%
CMYK
9, 88, 0, 11
Luminance
0.1970

At a glance

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

Hex
#cf1ce4
Hue
294°
magenta / pink
Saturation
79%
electric
Lightness
50%
balanced
Brightness
89%
HSV value
Perceived
54%
weighted brightness
Luminance
0.1970
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.94:1
Closest name
Medium Orchid
ΔE2000 6.2
Where it sits
Hue294° of 360°
Saturation79%
Lightness50%
Temperature
Warm ← → Cool53% 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#cf1ce4
RGBrgb(207, 28, 228)
HSLhsl(294, 79%, 50%)
CMYKcmyk(9%, 88%, 0%, 11%)
LABlab(51.5 84.2 -60.3)
LCHlch(51.5 103.6 324.4)
OKLCHoklch(0.620 0.281 323.0)
Decimal13573348
Display P3color(display-p3 0.812 0.110 0.894)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf1ce4 on white: 4.25:1
AA ✗ fail · AA-large · AAA
Aa
#cf1ce4 on black: 4.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006FE9
deuteranopia · #4781E0
tritanopia · #D24E88

Color scale — 50 to 950

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

#FBF3FC
#F7E6F9
#F0C7F5
#EA9BF3
#DF69ED
#D536E7
#cf1ce4
#A516B6
#841192
#60116A
#3C0B42
Base = 600Lightest = 50 · #FBF3FCDarkest = 950 · #3C0B42
:root {
  --brand-50: #FBF3FC;
  --brand-100: #F7E6F9;
  --brand-200: #F0C7F5;
  --brand-300: #EA9BF3;
  --brand-400: #DF69ED;
  --brand-500: #D536E7;
  --brand-600: #cf1ce4;
  --brand-700: #A516B6;
  --brand-800: #841192;
  --brand-900: #60116A;
  --brand-950: #3C0B42;
  --brand: #cf1ce4;
  --brand-ink: #000000;
}

Colors that work with #cf1ce4

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#E8C0ED
Hairlines and dividers
Muted text#924B9B
Captions on the surface
Accent#4EBA12
Second voice, not a rival
Dark variant#670E72
Hover, pressed, headers
Light variant#FAE8FC
Selected rows, tints
Dark surface#231424
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 #cf1ce4

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#31E41C
Analogous left#6B1CE4
Analogous right#E41C95
Split-complement 1#95E41C
Split-complement 2#1CE46B
Triadic 1#E4CF1C
Triadic 2#1CE4CF
Tetradic#E46B1C

RGB percentages

Red81.2%
Green11.0%
Blue89.4%

CMYK percentages

Cyan9.2%
Magenta87.7%
Yellow0.0%
Key (black)10.6%

Color previews

#cf1ce4 text on a black background

contrast 4.94:1

Card sample

#cf1ce4 text on a white background

contrast 4.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf1ce4

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.

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

#cf1ce4, answered

What color is #cf1ce4?

#cf1ce4 is a balanced electric magenta / pink, closest to Medium Orchid (ΔE2000 6.2). It sits at 294° on the hue wheel with 79% saturation and 50% lightness, which reads as neutral.

What is the RGB value of #cf1ce4?

rgb(207, 28, 228) — 207 red, 28 green and 228 blue out of 255, or 81.2% / 11% / 89.4% by channel.

Is #cf1ce4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1970 and perceived brightness is 54%, so black text on it reaches 4.94:1.

Should I use black or white text on #cf1ce4?

Black. It scores 4.94:1 against #cf1ce4, versus 4.25:1 for white — AA at any size.

What is the complementary color of #cf1ce4?

#31E41C sits directly opposite on the wheel. Softer options are the split-complements #95E41C and #1CE46B, which give the same contrast with far less vibration.

What colors go well with #cf1ce4?

For interface work: #FAF4FA as the surface, #E8C0ED for borders, #924B9B for secondary text, #4EBA12 as an accent and #670E72 for hover and pressed states. For a palette, the analogous pair #6B1CE4 and #E41C95 stays calm, while #31E41C is the loudest partner.

What is #cf1ce4 in CMYK for printing?

cmyk(9%, 88%, 0%, 11%). 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 #cf1ce4 warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E41CB0; nudged cooler, #861AE6.

Work with #cf1ce4 in the Color Lab