HSL(345, 52%, 19%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(345,52%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(345, 52%, 19%) | color: hsl(345, 52%, 19%) | |
| HEX | #4A1724 | color: #4A1724 | |
| RGB | rgb(74, 23, 36) | color: rgb(74, 23, 36) | |
| CMYK | cmyk(0%, 69%, 51%, 71%) | — | |
| HSV | hsv(345, 69%, 29%) | — | |
| HWB | hwb(345 9% 71%) | color: hwb(345 9% 71%) | |
| OKLCH | oklch(0.2901 0.0783 7.74) | color: oklch(0.2901 0.0783 7.74) | |
| Lab | lab(16.49 25.51 4.03) | color: lab(16.49 25.51 4.03) | |
| LCH | lch(16.49 25.83 8.98) | color: lch(16.49 25.83 8.98) |
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)
#343321 — rgb(52, 51, 33)
Deuteranopia (Green-blind)
#373B20 — rgb(55, 59, 32)
Tritanopia (Blue-blind)
#471E1E — rgb(71, 30, 30)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(345, 52%, 19%);
text
color: hsl(345, 52%, 19%);
border
border: 2px solid hsl(345, 52%, 19%);
gradient light
background: linear-gradient(to right, hsl(345, 52%, 39%), hsl(345, 52%, 19%));
gradient dark
background: linear-gradient(to right, hsl(345, 52%, 19%), hsl(345, 52%, 0%))
hex
background-color: #4A1724;
tailwind
bg-[hsl(345,52%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(345, 52%, 19%, 0.4);
css variable
--color-primary: hsl(345, 52%, 19%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(345, 52%, 19%)?
HEX: #4A1724 | RGB: rgb(74, 23, 36) | CMYK: 0%, 69%, 51%, 71% | HSV: 345°, 69%, 29%. Copy any format from the conversion table above.
What colors go well with #4A1724?
The complementary color is HSL(165, 52%, 19%). 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, 52%, 19%) in CSS?
As HSL: color: hsl(345, 52%, 19%); — As HEX: color: #4A1724; — As RGB: color: rgb(74, 23, 36); — Tailwind CSS: bg-[hsl(345,52%,19%)] — CSS variable: --color-primary: hsl(345, 52%, 19%);