Skip to content

#c418cf

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

RGB
196, 24, 207
HSL
296°, 79%, 45%
CMYK
5, 88, 0, 19
Luminance
0.1689

At a glance

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

Hex
#c418cf
Hue
296°
magenta / pink
Saturation
79%
electric
Lightness
45%
balanced
Brightness
81%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1689
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
4.80:1
Closest name
Dark Orchid
ΔE2000 7.4
Where it sits
Hue296° of 360°
Saturation79%
Lightness45%
Temperature
Warm ← → Cool52% 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#c418cf
RGBrgb(196, 24, 207)
HSLhsl(296, 79%, 45%)
CMYKcmyk(5%, 88%, 0%, 19%)
LABlab(48.1 79.7 -53.8)
LCHlch(48.1 96.2 326.0)
OKLCHoklch(0.588 0.264 325.3)
Decimal12851407
Display P3color(display-p3 0.769 0.094 0.812)

Copy-ready code

/* CSS */
color: #c418cf;
background-color: #c418cf;
/* Tailwind (arbitrary) */
class="text-[#c418cf] bg-[#c418cf]"
/* SCSS */
$brand: #c418cf;
/* SwiftUI */
Color(red: 0.769, green: 0.094, blue: 0.812)
/* Android */
Color.parseColor("#c418cf")
/* Flutter */
Color(0xFFC418CF)
/* Python / OpenCV (BGR) */
(207, 24, 196)

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

Accessibility — WCAG contrast

Aa
#c418cf on white: 4.80:1
AA ✓ pass · AA-large · AAA
Aa
#c418cf on black: 4.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0066D3
deuteranopia · #4A79CB
tritanopia · #C8447B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c418cf 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
#F8E6F9
#F2C7F5
#EE9AF3
#E568ED
#DD36E8
#c418cf
#AD15B7
#8A1192
#64116A
#3F0A42
Base = 600Lightest = 50 · #FCF3FCDarkest = 950 · #3F0A42
:root {
  --brand-50: #FCF3FC;
  --brand-100: #F8E6F9;
  --brand-200: #F2C7F5;
  --brand-300: #EE9AF3;
  --brand-400: #E568ED;
  --brand-500: #DD36E8;
  --brand-600: #c418cf;
  --brand-700: #AD15B7;
  --brand-800: #8A1192;
  --brand-900: #64116A;
  --brand-950: #3F0A42;
  --brand: #c418cf;
  --brand-ink: #ffffff;
}

Colors that work with #c418cf

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAF4FA
Tinted page background
Border#EAC0ED
Hairlines and dividers
Muted text#964B9B
Captions on the surface
Accent#46BB11
Second voice, not a rival
Dark variant#6C0D72
Hover, pressed, headers
Light variant#FBE8FC
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 #c418cf

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

Works well for
  • Body text and links on white
  • 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#23CF18
Analogous left#6918CF
Analogous right#CF187E
Split-complement 1#7ECF18
Split-complement 2#18CF69
Triadic 1#CFC418
Triadic 2#18CFC4
Tetradic#CF6918

RGB percentages

Red76.9%
Green9.4%
Blue81.2%

CMYK percentages

Cyan5.3%
Magenta88.4%
Yellow0.0%
Key (black)18.8%

Color previews

#c418cf text on a black background

contrast 4.38:1

Card sample

#c418cf text on a white background

contrast 4.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c418cf

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.

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

#c418cf, answered

What color is #c418cf?

#c418cf is a balanced electric magenta / pink, closest to Dark Orchid (ΔE2000 7.4). It sits at 296° on the hue wheel with 79% saturation and 45% lightness, which reads as neutral.

What is the RGB value of #c418cf?

rgb(196, 24, 207) — 196 red, 24 green and 207 blue out of 255, or 76.9% / 9.4% / 81.2% by channel.

Is #c418cf a light or a dark color?

It is a dark color. Relative luminance is 0.1689 and perceived brightness is 51%, so white text on it reaches 4.80:1.

Should I use black or white text on #c418cf?

White. It scores 4.80:1 against #c418cf, versus 4.38:1 for black — AA at any size.

What is the complementary color of #c418cf?

#23CF18 sits directly opposite on the wheel. Softer options are the split-complements #7ECF18 and #18CF69, which give the same contrast with far less vibration.

What colors go well with #c418cf?

For interface work: #FAF4FA as the surface, #EAC0ED for borders, #964B9B for secondary text, #46BB11 as an accent and #6C0D72 for hover and pressed states. For a palette, the analogous pair #6918CF and #CF187E stays calm, while #23CF18 is the loudest partner.

What is #c418cf in CMYK for printing?

cmyk(5%, 88%, 0%, 19%). 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 #c418cf warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF1897; nudged cooler, #8116D1.

Work with #c418cf in the Color Lab