Skip to content

#ff0f8f

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

RGB
255, 15, 143
HSL
328°, 100%, 53%
CMYK
0, 94, 44, 0
Luminance
0.2358

Every format

HEX#ff0f8f
RGBrgb(255, 15, 143)
HSLhsl(328, 100%, 53%)
CMYKcmyk(0%, 94%, 44%, 0%)
LABlab(55.7 84.7 -3.7)
LCHlch(55.7 84.8 357.5)
OKLCHoklch(0.652 0.262 358.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff0f8f on white: 3.67:1
AA ✗ fail · AA-large · AAA
Aa
#ff0f8f on black: 5.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green5.9%
Blue56.1%

CMYK percentages

Cyan0.0%
Magenta94.1%
Yellow43.9%
Key (black)0.0%

Color previews

#ff0f8f text on a black background

contrast 5.72:1

Card sample

#ff0f8f text on a white background

contrast 3.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 15, 143, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 15, 143, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff0f8f;
background: linear-gradient(135deg, #ff0f8f, #FF2F0F);

Monochromatic scale

Palettes built from #ff0f8f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff0f8f in the Color Lab