Skip to content

#ff0db2

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

RGB
255, 13, 178
HSL
319°, 100%, 53%
CMYK
0, 95, 30, 0
Luminance
0.2476

Every format

HEX#ff0db2
RGBrgb(255, 13, 178)
HSLhsl(319, 100%, 53%)
CMYKcmyk(0%, 95%, 30%, 0%)
LABlab(56.9 88.1 -22.6)
LCHlch(56.9 90.9 345.6)
OKLCHoklch(0.665 0.276 347.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ff0db2 on white: 3.53:1
AA ✗ fail · AA-large · AAA
Aa
#ff0db2 on black: 5.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green5.1%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta94.9%
Yellow30.2%
Key (black)0.0%

Color previews

#ff0db2 text on a black background

contrast 5.95:1

Card sample

#ff0db2 text on a white background

contrast 3.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ff0db2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ff0db2 in the Color Lab