HSL(0, 20%, 30%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(0,20%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(0, 20%, 30%) | color: hsl(0, 20%, 30%) | |
| HEX | #5C3D3D | color: #5C3D3D | |
| RGB | rgb(92, 61, 61) | color: rgb(92, 61, 61) | |
| CMYK | cmyk(0%, 34%, 34%, 64%) | — | |
| HSV | hsv(0, 34%, 36%) | — | |
| HWB | hwb(0 24% 64%) | color: hwb(0 24% 64%) | |
| OKLCH | oklch(0.3956 0.0439 19.21) | color: oklch(0.3956 0.0439 19.21) | |
| Lab | lab(29.29 13.63 5.53) | color: lab(29.29 13.63 5.53) | |
| LCH | lch(29.29 14.71 22.08) | color: lch(29.29 14.71 22.08) |
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)
#4F4E3D — rgb(79, 78, 61)
Deuteranopia (Green-blind)
#50533D — rgb(80, 83, 61)
Tritanopia (Blue-blind)
#5A3D3D — rgb(90, 61, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(0, 20%, 30%);
text
color: hsl(0, 20%, 30%);
border
border: 2px solid hsl(0, 20%, 30%);
gradient light
background: linear-gradient(to right, hsl(0, 20%, 50%), hsl(0, 20%, 30%));
gradient dark
background: linear-gradient(to right, hsl(0, 20%, 30%), hsl(0, 20%, 10%))
hex
background-color: #5C3D3D;
tailwind
bg-[hsl(0,20%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(0, 20%, 30%, 0.4);
css variable
--color-primary: hsl(0, 20%, 30%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(0, 20%, 30%)?
HEX: #5C3D3D | RGB: rgb(92, 61, 61) | CMYK: 0%, 34%, 34%, 64% | HSV: 0°, 34%, 36%. Copy any format from the conversion table above.
What colors go well with #5C3D3D?
The complementary color is HSL(180, 20%, 30%). 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, 20%, 30%) in CSS?
As HSL: color: hsl(0, 20%, 30%); — As HEX: color: #5C3D3D; — As RGB: color: rgb(92, 61, 61); — Tailwind CSS: bg-[hsl(0,20%,30%)] — CSS variable: --color-primary: hsl(0, 20%, 30%);