Skip to content

#fd0c7f

a balanced, electric magenta / pink · warm · closest name: crimson

RGB
253, 12, 127
HSL
331°, 98%, 52%
CMYK
0, 95, 50, 1
Luminance
0.2268

Every format

HEX#fd0c7f
RGBrgb(253, 12, 127)
HSLhsl(331, 98%, 52%)
CMYKcmyk(0%, 95%, 50%, 1%)
LABlab(54.8 83.2 4.4)
LCHlch(54.8 83.4 3.0)
OKLCHoklch(0.643 0.256 2.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fd0c7f on white: 3.79:1
AA ✗ fail · AA-large · AAA
Aa
#fd0c7f on black: 5.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green4.7%
Blue49.8%

CMYK percentages

Cyan0.0%
Magenta95.3%
Yellow49.8%
Key (black)0.8%

Color previews

#fd0c7f text on a black background

contrast 5.54:1

Card sample

#fd0c7f text on a white background

contrast 3.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 12, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 12, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fd0c7f;
background: linear-gradient(135deg, #fd0c7f, #FD3A0C);

Monochromatic scale

Palettes built from #fd0c7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fd0c7f in the Color Lab