HSL(10, 40%, 12%)
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(10,40%,12%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(10, 40%, 12%) | color: hsl(10, 40%, 12%) | |
| HEX | #2B1612 | color: #2B1612 | |
| RGB | rgb(43, 22, 18) | color: rgb(43, 22, 18) | |
| CMYK | cmyk(0%, 49%, 58%, 83%) | — | |
| HSV | hsv(10, 58%, 17%) | — | |
| HWB | hwb(10 7% 83%) | color: hwb(10 7% 83%) | |
| OKLCH | oklch(0.2283 0.0354 31.55) | color: oklch(0.2283 0.0354 31.55) | |
| Lab | lab(10.04 10.1 7.05) | color: lab(10.04 10.1 7.05) | |
| LCH | lch(10.04 12.32 34.92) | color: lch(10.04 12.32 34.92) |
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)
#222213 — rgb(34, 34, 19)
Deuteranopia (Green-blind)
#232513 — rgb(35, 37, 19)
Tritanopia (Blue-blind)
#2A1414 — rgb(42, 20, 20)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(10, 40%, 12%);
text
color: hsl(10, 40%, 12%);
border
border: 2px solid hsl(10, 40%, 12%);
gradient light
background: linear-gradient(to right, hsl(10, 40%, 32%), hsl(10, 40%, 12%));
gradient dark
background: linear-gradient(to right, hsl(10, 40%, 12%), hsl(10, 40%, 0%))
hex
background-color: #2B1612;
tailwind
bg-[hsl(10,40%,12%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(10, 40%, 12%, 0.4);
css variable
--color-primary: hsl(10, 40%, 12%);
Related Colors
Use Cases for Very Dark Red
Frequently Asked Questions
What are all the color codes for HSL(10, 40%, 12%)?
HEX: #2B1612 | RGB: rgb(43, 22, 18) | CMYK: 0%, 49%, 58%, 83% | HSV: 10°, 58%, 17%. Copy any format from the conversion table above.
What colors go well with #2B1612?
The complementary color is HSL(190, 40%, 12%). For a triadic harmony, use hues 10°, 130°, and 250°. For analogous combinations, try hues 340° and 40°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(10, 40%, 12%) in CSS?
As HSL: color: hsl(10, 40%, 12%); — As HEX: color: #2B1612; — As RGB: color: rgb(43, 22, 18); — Tailwind CSS: bg-[hsl(10,40%,12%)] — CSS variable: --color-primary: hsl(10, 40%, 12%);