#220C1B
≈ black · rgb(34, 12, 27)
Color formats
HEX#220C1B
RGBrgb(34, 12, 27)
HSLhsl(319, 48%, 9%)
HSVhsv(319, 65%, 13%)
OKLCHoklch(20% 0.04 341)
CMYKcmyk(0%, 65%, 21%, 87%)
Contrast & accessibility
On white18.48:1AA pass
On black1.14:1below AA
Best text color#FFFFFF
Nearest CSS name: black
Copy-ready code
CSS custom properties
:root {
--black: #220c1b;
--black-rgb: 34 12 27;
--black-oklch: oklch(20% 0.04 341);
}The space-separated triple lets you set alpha without a second variable:
background: rgb(var(--black-rgb) / 40%);
Tailwind (arbitrary value)
bg-[#220c1b] text-[#220c1b] border-[#220c1b]
Shades & tints
50
#E6DCE3
100
#D6BFCE
200
#B983A7
300
#984A7F
400
#60284E
500
#220C1B
600
#1E0B18
700
#1A0B15
800
#160A12
900
#130910
950
#11080E
Color harmonies
Complementary
#0C2213
Analogous −30°
#1E0C22
Analogous +30°
#220C10
Triadic +120°
#1B220C
Triadic −120°
#0C1B22
About this color
#220C1B is a color with the RGB value rgb(34, 12, 27). Its closest CSS named color is "black". On this page you'll find every format (HEX, RGB, HSL, HSV, OKLCH, CMYK), WCAG contrast against white and black, a full 50–950 shade scale, and complementary, analogous and triadic harmonies — each linking to its own color page.