#ff18b7
a balanced, electric magenta / pink · warm · closest name: orchid
RGB
255, 24, 183
HSL
319°, 100%, 55%
CMYK
0, 91, 28, 0
Luminance
0.2533
Every format
| HEX | #ff18b7 |
| RGB | rgb(255, 24, 183) |
| HSL | hsl(319, 100%, 55%) |
| CMYK | cmyk(0%, 91%, 28%, 0%) |
| LAB | lab(57.4 87.5 -24.6) |
| LCH | lch(57.4 91.0 344.3) |
| OKLCH | oklch(0.670 0.275 346.3) |
Copy-ready code
/* CSS */
color: #ff18b7;
background-color: #ff18b7;
/* Tailwind (arbitrary) */
class="text-[#ff18b7] bg-[#ff18b7]"
/* SCSS */
$brand: #ff18b7;
/* SwiftUI */
Color(red: 1.000, green: 0.094, blue: 0.718)
/* Android */
Color.parseColor("#ff18b7")Accessibility — WCAG contrast
Aa
#ff18b7 on white: 3.46:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#ff18b7 on black: 6.07:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red100.0%
Green9.4%
Blue71.8%
CMYK percentages
Cyan0.0%
Magenta90.6%
Yellow28.2%
Key (black)0.0%
Color previews
#ff18b7 text on a black background
contrast 6.07:1
Card sample
#ff18b7 text on a white background
contrast 3.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ff18b7;
Background color
Panel with #ff18b7 background
background-color: #ff18b7;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ff18b7;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(255, 24, 183, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 24, 183, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ff18b7; background: linear-gradient(135deg, #ff18b7, #FF181D);