HSL(40, 50%, 7%)
Very Dark Orange — Orange color
Adjust Color
Color Information
Color Name
Very Dark Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(40,50%,7%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(40, 50%, 7%) | color: hsl(40, 50%, 7%) | |
| HEX | #1B1509 | color: #1B1509 | |
| RGB | rgb(27, 21, 9) | color: rgb(27, 21, 9) | |
| CMYK | cmyk(0%, 22%, 67%, 89%) | — | |
| HSV | hsv(40, 67%, 11%) | — | |
| HWB | hwb(40 4% 89%) | color: hwb(40 4% 89%) | |
| OKLCH | oklch(0.1994 0.0237 83.87) | color: oklch(0.1994 0.0237 83.87) | |
| Lab | lab(7.13 0.8 6.99) | color: lab(7.13 0.8 6.99) | |
| LCH | lch(7.13 7.04 83.47) | color: lch(7.13 7.04 83.47) |
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)
#18180C — rgb(24, 24, 12)
Deuteranopia (Green-blind)
#19190D — rgb(25, 25, 13)
Tritanopia (Blue-blind)
#1B0E0F — rgb(27, 14, 15)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(40, 50%, 7%);
text
color: hsl(40, 50%, 7%);
border
border: 2px solid hsl(40, 50%, 7%);
gradient light
background: linear-gradient(to right, hsl(40, 50%, 27%), hsl(40, 50%, 7%));
gradient dark
background: linear-gradient(to right, hsl(40, 50%, 7%), hsl(40, 50%, 0%))
hex
background-color: #1B1509;
tailwind
bg-[hsl(40,50%,7%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(40, 50%, 7%, 0.4);
css variable
--color-primary: hsl(40, 50%, 7%);
Related Colors
Use Cases for Very Dark Orange
Frequently Asked Questions
What are all the color codes for HSL(40, 50%, 7%)?
HEX: #1B1509 | RGB: rgb(27, 21, 9) | CMYK: 0%, 22%, 67%, 89% | HSV: 40°, 67%, 11%. Copy any format from the conversion table above.
What colors go well with #1B1509?
The complementary color is HSL(220, 50%, 7%). For a triadic harmony, use hues 40°, 160°, and 280°. For analogous combinations, try hues 10° and 70°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(40, 50%, 7%) in CSS?
As HSL: color: hsl(40, 50%, 7%); — As HEX: color: #1B1509; — As RGB: color: rgb(27, 21, 9); — Tailwind CSS: bg-[hsl(40,50%,7%)] — CSS variable: --color-primary: hsl(40, 50%, 7%);