HSL(27, 2%, 13%)
Very Dark Black — Black color
Adjust Color
Color Information
Color Name
Very Dark Black
Color Family
Black
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(27,2%,13%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(27, 2%, 13%) | color: hsl(27, 2%, 13%) | |
| HEX | #222120 | color: #222120 | |
| RGB | rgb(34, 33, 32) | color: rgb(34, 33, 32) | |
| CMYK | cmyk(0%, 3%, 6%, 87%) | — | |
| HSV | hsv(30, 6%, 13%) | — | |
| HWB | hwb(30 12% 87%) | color: hwb(30 12% 87%) | |
| OKLCH | oklch(0.2485 0.0024 67.72) | color: oklch(0.2485 0.0024 67.72) | |
| Lab | lab(12.81 0.23 0.84) | color: lab(12.81 0.23 0.84) | |
| LCH | lch(12.81 0.87 74.69) | color: lch(12.81 0.87 74.69) |
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)
#222220 — rgb(34, 34, 32)
Deuteranopia (Green-blind)
#222220 — rgb(34, 34, 32)
Tritanopia (Blue-blind)
#222020 — rgb(34, 32, 32)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(27, 2%, 13%);
text
color: hsl(27, 2%, 13%);
border
border: 2px solid hsl(27, 2%, 13%);
gradient light
background: linear-gradient(to right, hsl(27, 2%, 33%), hsl(27, 2%, 13%));
gradient dark
background: linear-gradient(to right, hsl(27, 2%, 13%), hsl(27, 2%, 0%))
hex
background-color: #222120;
tailwind
bg-[hsl(27,2%,13%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(27, 2%, 13%, 0.4);
css variable
--color-primary: hsl(27, 2%, 13%);
Related Colors
Use Cases for Very Dark Black
Frequently Asked Questions
What are all the color codes for HSL(27, 2%, 13%)?
HEX: #222120 | RGB: rgb(34, 33, 32) | CMYK: 0%, 3%, 6%, 87% | HSV: 30°, 6%, 13%. Copy any format from the conversion table above.
What colors go well with #222120?
The complementary color is HSL(207, 2%, 13%). For a triadic harmony, use hues 27°, 147°, and 267°. For analogous combinations, try hues 357° and 57°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(27, 2%, 13%) in CSS?
As HSL: color: hsl(27, 2%, 13%); — As HEX: color: #222120; — As RGB: color: rgb(34, 33, 32); — Tailwind CSS: bg-[hsl(27,2%,13%)] — CSS variable: --color-primary: hsl(27, 2%, 13%);