HSL(21, 99%, 25%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(21,99%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(21, 99%, 25%) | color: hsl(21, 99%, 25%) | |
| HEX | #7F2D01 | color: #7F2D01 | |
| RGB | rgb(127, 45, 1) | color: rgb(127, 45, 1) | |
| CMYK | cmyk(0%, 65%, 99%, 50%) | — | |
| HSV | hsv(21, 99%, 50%) | — | |
| HWB | hwb(21 1% 50%) | color: hwb(21 1% 50%) | |
| OKLCH | oklch(0.4125 0.1232 42.21) | color: oklch(0.4125 0.1232 42.21) | |
| Lab | lab(30.38 33.72 41.63) | color: lab(30.38 33.72 41.63) | |
| LCH | lch(30.38 53.57 50.99) | color: lch(30.38 53.57 50.99) |
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)
#5B5B0C — rgb(91, 91, 12)
Deuteranopia (Green-blind)
#60660E — rgb(96, 102, 14)
Tritanopia (Blue-blind)
#7B1416 — rgb(123, 20, 22)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(21, 99%, 25%);
text
color: hsl(21, 99%, 25%);
border
border: 2px solid hsl(21, 99%, 25%);
gradient light
background: linear-gradient(to right, hsl(21, 99%, 45%), hsl(21, 99%, 25%));
gradient dark
background: linear-gradient(to right, hsl(21, 99%, 25%), hsl(21, 99%, 5%))
hex
background-color: #7F2D01;
tailwind
bg-[hsl(21,99%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(21, 99%, 25%, 0.4);
css variable
--color-primary: hsl(21, 99%, 25%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(21, 99%, 25%)?
HEX: #7F2D01 | RGB: rgb(127, 45, 1) | CMYK: 0%, 65%, 99%, 50% | HSV: 21°, 99%, 50%. Copy any format from the conversion table above.
What colors go well with #7F2D01?
The complementary color is HSL(201, 99%, 25%). 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, 99%, 25%) in CSS?
As HSL: color: hsl(21, 99%, 25%); — As HEX: color: #7F2D01; — As RGB: color: rgb(127, 45, 1); — Tailwind CSS: bg-[hsl(21,99%,25%)] — CSS variable: --color-primary: hsl(21, 99%, 25%);