Skip to content

#c918df

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

RGB
201, 24, 223
HSL
293°, 81%, 48%
CMYK
10, 89, 0, 13
Luminance
0.1840

At a glance

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

Hex
#c918df
Hue
293°
magenta / pink
Saturation
81%
electric
Lightness
48%
balanced
Brightness
87%
HSV value
Perceived
53%
weighted brightness
Luminance
0.1840
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.68:1
Closest name
Medium Orchid
ΔE2000 6.7
Where it sits
Hue293° of 360°
Saturation81%
Lightness48%
Temperature
Warm ← → Cool54% 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#c918df
RGBrgb(201, 24, 223)
HSLhsl(293, 81%, 48%)
CMYKcmyk(10%, 89%, 0%, 13%)
LABlab(50.0 83.1 -60.0)
LCHlch(50.0 102.5 324.2)
OKLCHoklch(0.606 0.277 322.6)
Decimal13179103
Display P3color(display-p3 0.788 0.094 0.875)

Copy-ready code

/* CSS */
color: #c918df;
background-color: #c918df;
/* Tailwind (arbitrary) */
class="text-[#c918df] bg-[#c918df]"
/* SCSS */
$brand: #c918df;
/* SwiftUI */
Color(red: 0.788, green: 0.094, blue: 0.875)
/* Android */
Color.parseColor("#c918df")
/* Flutter */
Color(0xFFC918DF)
/* Python / OpenCV (BGR) */
(223, 24, 201)

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 #c918df · 4.68:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.49:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.68:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #c918df as text scores 4.49:1 on white and 4.68:1 on black.

Accessibility — WCAG contrast

Aa
#c918df on white: 4.49:1
AA ✗ fail · AA-large · AAA
Aa
#c918df on black: 4.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006BE4
deuteranopia · #427DDB
tritanopia · #CC4C85

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c918df 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
#F0C6F5
#EA9AF4
#E067EF
#D534E9
#c918df
#A614B8
#851093
#61106B
#3C0A43
Base = 600Lightest = 50 · #FBF3FCDarkest = 950 · #3C0A43
:root {
  --brand-50: #FBF3FC;
  --brand-100: #F7E6F9;
  --brand-200: #F0C6F5;
  --brand-300: #EA9AF4;
  --brand-400: #E067EF;
  --brand-500: #D534E9;
  --brand-600: #c918df;
  --brand-700: #A614B8;
  --brand-800: #851093;
  --brand-900: #61106B;
  --brand-950: #3C0A43;
  --brand: #c918df;
  --brand-ink: #000000;
}

Colors that work with #c918df

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#4EBC10
Second voice, not a rival
Dark variant#680C73
Hover, pressed, headers
Light variant#FAE8FD
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 #c918df

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#2EDF18
Analogous left#6618DF
Analogous right#DF1891
Split-complement 1#91DF18
Split-complement 2#18DF66
Triadic 1#DFC918
Triadic 2#18DFC9
Tetradic#DF6618

RGB percentages

Red78.8%
Green9.4%
Blue87.5%

CMYK percentages

Cyan9.9%
Magenta89.2%
Yellow0.0%
Key (black)12.5%

Color previews

#c918df text on a black background

contrast 4.68:1

Card sample

#c918df text on a white background

contrast 4.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(201, 24, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(201, 24, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c918df;
background: linear-gradient(135deg, #c918df, #DF1870);

Monochromatic scale

Palettes built from #c918df

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.

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

#c918df, answered

What color is #c918df?

#c918df is a balanced electric magenta / pink, closest to Medium Orchid (ΔE2000 6.7). It sits at 293° on the hue wheel with 81% saturation and 48% lightness, which reads as neutral.

What is the RGB value of #c918df?

rgb(201, 24, 223) — 201 red, 24 green and 223 blue out of 255, or 78.8% / 9.4% / 87.5% by channel.

Is #c918df a light or a dark color?

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

Should I use black or white text on #c918df?

Black. It scores 4.68:1 against #c918df, versus 4.49:1 for white — AA at any size.

What is the complementary color of #c918df?

#2EDF18 sits directly opposite on the wheel. Softer options are the split-complements #91DF18 and #18DF66, which give the same contrast with far less vibration.

What colors go well with #c918df?

For interface work: #FAF4FA as the surface, #E8C0ED for borders, #924B9B for secondary text, #4EBC10 as an accent and #680C73 for hover and pressed states. For a palette, the analogous pair #6618DF and #DF1891 stays calm, while #2EDF18 is the loudest partner.

What is #c918df in CMYK for printing?

cmyk(10%, 89%, 0%, 13%). 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 #c918df warm or cool?

Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF18AC; nudged cooler, #8015E1.

Work with #c918df in the Color Lab