Skip to content

#d45fdf

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

RGB
212, 95, 223
HSL
295°, 67%, 62%
CMYK
5, 57, 0, 13
Luminance
0.2751

Every format

HEX#d45fdf
RGBrgb(212, 95, 223)
HSLhsl(295, 67%, 62%)
CMYKcmyk(5%, 57%, 0%, 13%)
LABlab(59.4 63.2 -44.8)
LCHlch(59.4 77.5 324.7)
OKLCHoklch(0.677 0.212 324.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d45fdf on white: 3.23:1
AA ✗ fail · AA-large · AAA
Aa
#d45fdf on black: 6.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green37.3%
Blue87.5%

CMYK percentages

Cyan4.9%
Magenta57.4%
Yellow0.0%
Key (black)12.5%

Color previews

#d45fdf text on a black background

contrast 6.50:1

Card sample

#d45fdf text on a white background

contrast 3.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d45fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d45fdf in the Color Lab