HSL(352, 80%, 45%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(352,80%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(352, 80%, 45%) | color: hsl(352, 80%, 45%) | |
| HEX | #CF172F | color: #CF172F | |
| RGB | rgb(207, 23, 47) | color: rgb(207, 23, 47) | |
| CMYK | cmyk(0%, 89%, 77%, 19%) | — | |
| HSV | hsv(352, 89%, 81%) | — | |
| HWB | hwb(352 9% 19%) | color: hwb(352 9% 19%) | |
| OKLCH | oklch(0.5463 0.2106 23.05) | color: oklch(0.5463 0.2106 23.05) | |
| Lab | lab(44.36 66.7 37.53) | color: lab(44.36 66.7 37.53) | |
| LCH | lch(44.36 76.53 29.37) | color: lch(44.36 76.53 29.37) |
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)
#7F7E29 — rgb(127, 126, 41)
Deuteranopia (Green-blind)
#8A9828 — rgb(138, 152, 40)
Tritanopia (Blue-blind)
#C62524 — rgb(198, 37, 36)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(352, 80%, 45%);
text
color: hsl(352, 80%, 45%);
border
border: 2px solid hsl(352, 80%, 45%);
gradient light
background: linear-gradient(to right, hsl(352, 80%, 65%), hsl(352, 80%, 45%));
gradient dark
background: linear-gradient(to right, hsl(352, 80%, 45%), hsl(352, 80%, 25%))
hex
background-color: #CF172F;
tailwind
bg-[hsl(352,80%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(352, 80%, 45%, 0.4);
css variable
--color-primary: hsl(352, 80%, 45%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(352, 80%, 45%)?
HEX: #CF172F | RGB: rgb(207, 23, 47) | CMYK: 0%, 89%, 77%, 19% | HSV: 352°, 89%, 81%. Copy any format from the conversion table above.
What colors go well with #CF172F?
The complementary color is HSL(172, 80%, 45%). 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, 80%, 45%) in CSS?
As HSL: color: hsl(352, 80%, 45%); — As HEX: color: #CF172F; — As RGB: color: rgb(207, 23, 47); — Tailwind CSS: bg-[hsl(352,80%,45%)] — CSS variable: --color-primary: hsl(352, 80%, 45%);