HSL(337, 22%, 71%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(337,22%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(337, 22%, 71%) | color: hsl(337, 22%, 71%) | |
| HEX | #C5A5B1 | color: #C5A5B1 | |
| RGB | rgb(197, 165, 177) | color: rgb(197, 165, 177) | |
| CMYK | cmyk(0%, 16%, 10%, 23%) | — | |
| HSV | hsv(338, 16%, 77%) | — | |
| HWB | hwb(338 65% 23%) | color: hwb(338 65% 23%) | |
| OKLCH | oklch(0.7538 0.0407 353.57) | color: oklch(0.7538 0.0407 353.57) | |
| Lab | lab(70.84 13.69 -1.79) | color: lab(70.84 13.69 -1.79) | |
| LCH | lch(70.84 13.81 352.55) | color: lch(70.84 13.81 352.55) |
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)
#B7B7AE — rgb(183, 183, 174)
Deuteranopia (Green-blind)
#B9BBAD — rgb(185, 187, 173)
Tritanopia (Blue-blind)
#C3ACAB — rgb(195, 172, 171)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(337, 22%, 71%);
text
color: hsl(337, 22%, 71%);
border
border: 2px solid hsl(337, 22%, 71%);
gradient light
background: linear-gradient(to right, hsl(337, 22%, 91%), hsl(337, 22%, 71%));
gradient dark
background: linear-gradient(to right, hsl(337, 22%, 71%), hsl(337, 22%, 51%))
hex
background-color: #C5A5B1;
tailwind
bg-[hsl(337,22%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(337, 22%, 71%, 0.4);
css variable
--color-primary: hsl(337, 22%, 71%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(337, 22%, 71%)?
HEX: #C5A5B1 | RGB: rgb(197, 165, 177) | CMYK: 0%, 16%, 10%, 23% | HSV: 338°, 16%, 77%. Copy any format from the conversion table above.
What colors go well with #C5A5B1?
The complementary color is HSL(157, 22%, 71%). For a triadic harmony, use hues 337°, 97°, and 217°. For analogous combinations, try hues 307° and 7°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(337, 22%, 71%) in CSS?
As HSL: color: hsl(337, 22%, 71%); — As HEX: color: #C5A5B1; — As RGB: color: rgb(197, 165, 177); — Tailwind CSS: bg-[hsl(337,22%,71%)] — CSS variable: --color-primary: hsl(337, 22%, 71%);