HSL(326, 97%, 18%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(326,97%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(326, 97%, 18%) | color: hsl(326, 97%, 18%) | |
| HEX | #5A0134 | color: #5A0134 | |
| RGB | rgb(90, 1, 52) | color: rgb(90, 1, 52) | |
| CMYK | cmyk(0%, 99%, 42%, 65%) | — | |
| HSV | hsv(326, 99%, 35%) | — | |
| HWB | hwb(326 0% 65%) | color: hwb(326 0% 65%) | |
| OKLCH | oklch(0.3068 0.1252 353.76) | color: oklch(0.3068 0.1252 353.76) | |
| Lab | lab(17.66 40.32 -5.34) | color: lab(17.66 40.32 -5.34) | |
| LCH | lch(17.66 40.67 352.46) | color: lch(17.66 40.67 352.46) |
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)
#333328 — rgb(51, 51, 40)
Deuteranopia (Green-blind)
#393F25 — rgb(57, 63, 37)
Tritanopia (Blue-blind)
#561E1C — rgb(86, 30, 28)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(326, 97%, 18%);
text
color: hsl(326, 97%, 18%);
border
border: 2px solid hsl(326, 97%, 18%);
gradient light
background: linear-gradient(to right, hsl(326, 97%, 38%), hsl(326, 97%, 18%));
gradient dark
background: linear-gradient(to right, hsl(326, 97%, 18%), hsl(326, 97%, 0%))
hex
background-color: #5A0134;
tailwind
bg-[hsl(326,97%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(326, 97%, 18%, 0.4);
css variable
--color-primary: hsl(326, 97%, 18%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(326, 97%, 18%)?
HEX: #5A0134 | RGB: rgb(90, 1, 52) | CMYK: 0%, 99%, 42%, 65% | HSV: 326°, 99%, 35%. Copy any format from the conversion table above.
What colors go well with #5A0134?
The complementary color is HSL(146, 97%, 18%). For a triadic harmony, use hues 326°, 86°, and 206°. For analogous combinations, try hues 296° and 356°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(326, 97%, 18%) in CSS?
As HSL: color: hsl(326, 97%, 18%); — As HEX: color: #5A0134; — As RGB: color: rgb(90, 1, 52); — Tailwind CSS: bg-[hsl(326,97%,18%)] — CSS variable: --color-primary: hsl(326, 97%, 18%);