HSL(320, 42%, 64%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(320,42%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(320, 42%, 64%) | color: hsl(320, 42%, 64%) | |
| HEX | #CA7DB0 | color: #CA7DB0 | |
| RGB | rgb(202, 125, 176) | color: rgb(202, 125, 176) | |
| CMYK | cmyk(0%, 38%, 13%, 21%) | — | |
| HSV | hsv(320, 38%, 79%) | — | |
| HWB | hwb(320 49% 21%) | color: hwb(320 49% 21%) | |
| OKLCH | oklch(0.6868 0.1152 340.61) | color: oklch(0.6868 0.1152 340.61) | |
| Lab | lab(61.96 37.16 -14.38) | color: lab(61.96 37.16 -14.38) | |
| LCH | lch(61.96 39.85 338.84) | color: lch(61.96 39.85 338.84) |
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)
#A9A8A4 — rgb(169, 168, 164)
Deuteranopia (Green-blind)
#ADB3A1 — rgb(173, 179, 161)
Tritanopia (Blue-blind)
#C69A98 — rgb(198, 154, 152)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(320, 42%, 64%);
text
color: hsl(320, 42%, 64%);
border
border: 2px solid hsl(320, 42%, 64%);
gradient light
background: linear-gradient(to right, hsl(320, 42%, 84%), hsl(320, 42%, 64%));
gradient dark
background: linear-gradient(to right, hsl(320, 42%, 64%), hsl(320, 42%, 44%))
hex
background-color: #CA7DB0;
tailwind
bg-[hsl(320,42%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(320, 42%, 64%, 0.4);
css variable
--color-primary: hsl(320, 42%, 64%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(320, 42%, 64%)?
HEX: #CA7DB0 | RGB: rgb(202, 125, 176) | CMYK: 0%, 38%, 13%, 21% | HSV: 320°, 38%, 79%. Copy any format from the conversion table above.
What colors go well with #CA7DB0?
The complementary color is HSL(140, 42%, 64%). For a triadic harmony, use hues 320°, 80°, and 200°. For analogous combinations, try hues 290° and 350°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(320, 42%, 64%) in CSS?
As HSL: color: hsl(320, 42%, 64%); — As HEX: color: #CA7DB0; — As RGB: color: rgb(202, 125, 176); — Tailwind CSS: bg-[hsl(320,42%,64%)] — CSS variable: --color-primary: hsl(320, 42%, 64%);