Skip to content

#c948df

a balanced, vivid magenta / pink · warm · closest name: orchid

RGB
201, 72, 223
HSL
291°, 70%, 58%
CMYK
10, 68, 0, 13
Luminance
0.2238

Every format

HEX#c948df
RGBrgb(201, 72, 223)
HSLhsl(291, 70%, 58%)
CMYKcmyk(10%, 68%, 0%, 13%)
LABlab(54.4 70.3 -52.8)
LCHlch(54.4 87.9 323.1)
OKLCHoklch(0.638 0.237 321.5)

Copy-ready code

/* CSS */
color: #c948df;
background-color: #c948df;
/* Tailwind (arbitrary) */
class="text-[#c948df] bg-[#c948df]"
/* SCSS */
$brand: #c948df;
/* SwiftUI */
Color(red: 0.788, green: 0.282, blue: 0.875)
/* Android */
Color.parseColor("#c948df")

Accessibility — WCAG contrast

Aa
#c948df on white: 3.83:1
AA ✗ fail · AA-large · AAA
Aa
#c948df on black: 5.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green28.2%
Blue87.5%

CMYK percentages

Cyan9.9%
Magenta67.7%
Yellow0.0%
Key (black)12.5%

Color previews

#c948df text on a black background

contrast 5.48:1

Card sample

#c948df text on a white background

contrast 3.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c948df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c948df in the Color Lab