HSL(42, 16%, 20%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(42,16%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 16%, 20%) | color: hsl(42, 16%, 20%) | |
| HEX | #3B362B | color: #3B362B | |
| RGB | rgb(59, 54, 43) | color: rgb(59, 54, 43) | |
| CMYK | cmyk(0%, 8%, 27%, 77%) | — | |
| HSV | hsv(41, 27%, 23%) | — | |
| HWB | hwb(41 17% 77%) | color: hwb(41 17% 77%) | |
| OKLCH | oklch(0.3345 0.0198 86.45) | color: oklch(0.3345 0.0198 86.45) | |
| Lab | lab(22.8 0.02 7.73) | color: lab(22.8 0.02 7.73) | |
| LCH | lch(22.8 7.73 89.85) | color: lch(22.8 7.73 89.85) |
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)
#39392E — rgb(57, 57, 46)
Deuteranopia (Green-blind)
#393A2E — rgb(57, 58, 46)
Tritanopia (Blue-blind)
#3B3030 — rgb(59, 48, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 16%, 20%);
text
color: hsl(42, 16%, 20%);
border
border: 2px solid hsl(42, 16%, 20%);
gradient light
background: linear-gradient(to right, hsl(42, 16%, 40%), hsl(42, 16%, 20%));
gradient dark
background: linear-gradient(to right, hsl(42, 16%, 20%), hsl(42, 16%, 0%))
hex
background-color: #3B362B;
tailwind
bg-[hsl(42,16%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 16%, 20%, 0.4);
css variable
--color-primary: hsl(42, 16%, 20%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(42, 16%, 20%)?
HEX: #3B362B | RGB: rgb(59, 54, 43) | CMYK: 0%, 8%, 27%, 77% | HSV: 41°, 27%, 23%. Copy any format from the conversion table above.
What colors go well with #3B362B?
The complementary color is HSL(222, 16%, 20%). For a triadic harmony, use hues 42°, 162°, and 282°. For analogous combinations, try hues 12° and 72°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(42, 16%, 20%) in CSS?
As HSL: color: hsl(42, 16%, 20%); — As HEX: color: #3B362B; — As RGB: color: rgb(59, 54, 43); — Tailwind CSS: bg-[hsl(42,16%,20%)] — CSS variable: --color-primary: hsl(42, 16%, 20%);