HSL(351, 82%, 20%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(351,82%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(351, 82%, 20%) | color: hsl(351, 82%, 20%) | |
| HEX | #5D0916 | color: #5D0916 | |
| RGB | rgb(93, 9, 22) | color: rgb(93, 9, 22) | |
| CMYK | cmyk(0%, 90%, 76%, 64%) | — | |
| HSV | hsv(351, 90%, 36%) | — | |
| HWB | hwb(351 4% 64%) | color: hwb(351 4% 64%) | |
| OKLCH | oklch(0.3098 0.1145 20.14) | color: oklch(0.3098 0.1145 20.14) | |
| Lab | lab(18.28 36.5 17.13) | color: lab(18.28 36.5 17.13) | |
| LCH | lch(18.28 40.32 25.14) | color: lch(18.28 40.32 25.14) |
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)
#393813 — rgb(57, 56, 19)
Deuteranopia (Green-blind)
#3E4412 — rgb(62, 68, 18)
Tritanopia (Blue-blind)
#591010 — rgb(89, 16, 16)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(351, 82%, 20%);
text
color: hsl(351, 82%, 20%);
border
border: 2px solid hsl(351, 82%, 20%);
gradient light
background: linear-gradient(to right, hsl(351, 82%, 40%), hsl(351, 82%, 20%));
gradient dark
background: linear-gradient(to right, hsl(351, 82%, 20%), hsl(351, 82%, 0%))
hex
background-color: #5D0916;
tailwind
bg-[hsl(351,82%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(351, 82%, 20%, 0.4);
css variable
--color-primary: hsl(351, 82%, 20%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(351, 82%, 20%)?
HEX: #5D0916 | RGB: rgb(93, 9, 22) | CMYK: 0%, 90%, 76%, 64% | HSV: 351°, 90%, 36%. Copy any format from the conversion table above.
What colors go well with #5D0916?
The complementary color is HSL(171, 82%, 20%). For a triadic harmony, use hues 351°, 111°, and 231°. For analogous combinations, try hues 321° and 21°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(351, 82%, 20%) in CSS?
As HSL: color: hsl(351, 82%, 20%); — As HEX: color: #5D0916; — As RGB: color: rgb(93, 9, 22); — Tailwind CSS: bg-[hsl(351,82%,20%)] — CSS variable: --color-primary: hsl(351, 82%, 20%);