HSL(331, 45%, 66%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(331,45%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(331, 45%, 66%) | color: hsl(331, 45%, 66%) | |
| HEX | #CF81A7 | color: #CF81A7 | |
| RGB | rgb(207, 129, 167) | color: rgb(207, 129, 167) | |
| CMYK | cmyk(0%, 38%, 19%, 19%) | — | |
| HSV | hsv(331, 38%, 81%) | — | |
| HWB | hwb(331 50% 19%) | color: hwb(331 50% 19%) | |
| OKLCH | oklch(0.6961 0.1069 349.59) | color: oklch(0.6961 0.1069 349.59) | |
| Lab | lab(63.14 35.3 -7.43) | color: lab(63.14 35.3 -7.43) | |
| LCH | lch(63.14 36.07 348.11) | color: lch(63.14 36.07 348.11) |
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)
#ADAD9E — rgb(173, 173, 158)
Deuteranopia (Green-blind)
#B2B89C — rgb(178, 184, 156)
Tritanopia (Blue-blind)
#CB9795 — rgb(203, 151, 149)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(331, 45%, 66%);
text
color: hsl(331, 45%, 66%);
border
border: 2px solid hsl(331, 45%, 66%);
gradient light
background: linear-gradient(to right, hsl(331, 45%, 86%), hsl(331, 45%, 66%));
gradient dark
background: linear-gradient(to right, hsl(331, 45%, 66%), hsl(331, 45%, 46%))
hex
background-color: #CF81A7;
tailwind
bg-[hsl(331,45%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(331, 45%, 66%, 0.4);
css variable
--color-primary: hsl(331, 45%, 66%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(331, 45%, 66%)?
HEX: #CF81A7 | RGB: rgb(207, 129, 167) | CMYK: 0%, 38%, 19%, 19% | HSV: 331°, 38%, 81%. Copy any format from the conversion table above.
What colors go well with #CF81A7?
The complementary color is HSL(151, 45%, 66%). 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, 45%, 66%) in CSS?
As HSL: color: hsl(331, 45%, 66%); — As HEX: color: #CF81A7; — As RGB: color: rgb(207, 129, 167); — Tailwind CSS: bg-[hsl(331,45%,66%)] — CSS variable: --color-primary: hsl(331, 45%, 66%);