HSL(5, 45%, 7%)
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(5,45%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(5, 45%, 7%) | color: hsl(5, 45%, 7%) | |
| HEX | #1A0B0A | color: #1A0B0A | |
| RGB | rgb(26, 11, 10) | color: rgb(26, 11, 10) | |
| CMYK | cmyk(0%, 58%, 62%, 90%) | — | |
| HSV | hsv(4, 62%, 10%) | — | |
| HWB | hwb(4 4% 90%) | color: hwb(4 4% 90%) | |
| OKLCH | oklch(0.1719 0.0265 24.27) | color: oklch(0.1719 0.0265 24.27) | |
| Lab | lab(4.34 5.87 2.51) | color: lab(4.34 5.87 2.51) | |
| LCH | lch(4.34 6.38 23.15) | color: lch(4.34 6.38 23.15) |
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)
#14130A — rgb(20, 19, 10)
Deuteranopia (Green-blind)
#14160A — rgb(20, 22, 10)
Tritanopia (Blue-blind)
#190A0A — rgb(25, 10, 10)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(5, 45%, 7%);
text
color: hsl(5, 45%, 7%);
border
border: 2px solid hsl(5, 45%, 7%);
gradient light
background: linear-gradient(to right, hsl(5, 45%, 27%), hsl(5, 45%, 7%));
gradient dark
background: linear-gradient(to right, hsl(5, 45%, 7%), hsl(5, 45%, 0%))
hex
background-color: #1A0B0A;
tailwind
bg-[hsl(5,45%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(5, 45%, 7%, 0.4);
css variable
--color-primary: hsl(5, 45%, 7%);
Related Colors
Use Cases for Very Dark Red
Frequently Asked Questions
What are all the color codes for HSL(5, 45%, 7%)?
HEX: #1A0B0A | RGB: rgb(26, 11, 10) | CMYK: 0%, 58%, 62%, 90% | HSV: 4°, 62%, 10%. Copy any format from the conversion table above.
What colors go well with #1A0B0A?
The complementary color is HSL(185, 45%, 7%). For a triadic harmony, use hues 5°, 125°, and 245°. For analogous combinations, try hues 335° and 35°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(5, 45%, 7%) in CSS?
As HSL: color: hsl(5, 45%, 7%); — As HEX: color: #1A0B0A; — As RGB: color: rgb(26, 11, 10); — Tailwind CSS: bg-[hsl(5,45%,7%)] — CSS variable: --color-primary: hsl(5, 45%, 7%);