HSL(32, 40%, 18%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(32,40%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(32, 40%, 18%) | color: hsl(32, 40%, 18%) | |
| HEX | #402F1C | color: #402F1C | |
| RGB | rgb(64, 47, 28) | color: rgb(64, 47, 28) | |
| CMYK | cmyk(0%, 27%, 56%, 75%) | — | |
| HSV | hsv(32, 56%, 25%) | — | |
| HWB | hwb(32 11% 75%) | color: hwb(32 11% 75%) | |
| OKLCH | oklch(0.3195 0.0395 68.74) | color: oklch(0.3195 0.0395 68.74) | |
| Lab | lab(20.85 4.93 15.16) | color: lab(20.85 4.93 15.16) | |
| LCH | lch(20.85 15.94 71.99) | color: lch(20.85 15.94 71.99) |
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)
#393821 — rgb(57, 56, 33)
Deuteranopia (Green-blind)
#3A3B22 — rgb(58, 59, 34)
Tritanopia (Blue-blind)
#3F2425 — rgb(63, 36, 37)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(32, 40%, 18%);
text
color: hsl(32, 40%, 18%);
border
border: 2px solid hsl(32, 40%, 18%);
gradient light
background: linear-gradient(to right, hsl(32, 40%, 38%), hsl(32, 40%, 18%));
gradient dark
background: linear-gradient(to right, hsl(32, 40%, 18%), hsl(32, 40%, 0%))
hex
background-color: #402F1C;
tailwind
bg-[hsl(32,40%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(32, 40%, 18%, 0.4);
css variable
--color-primary: hsl(32, 40%, 18%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(32, 40%, 18%)?
HEX: #402F1C | RGB: rgb(64, 47, 28) | CMYK: 0%, 27%, 56%, 75% | HSV: 32°, 56%, 25%. Copy any format from the conversion table above.
What colors go well with #402F1C?
The complementary color is HSL(212, 40%, 18%). For a triadic harmony, use hues 32°, 152°, and 272°. For analogous combinations, try hues 2° and 62°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(32, 40%, 18%) in CSS?
As HSL: color: hsl(32, 40%, 18%); — As HEX: color: #402F1C; — As RGB: color: rgb(64, 47, 28); — Tailwind CSS: bg-[hsl(32,40%,18%)] — CSS variable: --color-primary: hsl(32, 40%, 18%);