HSL(345, 40%, 8%)
Very Dark Red — Red color
Adjust Color
Color Information
Color Name
Very Dark Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(345,40%,8%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(345, 40%, 8%) | color: hsl(345, 40%, 8%) | |
| HEX | #1D0C10 | color: #1D0C10 | |
| RGB | rgb(29, 12, 16) | color: rgb(29, 12, 16) | |
| CMYK | cmyk(0%, 59%, 45%, 89%) | — | |
| HSV | hsv(346, 59%, 11%) | — | |
| HWB | hwb(346 5% 89%) | color: hwb(346 5% 89%) | |
| OKLCH | oklch(0.1816 0.03 5.36) | color: oklch(0.1816 0.03 5.36) | |
| Lab | lab(5.07 8.11 0.74) | color: lab(5.07 8.11 0.74) | |
| LCH | lch(5.07 8.14 5.21) | color: lch(5.07 8.14 5.21) |
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)
#16150F — rgb(22, 21, 15)
Deuteranopia (Green-blind)
#17180F — rgb(23, 24, 15)
Tritanopia (Blue-blind)
#1C0E0E — rgb(28, 14, 14)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(345, 40%, 8%);
text
color: hsl(345, 40%, 8%);
border
border: 2px solid hsl(345, 40%, 8%);
gradient light
background: linear-gradient(to right, hsl(345, 40%, 28%), hsl(345, 40%, 8%));
gradient dark
background: linear-gradient(to right, hsl(345, 40%, 8%), hsl(345, 40%, 0%))
hex
background-color: #1D0C10;
tailwind
bg-[hsl(345,40%,8%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(345, 40%, 8%, 0.4);
css variable
--color-primary: hsl(345, 40%, 8%);
Related Colors
Use Cases for Very Dark Red
Frequently Asked Questions
What are all the color codes for HSL(345, 40%, 8%)?
HEX: #1D0C10 | RGB: rgb(29, 12, 16) | CMYK: 0%, 59%, 45%, 89% | HSV: 346°, 59%, 11%. Copy any format from the conversion table above.
What colors go well with #1D0C10?
The complementary color is HSL(165, 40%, 8%). For a triadic harmony, use hues 345°, 105°, and 225°. For analogous combinations, try hues 315° and 15°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(345, 40%, 8%) in CSS?
As HSL: color: hsl(345, 40%, 8%); — As HEX: color: #1D0C10; — As RGB: color: rgb(29, 12, 16); — Tailwind CSS: bg-[hsl(345,40%,8%)] — CSS variable: --color-primary: hsl(345, 40%, 8%);