HSL(21, 82%, 27%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(21,82%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(21, 82%, 27%) | color: hsl(21, 82%, 27%) | |
| HEX | #7D340C | color: #7D340C | |
| RGB | rgb(125, 52, 12) | color: rgb(125, 52, 12) | |
| CMYK | cmyk(0%, 58%, 90%, 51%) | — | |
| HSV | hsv(21, 90%, 49%) | — | |
| HWB | hwb(21 5% 51%) | color: hwb(21 5% 51%) | |
| OKLCH | oklch(0.4201 0.1126 44.49) | color: oklch(0.4201 0.1126 44.49) | |
| Lab | lab(31.45 29.56 37.86) | color: lab(31.45 29.56 37.86) | |
| LCH | lch(31.45 48.03 52.02) | color: lch(31.45 48.03 52.02) |
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)
#5D5D16 — rgb(93, 93, 22)
Deuteranopia (Green-blind)
#626718 — rgb(98, 103, 24)
Tritanopia (Blue-blind)
#791D1F — rgb(121, 29, 31)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(21, 82%, 27%);
text
color: hsl(21, 82%, 27%);
border
border: 2px solid hsl(21, 82%, 27%);
gradient light
background: linear-gradient(to right, hsl(21, 82%, 47%), hsl(21, 82%, 27%));
gradient dark
background: linear-gradient(to right, hsl(21, 82%, 27%), hsl(21, 82%, 7%))
hex
background-color: #7D340C;
tailwind
bg-[hsl(21,82%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(21, 82%, 27%, 0.4);
css variable
--color-primary: hsl(21, 82%, 27%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(21, 82%, 27%)?
HEX: #7D340C | RGB: rgb(125, 52, 12) | CMYK: 0%, 58%, 90%, 51% | HSV: 21°, 90%, 49%. Copy any format from the conversion table above.
What colors go well with #7D340C?
The complementary color is HSL(201, 82%, 27%). For a triadic harmony, use hues 21°, 141°, and 261°. For analogous combinations, try hues 351° and 51°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(21, 82%, 27%) in CSS?
As HSL: color: hsl(21, 82%, 27%); — As HEX: color: #7D340C; — As RGB: color: rgb(125, 52, 12); — Tailwind CSS: bg-[hsl(21,82%,27%)] — CSS variable: --color-primary: hsl(21, 82%, 27%);