HSL(31, 45%, 47%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(31,45%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 45%, 47%) | color: hsl(31, 45%, 47%) | |
| HEX | #AE7A42 | color: #AE7A42 | |
| RGB | rgb(174, 122, 66) | color: rgb(174, 122, 66) | |
| CMYK | cmyk(0%, 30%, 62%, 32%) | — | |
| HSV | hsv(31, 62%, 68%) | — | |
| HWB | hwb(31 26% 32%) | color: hwb(31 26% 32%) | |
| OKLCH | oklch(0.6208 0.0974 66.33) | color: oklch(0.6208 0.0974 66.33) | |
| Lab | lab(55.39 14.33 38.24) | color: lab(55.39 14.33 38.24) | |
| LCH | lch(55.39 40.84 69.46) | color: lch(55.39 40.84 69.46) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#979750 — rgb(151, 151, 80)
Deuteranopia (Green-blind)
#9B9E53 — rgb(155, 158, 83)
Tritanopia (Blue-blind)
#AB5A5D — rgb(171, 90, 93)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 45%, 47%);
text
color: hsl(31, 45%, 47%);
border
border: 2px solid hsl(31, 45%, 47%);
gradient light
background: linear-gradient(to right, hsl(31, 45%, 67%), hsl(31, 45%, 47%));
gradient dark
background: linear-gradient(to right, hsl(31, 45%, 47%), hsl(31, 45%, 27%))
hex
background-color: #AE7A42;
tailwind
bg-[hsl(31,45%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 45%, 47%, 0.4);
css variable
--color-primary: hsl(31, 45%, 47%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(31, 45%, 47%)?
HEX: #AE7A42 | RGB: rgb(174, 122, 66) | CMYK: 0%, 30%, 62%, 32% | HSV: 31°, 62%, 68%. Copy any format from the conversion table above.
What colors go well with #AE7A42?
The complementary color is HSL(211, 45%, 47%). 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, 45%, 47%) in CSS?
As HSL: color: hsl(31, 45%, 47%); — As HEX: color: #AE7A42; — As RGB: color: rgb(174, 122, 66); — Tailwind CSS: bg-[hsl(31,45%,47%)] — CSS variable: --color-primary: hsl(31, 45%, 47%);