HSL(31, 26%, 43%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(31,26%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 26%, 43%) | color: hsl(31, 26%, 43%) | |
| HEX | #8A6F51 | color: #8A6F51 | |
| RGB | rgb(138, 111, 81) | color: rgb(138, 111, 81) | |
| CMYK | cmyk(0%, 20%, 41%, 46%) | — | |
| HSV | hsv(32, 41%, 54%) | — | |
| HWB | hwb(32 32% 46%) | color: hwb(32 32% 46%) | |
| OKLCH | oklch(0.5603 0.0551 69.27) | color: oklch(0.5603 0.0551 69.27) | |
| Lab | lab(48.72 6.3 20.74) | color: lab(48.72 6.3 20.74) | |
| LCH | lch(48.72 21.68 73.1) | color: lch(48.72 21.68 73.1) |
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)
#7E7E58 — rgb(126, 126, 88)
Deuteranopia (Green-blind)
#80825A — rgb(128, 130, 90)
Tritanopia (Blue-blind)
#895E5F — rgb(137, 94, 95)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 26%, 43%);
text
color: hsl(31, 26%, 43%);
border
border: 2px solid hsl(31, 26%, 43%);
gradient light
background: linear-gradient(to right, hsl(31, 26%, 63%), hsl(31, 26%, 43%));
gradient dark
background: linear-gradient(to right, hsl(31, 26%, 43%), hsl(31, 26%, 23%))
hex
background-color: #8A6F51;
tailwind
bg-[hsl(31,26%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 26%, 43%, 0.4);
css variable
--color-primary: hsl(31, 26%, 43%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(31, 26%, 43%)?
HEX: #8A6F51 | RGB: rgb(138, 111, 81) | CMYK: 0%, 20%, 41%, 46% | HSV: 32°, 41%, 54%. Copy any format from the conversion table above.
What colors go well with #8A6F51?
The complementary color is HSL(211, 26%, 43%). 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, 26%, 43%) in CSS?
As HSL: color: hsl(31, 26%, 43%); — As HEX: color: #8A6F51; — As RGB: color: rgb(138, 111, 81); — Tailwind CSS: bg-[hsl(31,26%,43%)] — CSS variable: --color-primary: hsl(31, 26%, 43%);