HSL(31, 72%, 17%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(31,72%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 72%, 17%) | color: hsl(31, 72%, 17%) | |
| HEX | #4B2C0C | color: #4B2C0C | |
| RGB | rgb(75, 44, 12) | color: rgb(75, 44, 12) | |
| CMYK | cmyk(0%, 41%, 84%, 71%) | — | |
| HSV | hsv(30, 84%, 29%) | — | |
| HWB | hwb(30 5% 71%) | color: hwb(30 5% 71%) | |
| OKLCH | oklch(0.3257 0.0637 62.54) | color: oklch(0.3257 0.0637 62.54) | |
| Lab | lab(21.3 11.23 25.48) | color: lab(21.3 11.23 25.48) | |
| LCH | lch(21.3 27.84 66.22) | color: lch(21.3 27.84 66.22) |
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)
#3E3D14 — rgb(62, 61, 20)
Deuteranopia (Green-blind)
#3F4216 — rgb(63, 66, 22)
Tritanopia (Blue-blind)
#491A1B — rgb(73, 26, 27)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 72%, 17%);
text
color: hsl(31, 72%, 17%);
border
border: 2px solid hsl(31, 72%, 17%);
gradient light
background: linear-gradient(to right, hsl(31, 72%, 37%), hsl(31, 72%, 17%));
gradient dark
background: linear-gradient(to right, hsl(31, 72%, 17%), hsl(31, 72%, 0%))
hex
background-color: #4B2C0C;
tailwind
bg-[hsl(31,72%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 72%, 17%, 0.4);
css variable
--color-primary: hsl(31, 72%, 17%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(31, 72%, 17%)?
HEX: #4B2C0C | RGB: rgb(75, 44, 12) | CMYK: 0%, 41%, 84%, 71% | HSV: 30°, 84%, 29%. Copy any format from the conversion table above.
What colors go well with #4B2C0C?
The complementary color is HSL(211, 72%, 17%). For a triadic harmony, use hues 31°, 151°, and 271°. For analogous combinations, try hues 1° and 61°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(31, 72%, 17%) in CSS?
As HSL: color: hsl(31, 72%, 17%); — As HEX: color: #4B2C0C; — As RGB: color: rgb(75, 44, 12); — Tailwind CSS: bg-[hsl(31,72%,17%)] — CSS variable: --color-primary: hsl(31, 72%, 17%);