HSL(221, 5%, 9%)
Very Dark Black — Black color
Adjust Color
Color Information
Color Name
Very Dark Black
Color Family
Black
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(221,5%,9%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(221, 5%, 9%) | color: hsl(221, 5%, 9%) | |
| HEX | #161718 | color: #161718 | |
| RGB | rgb(22, 23, 24) | color: rgb(22, 23, 24) | |
| CMYK | cmyk(8%, 4%, 0%, 91%) | — | |
| HSV | hsv(210, 8%, 9%) | — | |
| HWB | hwb(210 8% 91%) | color: hwb(210 8% 91%) | |
| OKLCH | oklch(0.2039 0.0025 247.95) | color: oklch(0.2039 0.0025 247.95) | |
| Lab | lab(7.67 -0.21 -0.87) | color: lab(7.67 -0.21 -0.87) | |
| LCH | lch(7.67 0.89 256.43) | color: lch(7.67 0.89 256.43) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#161618 — rgb(22, 22, 24)
Deuteranopia (Green-blind)
#161618 — rgb(22, 22, 24)
Tritanopia (Blue-blind)
#161818 — rgb(22, 24, 24)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(221, 5%, 9%);
text
color: hsl(221, 5%, 9%);
border
border: 2px solid hsl(221, 5%, 9%);
gradient light
background: linear-gradient(to right, hsl(221, 5%, 29%), hsl(221, 5%, 9%));
gradient dark
background: linear-gradient(to right, hsl(221, 5%, 9%), hsl(221, 5%, 0%))
hex
background-color: #161718;
tailwind
bg-[hsl(221,5%,9%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(221, 5%, 9%, 0.4);
css variable
--color-primary: hsl(221, 5%, 9%);
Related Colors
Use Cases for Very Dark Black
Frequently Asked Questions
What are all the color codes for HSL(221, 5%, 9%)?
HEX: #161718 | RGB: rgb(22, 23, 24) | CMYK: 8%, 4%, 0%, 91% | HSV: 210°, 8%, 9%. Copy any format from the conversion table above.
What colors go well with #161718?
The complementary color is HSL(41, 5%, 9%). For a triadic harmony, use hues 221°, 341°, and 101°. For analogous combinations, try hues 191° and 251°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(221, 5%, 9%) in CSS?
As HSL: color: hsl(221, 5%, 9%); — As HEX: color: #161718; — As RGB: color: rgb(22, 23, 24); — Tailwind CSS: bg-[hsl(221,5%,9%)] — CSS variable: --color-primary: hsl(221, 5%, 9%);