HSL(345, 20%, 31%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(345,20%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(345, 20%, 31%) | color: hsl(345, 20%, 31%) | |
| HEX | #5F3F47 | color: #5F3F47 | |
| RGB | rgb(95, 63, 71) | color: rgb(95, 63, 71) | |
| CMYK | cmyk(0%, 34%, 25%, 63%) | — | |
| HSV | hsv(345, 34%, 37%) | — | |
| HWB | hwb(345 24% 63%) | color: hwb(345 24% 63%) | |
| OKLCH | oklch(0.4068 0.0462 2.95) | color: oklch(0.4068 0.0462 2.95) | |
| Lab | lab(30.5 15.28 0.82) | color: lab(30.5 15.28 0.82) | |
| LCH | lch(30.5 15.3 3.07) | color: lch(30.5 15.3 3.07) |
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)
#515145 — rgb(81, 81, 69)
Deuteranopia (Green-blind)
#535545 — rgb(83, 85, 69)
Tritanopia (Blue-blind)
#5D4443 — rgb(93, 68, 67)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(345, 20%, 31%);
text
color: hsl(345, 20%, 31%);
border
border: 2px solid hsl(345, 20%, 31%);
gradient light
background: linear-gradient(to right, hsl(345, 20%, 51%), hsl(345, 20%, 31%));
gradient dark
background: linear-gradient(to right, hsl(345, 20%, 31%), hsl(345, 20%, 11%))
hex
background-color: #5F3F47;
tailwind
bg-[hsl(345,20%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(345, 20%, 31%, 0.4);
css variable
--color-primary: hsl(345, 20%, 31%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(345, 20%, 31%)?
HEX: #5F3F47 | RGB: rgb(95, 63, 71) | CMYK: 0%, 34%, 25%, 63% | HSV: 345°, 34%, 37%. Copy any format from the conversion table above.
What colors go well with #5F3F47?
The complementary color is HSL(165, 20%, 31%). For a triadic harmony, use hues 345°, 105°, and 225°. For analogous combinations, try hues 315° and 15°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(345, 20%, 31%) in CSS?
As HSL: color: hsl(345, 20%, 31%); — As HEX: color: #5F3F47; — As RGB: color: rgb(95, 63, 71); — Tailwind CSS: bg-[hsl(345,20%,31%)] — CSS variable: --color-primary: hsl(345, 20%, 31%);