HSL(352, 81%, 37%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(352,81%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(352, 81%, 37%) | color: hsl(352, 81%, 37%) | |
| HEX | #AB1226 | color: #AB1226 | |
| RGB | rgb(171, 18, 38) | color: rgb(171, 18, 38) | |
| CMYK | cmyk(0%, 89%, 78%, 33%) | — | |
| HSV | hsv(352, 89%, 67%) | — | |
| HWB | hwb(352 7% 33%) | color: hwb(352 7% 33%) | |
| OKLCH | oklch(0.4745 0.1821 22.86) | color: oklch(0.4745 0.1821 22.86) | |
| Lab | lab(36.43 57.71 32.06) | color: lab(36.43 57.71 32.06) | |
| LCH | lch(36.43 66.02 29.05) | color: lch(36.43 66.02 29.05) |
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)
#696721 — rgb(105, 103, 33)
Deuteranopia (Green-blind)
#727D20 — rgb(114, 125, 32)
Tritanopia (Blue-blind)
#A31D1D — rgb(163, 29, 29)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(352, 81%, 37%);
text
color: hsl(352, 81%, 37%);
border
border: 2px solid hsl(352, 81%, 37%);
gradient light
background: linear-gradient(to right, hsl(352, 81%, 57%), hsl(352, 81%, 37%));
gradient dark
background: linear-gradient(to right, hsl(352, 81%, 37%), hsl(352, 81%, 17%))
hex
background-color: #AB1226;
tailwind
bg-[hsl(352,81%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(352, 81%, 37%, 0.4);
css variable
--color-primary: hsl(352, 81%, 37%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(352, 81%, 37%)?
HEX: #AB1226 | RGB: rgb(171, 18, 38) | CMYK: 0%, 89%, 78%, 33% | HSV: 352°, 89%, 67%. Copy any format from the conversion table above.
What colors go well with #AB1226?
The complementary color is HSL(172, 81%, 37%). 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%, 37%) in CSS?
As HSL: color: hsl(352, 81%, 37%); — As HEX: color: #AB1226; — As RGB: color: rgb(171, 18, 38); — Tailwind CSS: bg-[hsl(352,81%,37%)] — CSS variable: --color-primary: hsl(352, 81%, 37%);