HSL(9, 12%, 12%)
Very Dark Red — Red color
Adjust Color
Color Information
Color Name
Very Dark Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(9,12%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(9, 12%, 12%) | color: hsl(9, 12%, 12%) | |
| HEX | #221C1B | color: #221C1B | |
| RGB | rgb(34, 28, 27) | color: rgb(34, 28, 27) | |
| CMYK | cmyk(0%, 18%, 21%, 87%) | — | |
| HSV | hsv(9, 21%, 13%) | — | |
| HWB | hwb(9 10% 87%) | color: hwb(9 10% 87%) | |
| OKLCH | oklch(0.2331 0.0096 29.03) | color: oklch(0.2331 0.0096 29.03) | |
| Lab | lab(10.92 2.7 1.77) | color: lab(10.92 2.7 1.77) | |
| LCH | lch(10.92 3.23 33.25) | color: lch(10.92 3.23 33.25) |
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)
#1F1F1B — rgb(31, 31, 27)
Deuteranopia (Green-blind)
#20201B — rgb(32, 32, 27)
Tritanopia (Blue-blind)
#221B1B — rgb(34, 27, 27)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(9, 12%, 12%);
text
color: hsl(9, 12%, 12%);
border
border: 2px solid hsl(9, 12%, 12%);
gradient light
background: linear-gradient(to right, hsl(9, 12%, 32%), hsl(9, 12%, 12%));
gradient dark
background: linear-gradient(to right, hsl(9, 12%, 12%), hsl(9, 12%, 0%))
hex
background-color: #221C1B;
tailwind
bg-[hsl(9,12%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(9, 12%, 12%, 0.4);
css variable
--color-primary: hsl(9, 12%, 12%);
Related Colors
Use Cases for Very Dark Red
Frequently Asked Questions
What are all the color codes for HSL(9, 12%, 12%)?
HEX: #221C1B | RGB: rgb(34, 28, 27) | CMYK: 0%, 18%, 21%, 87% | HSV: 9°, 21%, 13%. Copy any format from the conversion table above.
What colors go well with #221C1B?
The complementary color is HSL(189, 12%, 12%). For a triadic harmony, use hues 9°, 129°, and 249°. For analogous combinations, try hues 339° and 39°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(9, 12%, 12%) in CSS?
As HSL: color: hsl(9, 12%, 12%); — As HEX: color: #221C1B; — As RGB: color: rgb(34, 28, 27); — Tailwind CSS: bg-[hsl(9,12%,12%)] — CSS variable: --color-primary: hsl(9, 12%, 12%);