HSL(316, 40%, 60%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(316,40%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(316, 40%, 60%) | color: hsl(316, 40%, 60%) | |
| HEX | #C270AC | color: #C270AC | |
| RGB | rgb(194, 112, 172) | color: rgb(194, 112, 172) | |
| CMYK | cmyk(0%, 42%, 11%, 24%) | — | |
| HSV | hsv(316, 42%, 76%) | — | |
| HWB | hwb(316 44% 24%) | color: hwb(316 44% 24%) | |
| OKLCH | oklch(0.6549 0.128 337.76) | color: oklch(0.6549 0.128 337.76) | |
| Lab | lab(58.07 40.76 -18.08) | color: lab(58.07 40.76 -18.08) | |
| LCH | lch(58.07 44.59 336.08) | color: lch(58.07 44.59 336.08) |
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)
#9E9E9D — rgb(158, 158, 157)
Deuteranopia (Green-blind)
#A3A99A — rgb(163, 169, 154)
Tritanopia (Blue-blind)
#BE9290 — rgb(190, 146, 144)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(316, 40%, 60%);
text
color: hsl(316, 40%, 60%);
border
border: 2px solid hsl(316, 40%, 60%);
gradient light
background: linear-gradient(to right, hsl(316, 40%, 80%), hsl(316, 40%, 60%));
gradient dark
background: linear-gradient(to right, hsl(316, 40%, 60%), hsl(316, 40%, 40%))
hex
background-color: #C270AC;
tailwind
bg-[hsl(316,40%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(316, 40%, 60%, 0.4);
css variable
--color-primary: hsl(316, 40%, 60%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(316, 40%, 60%)?
HEX: #C270AC | RGB: rgb(194, 112, 172) | CMYK: 0%, 42%, 11%, 24% | HSV: 316°, 42%, 76%. Copy any format from the conversion table above.
What colors go well with #C270AC?
The complementary color is HSL(136, 40%, 60%). For a triadic harmony, use hues 316°, 76°, and 196°. For analogous combinations, try hues 286° and 346°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(316, 40%, 60%) in CSS?
As HSL: color: hsl(316, 40%, 60%); — As HEX: color: #C270AC; — As RGB: color: rgb(194, 112, 172); — Tailwind CSS: bg-[hsl(316,40%,60%)] — CSS variable: --color-primary: hsl(316, 40%, 60%);