#cb106f
a dark, electric magenta / pink · warm · closest name: crimson
RGB
203, 16, 111
HSL
330°, 85%, 43%
CMYK
0, 92, 45, 20
Luminance
0.1421
Every format
| HEX | #cb106f |
| RGB | rgb(203, 16, 111) |
| HSL | hsl(330, 85%, 43%) |
| CMYK | cmyk(0%, 92%, 45%, 20%) |
| LAB | lab(44.5 70.5 -1.9) |
| LCH | lch(44.5 70.5 358.5) |
| OKLCH | oklch(0.551 0.217 358.9) |
Copy-ready code
/* CSS */
color: #cb106f;
background-color: #cb106f;
/* Tailwind (arbitrary) */
class="text-[#cb106f] bg-[#cb106f]"
/* SCSS */
$brand: #cb106f;
/* SwiftUI */
Color(red: 0.796, green: 0.063, blue: 0.435)
/* Android */
Color.parseColor("#cb106f")Accessibility — WCAG contrast
Aa
#cb106f on white: 5.46:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#cb106f on black: 3.84:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green6.3%
Blue43.5%
CMYK percentages
Cyan0.0%
Magenta92.1%
Yellow45.3%
Key (black)20.4%
Color previews
#cb106f text on a black background
contrast 3.84:1
Card sample
#cb106f text on a white background
contrast 5.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cb106f;
Background color
Panel with #cb106f background
background-color: #cb106f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cb106f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 16, 111, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 16, 111, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cb106f; background: linear-gradient(135deg, #cb106f, #CB2E10);