HSL(37, 27%, 15%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(37,27%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(37, 27%, 15%) | color: hsl(37, 27%, 15%) | |
| HEX | #31291C | color: #31291C | |
| RGB | rgb(49, 41, 28) | color: rgb(49, 41, 28) | |
| CMYK | cmyk(0%, 16%, 43%, 81%) | — | |
| HSV | hsv(37, 43%, 19%) | — | |
| HWB | hwb(37 11% 81%) | color: hwb(37 11% 81%) | |
| OKLCH | oklch(0.2858 0.0252 79.55) | color: oklch(0.2858 0.0252 79.55) | |
| Lab | lab(17.1 1.31 9.91) | color: lab(17.1 1.31 9.91) | |
| LCH | lch(17.1 10 82.47) | color: lch(17.1 10 82.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)
#2E2D1F — rgb(46, 45, 31)
Deuteranopia (Green-blind)
#2E2F20 — rgb(46, 47, 32)
Tritanopia (Blue-blind)
#312222 — rgb(49, 34, 34)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(37, 27%, 15%);
text
color: hsl(37, 27%, 15%);
border
border: 2px solid hsl(37, 27%, 15%);
gradient light
background: linear-gradient(to right, hsl(37, 27%, 35%), hsl(37, 27%, 15%));
gradient dark
background: linear-gradient(to right, hsl(37, 27%, 15%), hsl(37, 27%, 0%))
hex
background-color: #31291C;
tailwind
bg-[hsl(37,27%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(37, 27%, 15%, 0.4);
css variable
--color-primary: hsl(37, 27%, 15%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(37, 27%, 15%)?
HEX: #31291C | RGB: rgb(49, 41, 28) | CMYK: 0%, 16%, 43%, 81% | HSV: 37°, 43%, 19%. Copy any format from the conversion table above.
What colors go well with #31291C?
The complementary color is HSL(217, 27%, 15%). For a triadic harmony, use hues 37°, 157°, and 277°. For analogous combinations, try hues 7° and 67°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(37, 27%, 15%) in CSS?
As HSL: color: hsl(37, 27%, 15%); — As HEX: color: #31291C; — As RGB: color: rgb(49, 41, 28); — Tailwind CSS: bg-[hsl(37,27%,15%)] — CSS variable: --color-primary: hsl(37, 27%, 15%);