HSL(21, 77%, 4%)
Very Dark Orange — Orange color
Adjust Color
Color Information
Color Name
Very Dark Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(21,77%,4%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(21, 77%, 4%) | color: hsl(21, 77%, 4%) | |
| HEX | #120802 | color: #120802 | |
| RGB | rgb(18, 8, 2) | color: rgb(18, 8, 2) | |
| CMYK | cmyk(0%, 56%, 89%, 93%) | — | |
| HSV | hsv(23, 89%, 7%) | — | |
| HWB | hwb(23 1% 93%) | color: hwb(23 1% 93%) | |
| OKLCH | oklch(0.1469 0.0253 62.08) | color: oklch(0.1469 0.0253 62.08) | |
| Lab | lab(2.77 2.28 3.37) | color: lab(2.77 2.28 3.37) | |
| LCH | lch(2.77 4.07 55.92) | color: lch(2.77 4.07 55.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)
#0E0E03 — rgb(14, 14, 3)
Deuteranopia (Green-blind)
#0E0F04 — rgb(14, 15, 4)
Tritanopia (Blue-blind)
#120505 — rgb(18, 5, 5)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(21, 77%, 4%);
text
color: hsl(21, 77%, 4%);
border
border: 2px solid hsl(21, 77%, 4%);
gradient light
background: linear-gradient(to right, hsl(21, 77%, 24%), hsl(21, 77%, 4%));
gradient dark
background: linear-gradient(to right, hsl(21, 77%, 4%), hsl(21, 77%, 0%))
hex
background-color: #120802;
tailwind
bg-[hsl(21,77%,4%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(21, 77%, 4%, 0.4);
css variable
--color-primary: hsl(21, 77%, 4%);
Related Colors
Use Cases for Very Dark Orange
Frequently Asked Questions
What are all the color codes for HSL(21, 77%, 4%)?
HEX: #120802 | RGB: rgb(18, 8, 2) | CMYK: 0%, 56%, 89%, 93% | HSV: 23°, 89%, 7%. Copy any format from the conversion table above.
What colors go well with #120802?
The complementary color is HSL(201, 77%, 4%). For a triadic harmony, use hues 21°, 141°, and 261°. For analogous combinations, try hues 351° and 51°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(21, 77%, 4%) in CSS?
As HSL: color: hsl(21, 77%, 4%); — As HEX: color: #120802; — As RGB: color: rgb(18, 8, 2); — Tailwind CSS: bg-[hsl(21,77%,4%)] — CSS variable: --color-primary: hsl(21, 77%, 4%);