HSL(352, 81%, 17%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(352,81%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(352, 81%, 17%) | color: hsl(352, 81%, 17%) | |
| HEX | #4E0812 | color: #4E0812 | |
| RGB | rgb(78, 8, 18) | color: rgb(78, 8, 18) | |
| CMYK | cmyk(0%, 90%, 77%, 69%) | — | |
| HSV | hsv(351, 90%, 31%) | — | |
| HWB | hwb(351 3% 69%) | color: hwb(351 3% 69%) | |
| OKLCH | oklch(0.2763 0.0998 19.98) | color: oklch(0.2763 0.0998 19.98) | |
| Lab | lab(14.61 31.8 14.45) | color: lab(14.61 31.8 14.45) | |
| LCH | lch(14.61 34.93 24.44) | color: lch(14.61 34.93 24.44) |
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)
#302F10 — rgb(48, 47, 16)
Deuteranopia (Green-blind)
#34390F — rgb(52, 57, 15)
Tritanopia (Blue-blind)
#4B0E0D — rgb(75, 14, 13)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(352, 81%, 17%);
text
color: hsl(352, 81%, 17%);
border
border: 2px solid hsl(352, 81%, 17%);
gradient light
background: linear-gradient(to right, hsl(352, 81%, 37%), hsl(352, 81%, 17%));
gradient dark
background: linear-gradient(to right, hsl(352, 81%, 17%), hsl(352, 81%, 0%))
hex
background-color: #4E0812;
tailwind
bg-[hsl(352,81%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(352, 81%, 17%, 0.4);
css variable
--color-primary: hsl(352, 81%, 17%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(352, 81%, 17%)?
HEX: #4E0812 | RGB: rgb(78, 8, 18) | CMYK: 0%, 90%, 77%, 69% | HSV: 351°, 90%, 31%. Copy any format from the conversion table above.
What colors go well with #4E0812?
The complementary color is HSL(172, 81%, 17%). 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, 81%, 17%) in CSS?
As HSL: color: hsl(352, 81%, 17%); — As HEX: color: #4E0812; — As RGB: color: rgb(78, 8, 18); — Tailwind CSS: bg-[hsl(352,81%,17%)] — CSS variable: --color-primary: hsl(352, 81%, 17%);