#280c1c
a deep, vivid magenta / pink · warm · closest name: black
RGB
40, 12, 28
HSL
326°, 54%, 10%
CMYK
0, 70, 30, 84
Luminance
0.0080
Every format
| HEX | #280c1c |
| RGB | rgb(40, 12, 28) |
| HSL | hsl(326, 54%, 10%) |
| CMYK | cmyk(0%, 70%, 30%, 84%) |
| LAB | lab(7.2 16.9 -4.3) |
| LCH | lch(7.2 17.5 345.6) |
| OKLCH | oklch(0.207 0.052 347.3) |
Copy-ready code
/* CSS */
color: #280c1c;
background-color: #280c1c;
/* Tailwind (arbitrary) */
class="text-[#280c1c] bg-[#280c1c]"
/* SCSS */
$brand: #280c1c;
/* SwiftUI */
Color(red: 0.157, green: 0.047, blue: 0.110)
/* Android */
Color.parseColor("#280c1c")Accessibility — WCAG contrast
Aa
#280c1c on white: 18.11:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#280c1c on black: 1.16:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red15.7%
Green4.7%
Blue11.0%
CMYK percentages
Cyan0.0%
Magenta70.0%
Yellow30.0%
Key (black)84.3%
Color previews
#280c1c text on a black background
contrast 1.16:1
Card sample
#280c1c text on a white background
contrast 18.11:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #280c1c;
Background color
Panel with #280c1c background
background-color: #280c1c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #280c1c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(40, 12, 28, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 12, 28, 0.45);
Border & gradient
Gradient panel
border: 3px solid #280c1c; background: linear-gradient(135deg, #280c1c, #280F0C);