HSL(31, 90%, 38%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(31,90%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 90%, 38%) | color: hsl(31, 90%, 38%) | |
| HEX | #B8640A | color: #B8640A | |
| RGB | rgb(184, 100, 10) | color: rgb(184, 100, 10) | |
| CMYK | cmyk(0%, 46%, 95%, 28%) | — | |
| HSV | hsv(31, 95%, 72%) | — | |
| HWB | hwb(31 4% 28%) | color: hwb(31 4% 28%) | |
| OKLCH | oklch(0.5888 0.1382 57.79) | color: oklch(0.5888 0.1382 57.79) | |
| Lab | lab(51.07 28.6 57.07) | color: lab(51.07 28.6 57.07) | |
| LCH | lch(51.07 63.84 63.38) | color: lch(51.07 63.84 63.38) |
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)
#949320 — rgb(148, 147, 32)
Deuteranopia (Green-blind)
#999F25 — rgb(153, 159, 37)
Tritanopia (Blue-blind)
#B43135 — rgb(180, 49, 53)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 90%, 38%);
text
color: hsl(31, 90%, 38%);
border
border: 2px solid hsl(31, 90%, 38%);
gradient light
background: linear-gradient(to right, hsl(31, 90%, 58%), hsl(31, 90%, 38%));
gradient dark
background: linear-gradient(to right, hsl(31, 90%, 38%), hsl(31, 90%, 18%))
hex
background-color: #B8640A;
tailwind
bg-[hsl(31,90%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 90%, 38%, 0.4);
css variable
--color-primary: hsl(31, 90%, 38%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(31, 90%, 38%)?
HEX: #B8640A | RGB: rgb(184, 100, 10) | CMYK: 0%, 46%, 95%, 28% | HSV: 31°, 95%, 72%. Copy any format from the conversion table above.
What colors go well with #B8640A?
The complementary color is HSL(211, 90%, 38%). 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, 90%, 38%) in CSS?
As HSL: color: hsl(31, 90%, 38%); — As HEX: color: #B8640A; — As RGB: color: rgb(184, 100, 10); — Tailwind CSS: bg-[hsl(31,90%,38%)] — CSS variable: --color-primary: hsl(31, 90%, 38%);