HSL(326, 20%, 51%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(326,20%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(326, 20%, 51%) | color: hsl(326, 20%, 51%) | |
| HEX | #9B6985 | color: #9B6985 | |
| RGB | rgb(155, 105, 133) | color: rgb(155, 105, 133) | |
| CMYK | cmyk(0%, 32%, 14%, 39%) | — | |
| HSV | hsv(326, 32%, 61%) | — | |
| HWB | hwb(326 41% 39%) | color: hwb(326 41% 39%) | |
| OKLCH | oklch(0.5821 0.0743 345.01) | color: oklch(0.5821 0.0743 345.01) | |
| Lab | lab(50.41 24.42 -7.32) | color: lab(50.41 24.42 -7.32) | |
| LCH | lch(50.41 25.49 343.31) | color: lch(50.41 25.49 343.31) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#85857E — rgb(133, 133, 126)
Deuteranopia (Green-blind)
#888C7D — rgb(136, 140, 125)
Tritanopia (Blue-blind)
#997978 — rgb(153, 121, 120)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(326, 20%, 51%);
text
color: hsl(326, 20%, 51%);
border
border: 2px solid hsl(326, 20%, 51%);
gradient light
background: linear-gradient(to right, hsl(326, 20%, 71%), hsl(326, 20%, 51%));
gradient dark
background: linear-gradient(to right, hsl(326, 20%, 51%), hsl(326, 20%, 31%))
hex
background-color: #9B6985;
tailwind
bg-[hsl(326,20%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(326, 20%, 51%, 0.4);
css variable
--color-primary: hsl(326, 20%, 51%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(326, 20%, 51%)?
HEX: #9B6985 | RGB: rgb(155, 105, 133) | CMYK: 0%, 32%, 14%, 39% | HSV: 326°, 32%, 61%. Copy any format from the conversion table above.
What colors go well with #9B6985?
The complementary color is HSL(146, 20%, 51%). 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, 20%, 51%) in CSS?
As HSL: color: hsl(326, 20%, 51%); — As HEX: color: #9B6985; — As RGB: color: rgb(155, 105, 133); — Tailwind CSS: bg-[hsl(326,20%,51%)] — CSS variable: --color-primary: hsl(326, 20%, 51%);