HSL(6, 80%, 20%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(6,80%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(6, 80%, 20%) | color: hsl(6, 80%, 20%) | |
| HEX | #5C120A | color: #5C120A | |
| RGB | rgb(92, 18, 10) | color: rgb(92, 18, 10) | |
| CMYK | cmyk(0%, 80%, 89%, 64%) | — | |
| HSV | hsv(6, 89%, 36%) | — | |
| HWB | hwb(6 4% 64%) | color: hwb(6 4% 64%) | |
| OKLCH | oklch(0.3137 0.1075 30.21) | color: oklch(0.3137 0.1075 30.21) | |
| Lab | lab(18.93 32.77 24.52) | color: lab(18.93 32.77 24.52) | |
| LCH | lch(18.93 40.93 36.81) | color: lch(18.93 40.93 36.81) |
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)
#3C3B0C — rgb(60, 59, 12)
Deuteranopia (Green-blind)
#40460C — rgb(64, 70, 12)
Tritanopia (Blue-blind)
#580D0E — rgb(88, 13, 14)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(6, 80%, 20%);
text
color: hsl(6, 80%, 20%);
border
border: 2px solid hsl(6, 80%, 20%);
gradient light
background: linear-gradient(to right, hsl(6, 80%, 40%), hsl(6, 80%, 20%));
gradient dark
background: linear-gradient(to right, hsl(6, 80%, 20%), hsl(6, 80%, 0%))
hex
background-color: #5C120A;
tailwind
bg-[hsl(6,80%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(6, 80%, 20%, 0.4);
css variable
--color-primary: hsl(6, 80%, 20%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(6, 80%, 20%)?
HEX: #5C120A | RGB: rgb(92, 18, 10) | CMYK: 0%, 80%, 89%, 64% | HSV: 6°, 89%, 36%. Copy any format from the conversion table above.
What colors go well with #5C120A?
The complementary color is HSL(186, 80%, 20%). For a triadic harmony, use hues 6°, 126°, and 246°. For analogous combinations, try hues 336° and 36°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(6, 80%, 20%) in CSS?
As HSL: color: hsl(6, 80%, 20%); — As HEX: color: #5C120A; — As RGB: color: rgb(92, 18, 10); — Tailwind CSS: bg-[hsl(6,80%,20%)] — CSS variable: --color-primary: hsl(6, 80%, 20%);