Skip to content

#c718df

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

RGB
199, 24, 223
HSL
293°, 81%, 48%
CMYK
11, 89, 0, 13
Luminance
0.1812

At a glance

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

Hex
#c718df
Hue
293°
magenta / pink
Saturation
81%
electric
Lightness
48%
balanced
Brightness
87%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1812
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
4.62:1
Closest name
Medium Orchid
ΔE2000 6.8
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#c718df
RGBrgb(199, 24, 223)
HSLhsl(293, 81%, 48%)
CMYKcmyk(11%, 89%, 0%, 13%)
LABlab(49.6 82.8 -60.5)
LCHlch(49.6 102.5 323.8)
OKLCHoklch(0.603 0.276 322.1)
Decimal13048031
Display P3color(display-p3 0.780 0.094 0.875)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#c718df on white: 4.54:1
AA ✓ pass · AA-large · AAA
Aa
#c718df on black: 4.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006BE4
deuteranopia · #3F7CDB
tritanopia · #C94C85

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c718df 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
#E99AF4
#DE67EF
#D434E9
#c718df
#A414B8
#841093
#60106B
#3C0A43
Base = 600Lightest = 50 · #FBF3FCDarkest = 950 · #3C0A43
:root {
  --brand-50: #FBF3FC;
  --brand-100: #F7E6F9;
  --brand-200: #F0C6F5;
  --brand-300: #E99AF4;
  --brand-400: #DE67EF;
  --brand-500: #D434E9;
  --brand-600: #c718df;
  --brand-700: #A414B8;
  --brand-800: #841093;
  --brand-900: #60106B;
  --brand-950: #3C0A43;
  --brand: #c718df;
  --brand-ink: #000000;
}

Colors that work with #c718df

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#E7C0ED
Hairlines and dividers
Muted text#914B9B
Captions on the surface
Accent#4FBC10
Second voice, not a rival
Dark variant#670C73
Hover, pressed, headers
Light variant#FAE8FD
Selected rows, tints
Dark surface#221424
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 #c718df

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

Works well for
  • 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
Use with care
  • 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#30DF18
Analogous left#6418DF
Analogous right#DF1893
Split-complement 1#93DF18
Split-complement 2#18DF64
Triadic 1#DFC718
Triadic 2#18DFC7
Tetradic#DF6418

RGB percentages

Red78.0%
Green9.4%
Blue87.5%

CMYK percentages

Cyan10.8%
Magenta89.2%
Yellow0.0%
Key (black)12.5%

Color previews

#c718df text on a black background

contrast 4.62:1

Card sample

#c718df text on a white background

contrast 4.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c718df

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.

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

#c718df, answered

What color is #c718df?

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

What is the RGB value of #c718df?

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

Is #c718df a light or a dark color?

It is a mid-tone. Relative luminance is 0.1812 and perceived brightness is 52%, so black text on it reaches 4.62:1.

Should I use black or white text on #c718df?

Black. It scores 4.62:1 against #c718df, versus 4.54:1 for white — AA at any size.

What is the complementary color of #c718df?

#30DF18 sits directly opposite on the wheel. Softer options are the split-complements #93DF18 and #18DF64, which give the same contrast with far less vibration.

What colors go well with #c718df?

For interface work: #FAF4FA as the surface, #E7C0ED for borders, #914B9B for secondary text, #4FBC10 as an accent and #670C73 for hover and pressed states. For a palette, the analogous pair #6418DF and #DF1893 stays calm, while #30DF18 is the loudest partner.

What is #c718df in CMYK for printing?

cmyk(11%, 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 #c718df 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 #DF18AE; nudged cooler, #7E15E1.

Work with #c718df in the Color Lab