HSL(331, 30%, 71%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(331,30%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(331, 30%, 71%) | color: hsl(331, 30%, 71%) | |
| HEX | #CB9FB4 | color: #CB9FB4 | |
| RGB | rgb(203, 159, 180) | color: rgb(203, 159, 180) | |
| CMYK | cmyk(0%, 22%, 11%, 20%) | — | |
| HSV | hsv(331, 22%, 80%) | — | |
| HWB | hwb(331 62% 20%) | color: hwb(331 62% 20%) | |
| OKLCH | oklch(0.7492 0.0589 348.33) | color: oklch(0.7492 0.0589 348.33) | |
| Lab | lab(70.03 19.65 -4.58) | color: lab(70.03 19.65 -4.58) | |
| LCH | lch(70.03 20.18 346.88) | color: lch(70.03 20.18 346.88) |
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)
#B8B8AF — rgb(184, 184, 175)
Deuteranopia (Green-blind)
#BBBEAE — rgb(187, 190, 174)
Tritanopia (Blue-blind)
#C9ABAA — rgb(201, 171, 170)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(331, 30%, 71%);
text
color: hsl(331, 30%, 71%);
border
border: 2px solid hsl(331, 30%, 71%);
gradient light
background: linear-gradient(to right, hsl(331, 30%, 91%), hsl(331, 30%, 71%));
gradient dark
background: linear-gradient(to right, hsl(331, 30%, 71%), hsl(331, 30%, 51%))
hex
background-color: #CB9FB4;
tailwind
bg-[hsl(331,30%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(331, 30%, 71%, 0.4);
css variable
--color-primary: hsl(331, 30%, 71%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(331, 30%, 71%)?
HEX: #CB9FB4 | RGB: rgb(203, 159, 180) | CMYK: 0%, 22%, 11%, 20% | HSV: 331°, 22%, 80%. Copy any format from the conversion table above.
What colors go well with #CB9FB4?
The complementary color is HSL(151, 30%, 71%). For a triadic harmony, use hues 331°, 91°, and 211°. For analogous combinations, try hues 301° and 1°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(331, 30%, 71%) in CSS?
As HSL: color: hsl(331, 30%, 71%); — As HEX: color: #CB9FB4; — As RGB: color: rgb(203, 159, 180); — Tailwind CSS: bg-[hsl(331,30%,71%)] — CSS variable: --color-primary: hsl(331, 30%, 71%);