HSL(18, 46%, 15%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(18,46%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(18, 46%, 15%) | color: hsl(18, 46%, 15%) | |
| HEX | #381F15 | color: #381F15 | |
| RGB | rgb(56, 31, 21) | color: rgb(56, 31, 21) | |
| CMYK | cmyk(0%, 45%, 63%, 78%) | — | |
| HSV | hsv(17, 63%, 22%) | — | |
| HWB | hwb(17 8% 78%) | color: hwb(17 8% 78%) | |
| OKLCH | oklch(0.2697 0.043 42.41) | color: oklch(0.2697 0.043 42.41) | |
| Lab | lab(14.82 10.87 11.92) | color: lab(14.82 10.87 11.92) | |
| LCH | lch(14.82 16.13 47.64) | color: lch(14.82 16.13 47.64) |
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)
#2D2D17 — rgb(45, 45, 23)
Deuteranopia (Green-blind)
#2F3118 — rgb(47, 49, 24)
Tritanopia (Blue-blind)
#37191A — rgb(55, 25, 26)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(18, 46%, 15%);
text
color: hsl(18, 46%, 15%);
border
border: 2px solid hsl(18, 46%, 15%);
gradient light
background: linear-gradient(to right, hsl(18, 46%, 35%), hsl(18, 46%, 15%));
gradient dark
background: linear-gradient(to right, hsl(18, 46%, 15%), hsl(18, 46%, 0%))
hex
background-color: #381F15;
tailwind
bg-[hsl(18,46%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(18, 46%, 15%, 0.4);
css variable
--color-primary: hsl(18, 46%, 15%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(18, 46%, 15%)?
HEX: #381F15 | RGB: rgb(56, 31, 21) | CMYK: 0%, 45%, 63%, 78% | HSV: 17°, 63%, 22%. Copy any format from the conversion table above.
What colors go well with #381F15?
The complementary color is HSL(198, 46%, 15%). For a triadic harmony, use hues 18°, 138°, and 258°. For analogous combinations, try hues 348° and 48°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(18, 46%, 15%) in CSS?
As HSL: color: hsl(18, 46%, 15%); — As HEX: color: #381F15; — As RGB: color: rgb(56, 31, 21); — Tailwind CSS: bg-[hsl(18,46%,15%)] — CSS variable: --color-primary: hsl(18, 46%, 15%);