HSL(8, 60%, 22%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(8,60%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(8, 60%, 22%) | color: hsl(8, 60%, 22%) | |
| HEX | #5A1F16 | color: #5A1F16 | |
| RGB | rgb(90, 31, 22) | color: rgb(90, 31, 22) | |
| CMYK | cmyk(0%, 66%, 76%, 65%) | — | |
| HSV | hsv(8, 76%, 35%) | — | |
| HWB | hwb(8 8% 65%) | color: hwb(8 8% 65%) | |
| OKLCH | oklch(0.328 0.0891 31.05) | color: oklch(0.328 0.0891 31.05) | |
| Lab | lab(20.87 26.54 20.04) | color: lab(20.87 26.54 20.04) | |
| LCH | lch(20.87 33.26 37.06) | color: lch(20.87 33.26 37.06) |
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)
#404018 — rgb(64, 64, 24)
Deuteranopia (Green-blind)
#444819 — rgb(68, 72, 25)
Tritanopia (Blue-blind)
#571A1A — rgb(87, 26, 26)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(8, 60%, 22%);
text
color: hsl(8, 60%, 22%);
border
border: 2px solid hsl(8, 60%, 22%);
gradient light
background: linear-gradient(to right, hsl(8, 60%, 42%), hsl(8, 60%, 22%));
gradient dark
background: linear-gradient(to right, hsl(8, 60%, 22%), hsl(8, 60%, 2%))
hex
background-color: #5A1F16;
tailwind
bg-[hsl(8,60%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(8, 60%, 22%, 0.4);
css variable
--color-primary: hsl(8, 60%, 22%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(8, 60%, 22%)?
HEX: #5A1F16 | RGB: rgb(90, 31, 22) | CMYK: 0%, 66%, 76%, 65% | HSV: 8°, 76%, 35%. Copy any format from the conversion table above.
What colors go well with #5A1F16?
The complementary color is HSL(188, 60%, 22%). For a triadic harmony, use hues 8°, 128°, and 248°. For analogous combinations, try hues 338° and 38°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(8, 60%, 22%) in CSS?
As HSL: color: hsl(8, 60%, 22%); — As HEX: color: #5A1F16; — As RGB: color: rgb(90, 31, 22); — Tailwind CSS: bg-[hsl(8,60%,22%)] — CSS variable: --color-primary: hsl(8, 60%, 22%);