HSL(12, 40%, 5%)
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(12,40%,5%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(12, 40%, 5%) | color: hsl(12, 40%, 5%) | |
| HEX | #120A08 | color: #120A08 | |
| RGB | rgb(18, 10, 8) | color: rgb(18, 10, 8) | |
| CMYK | cmyk(0%, 44%, 56%, 93%) | — | |
| HSV | hsv(12, 56%, 7%) | — | |
| HWB | hwb(12 3% 93%) | color: hwb(12 3% 93%) | |
| OKLCH | oklch(0.1552 0.015 35.48) | color: oklch(0.1552 0.015 35.48) | |
| Lab | lab(3.28 2.32 1.67) | color: lab(3.28 2.32 1.67) | |
| LCH | lch(3.28 2.86 35.75) | color: lch(3.28 2.86 35.75) |
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)
#0F0E08 — rgb(15, 14, 8)
Deuteranopia (Green-blind)
#0F1009 — rgb(15, 16, 9)
Tritanopia (Blue-blind)
#120909 — rgb(18, 9, 9)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(12, 40%, 5%);
text
color: hsl(12, 40%, 5%);
border
border: 2px solid hsl(12, 40%, 5%);
gradient light
background: linear-gradient(to right, hsl(12, 40%, 25%), hsl(12, 40%, 5%));
gradient dark
background: linear-gradient(to right, hsl(12, 40%, 5%), hsl(12, 40%, 0%))
hex
background-color: #120A08;
tailwind
bg-[hsl(12,40%,5%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(12, 40%, 5%, 0.4);
css variable
--color-primary: hsl(12, 40%, 5%);
Related Colors
Use Cases for Very Dark Red
Frequently Asked Questions
What are all the color codes for HSL(12, 40%, 5%)?
HEX: #120A08 | RGB: rgb(18, 10, 8) | CMYK: 0%, 44%, 56%, 93% | HSV: 12°, 56%, 7%. Copy any format from the conversion table above.
What colors go well with #120A08?
The complementary color is HSL(192, 40%, 5%). For a triadic harmony, use hues 12°, 132°, and 252°. For analogous combinations, try hues 342° and 42°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(12, 40%, 5%) in CSS?
As HSL: color: hsl(12, 40%, 5%); — As HEX: color: #120A08; — As RGB: color: rgb(18, 10, 8); — Tailwind CSS: bg-[hsl(12,40%,5%)] — CSS variable: --color-primary: hsl(12, 40%, 5%);