HSL(0, 80%, 20%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(0,80%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(0, 80%, 20%) | color: hsl(0, 80%, 20%) | |
| HEX | #5C0A0A | color: #5C0A0A | |
| RGB | rgb(92, 10, 10) | color: rgb(92, 10, 10) | |
| CMYK | cmyk(0%, 89%, 89%, 64%) | — | |
| HSV | hsv(0, 89%, 36%) | — | |
| HWB | hwb(0 4% 64%) | color: hwb(0 4% 64%) | |
| OKLCH | oklch(0.3067 0.1138 27.25) | color: oklch(0.3067 0.1138 27.25) | |
| Lab | lab(17.99 35.42 23.41) | color: lab(17.99 35.42 23.41) | |
| LCH | lch(17.99 42.46 33.46) | color: lch(17.99 42.46 33.46) |
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)
#38380A — rgb(56, 56, 10)
Deuteranopia (Green-blind)
#3D430A — rgb(61, 67, 10)
Tritanopia (Blue-blind)
#580A0A — rgb(88, 10, 10)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(0, 80%, 20%);
text
color: hsl(0, 80%, 20%);
border
border: 2px solid hsl(0, 80%, 20%);
gradient light
background: linear-gradient(to right, hsl(0, 80%, 40%), hsl(0, 80%, 20%));
gradient dark
background: linear-gradient(to right, hsl(0, 80%, 20%), hsl(0, 80%, 0%))
hex
background-color: #5C0A0A;
tailwind
bg-[hsl(0,80%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(0, 80%, 20%, 0.4);
css variable
--color-primary: hsl(0, 80%, 20%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(0, 80%, 20%)?
HEX: #5C0A0A | RGB: rgb(92, 10, 10) | CMYK: 0%, 89%, 89%, 64% | HSV: 0°, 89%, 36%. Copy any format from the conversion table above.
What colors go well with #5C0A0A?
The complementary color is HSL(180, 80%, 20%). For a triadic harmony, use hues 0°, 120°, and 240°. For analogous combinations, try hues 330° and 30°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(0, 80%, 20%) in CSS?
As HSL: color: hsl(0, 80%, 20%); — As HEX: color: #5C0A0A; — As RGB: color: rgb(92, 10, 10); — Tailwind CSS: bg-[hsl(0,80%,20%)] — CSS variable: --color-primary: hsl(0, 80%, 20%);