HSL(22, 77%, 45%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(22,77%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(22, 77%, 45%) | color: hsl(22, 77%, 45%) | |
| HEX | #CB5B1A | color: #CB5B1A | |
| RGB | rgb(203, 91, 26) | color: rgb(203, 91, 26) | |
| CMYK | cmyk(0%, 55%, 87%, 20%) | — | |
| HSV | hsv(22, 87%, 80%) | — | |
| HWB | hwb(22 10% 20%) | color: hwb(22 10% 20%) | |
| OKLCH | oklch(0.6027 0.1593 45.5) | color: oklch(0.6027 0.1593 45.5) | |
| Lab | lab(52.13 41.24 54.58) | color: lab(52.13 41.24 54.58) | |
| LCH | lch(52.13 68.41 52.93) | color: lch(52.13 68.41 52.93) |
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)
#9B992A — rgb(155, 153, 42)
Deuteranopia (Green-blind)
#A1A92E — rgb(161, 169, 46)
Tritanopia (Blue-blind)
#C53639 — rgb(197, 54, 57)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(22, 77%, 45%);
text
color: hsl(22, 77%, 45%);
border
border: 2px solid hsl(22, 77%, 45%);
gradient light
background: linear-gradient(to right, hsl(22, 77%, 65%), hsl(22, 77%, 45%));
gradient dark
background: linear-gradient(to right, hsl(22, 77%, 45%), hsl(22, 77%, 25%))
hex
background-color: #CB5B1A;
tailwind
bg-[hsl(22,77%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(22, 77%, 45%, 0.4);
css variable
--color-primary: hsl(22, 77%, 45%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(22, 77%, 45%)?
HEX: #CB5B1A | RGB: rgb(203, 91, 26) | CMYK: 0%, 55%, 87%, 20% | HSV: 22°, 87%, 80%. Copy any format from the conversion table above.
What colors go well with #CB5B1A?
The complementary color is HSL(202, 77%, 45%). For a triadic harmony, use hues 22°, 142°, and 262°. For analogous combinations, try hues 352° and 52°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(22, 77%, 45%) in CSS?
As HSL: color: hsl(22, 77%, 45%); — As HEX: color: #CB5B1A; — As RGB: color: rgb(203, 91, 26); — Tailwind CSS: bg-[hsl(22,77%,45%)] — CSS variable: --color-primary: hsl(22, 77%, 45%);