HSL(352, 72%, 28%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(352,72%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(352, 72%, 28%) | color: hsl(352, 72%, 28%) | |
| HEX | #7B1422 | color: #7B1422 | |
| RGB | rgb(123, 20, 34) | color: rgb(123, 20, 34) | |
| CMYK | cmyk(0%, 84%, 72%, 52%) | — | |
| HSV | hsv(352, 84%, 48%) | — | |
| HWB | hwb(352 8% 52%) | color: hwb(352 8% 52%) | |
| OKLCH | oklch(0.381 0.1361 20.13) | color: oklch(0.381 0.1361 20.13) | |
| Lab | lab(26.24 43.34 20.18) | color: lab(26.24 43.34 20.18) | |
| LCH | lch(26.24 47.81 24.97) | color: lch(26.24 47.81 24.97) |
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)
#4E4D1F — rgb(78, 77, 31)
Deuteranopia (Green-blind)
#545C1E — rgb(84, 92, 30)
Tritanopia (Blue-blind)
#761C1B — rgb(118, 28, 27)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(352, 72%, 28%);
text
color: hsl(352, 72%, 28%);
border
border: 2px solid hsl(352, 72%, 28%);
gradient light
background: linear-gradient(to right, hsl(352, 72%, 48%), hsl(352, 72%, 28%));
gradient dark
background: linear-gradient(to right, hsl(352, 72%, 28%), hsl(352, 72%, 8%))
hex
background-color: #7B1422;
tailwind
bg-[hsl(352,72%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(352, 72%, 28%, 0.4);
css variable
--color-primary: hsl(352, 72%, 28%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(352, 72%, 28%)?
HEX: #7B1422 | RGB: rgb(123, 20, 34) | CMYK: 0%, 84%, 72%, 52% | HSV: 352°, 84%, 48%. Copy any format from the conversion table above.
What colors go well with #7B1422?
The complementary color is HSL(172, 72%, 28%). 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, 72%, 28%) in CSS?
As HSL: color: hsl(352, 72%, 28%); — As HEX: color: #7B1422; — As RGB: color: rgb(123, 20, 34); — Tailwind CSS: bg-[hsl(352,72%,28%)] — CSS variable: --color-primary: hsl(352, 72%, 28%);