HSL(352, 86%, 20%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(352,86%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(352, 86%, 20%) | color: hsl(352, 86%, 20%) | |
| HEX | #5F0713 | color: #5F0713 | |
| RGB | rgb(95, 7, 19) | color: rgb(95, 7, 19) | |
| CMYK | cmyk(0%, 93%, 80%, 63%) | — | |
| HSV | hsv(352, 93%, 37%) | — | |
| HWB | hwb(352 3% 63%) | color: hwb(352 3% 63%) | |
| OKLCH | oklch(0.3121 0.1181 21.85) | color: oklch(0.3121 0.1181 21.85) | |
| Lab | lab(18.51 37.52 19.53) | color: lab(18.51 37.52 19.53) | |
| LCH | lch(18.51 42.3 27.5) | color: lch(18.51 42.3 27.5) |
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)
#393810 — rgb(57, 56, 16)
Deuteranopia (Green-blind)
#3E450F — rgb(62, 69, 15)
Tritanopia (Blue-blind)
#5B0E0D — rgb(91, 14, 13)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(352, 86%, 20%);
text
color: hsl(352, 86%, 20%);
border
border: 2px solid hsl(352, 86%, 20%);
gradient light
background: linear-gradient(to right, hsl(352, 86%, 40%), hsl(352, 86%, 20%));
gradient dark
background: linear-gradient(to right, hsl(352, 86%, 20%), hsl(352, 86%, 0%))
hex
background-color: #5F0713;
tailwind
bg-[hsl(352,86%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(352, 86%, 20%, 0.4);
css variable
--color-primary: hsl(352, 86%, 20%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(352, 86%, 20%)?
HEX: #5F0713 | RGB: rgb(95, 7, 19) | CMYK: 0%, 93%, 80%, 63% | HSV: 352°, 93%, 37%. Copy any format from the conversion table above.
What colors go well with #5F0713?
The complementary color is HSL(172, 86%, 20%). For a triadic harmony, use hues 352°, 112°, and 232°. For analogous combinations, try hues 322° and 22°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(352, 86%, 20%) in CSS?
As HSL: color: hsl(352, 86%, 20%); — As HEX: color: #5F0713; — As RGB: color: rgb(95, 7, 19); — Tailwind CSS: bg-[hsl(352,86%,20%)] — CSS variable: --color-primary: hsl(352, 86%, 20%);