HSL(345, 72%, 30%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(345,72%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(345, 72%, 30%) | color: hsl(345, 72%, 30%) | |
| HEX | #841531 | color: #841531 | |
| RGB | rgb(132, 21, 49) | color: rgb(132, 21, 49) | |
| CMYK | cmyk(0%, 84%, 63%, 48%) | — | |
| HSV | hsv(345, 84%, 52%) | — | |
| HWB | hwb(345 8% 48%) | color: hwb(345 8% 48%) | |
| OKLCH | oklch(0.4025 0.1443 13.26) | color: oklch(0.4025 0.1443 13.26) | |
| Lab | lab(28.55 46.65 13.5) | color: lab(28.55 46.65 13.5) | |
| LCH | lch(28.55 48.56 16.14) | color: lch(28.55 48.56 16.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)
#54532A — rgb(84, 83, 42)
Deuteranopia (Green-blind)
#5A6329 — rgb(90, 99, 41)
Tritanopia (Blue-blind)
#7E2524 — rgb(126, 37, 36)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(345, 72%, 30%);
text
color: hsl(345, 72%, 30%);
border
border: 2px solid hsl(345, 72%, 30%);
gradient light
background: linear-gradient(to right, hsl(345, 72%, 50%), hsl(345, 72%, 30%));
gradient dark
background: linear-gradient(to right, hsl(345, 72%, 30%), hsl(345, 72%, 10%))
hex
background-color: #841531;
tailwind
bg-[hsl(345,72%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(345, 72%, 30%, 0.4);
css variable
--color-primary: hsl(345, 72%, 30%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(345, 72%, 30%)?
HEX: #841531 | RGB: rgb(132, 21, 49) | CMYK: 0%, 84%, 63%, 48% | HSV: 345°, 84%, 52%. Copy any format from the conversion table above.
What colors go well with #841531?
The complementary color is HSL(165, 72%, 30%). 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, 72%, 30%) in CSS?
As HSL: color: hsl(345, 72%, 30%); — As HEX: color: #841531; — As RGB: color: rgb(132, 21, 49); — Tailwind CSS: bg-[hsl(345,72%,30%)] — CSS variable: --color-primary: hsl(345, 72%, 30%);