HSL(318, 65%, 46%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(318,65%,46%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(318, 65%, 46%) | color: hsl(318, 65%, 46%) | |
| HEX | #C22994 | color: #C22994 | |
| RGB | rgb(194, 41, 148) | color: rgb(194, 41, 148) | |
| CMYK | cmyk(0%, 79%, 24%, 24%) | — | |
| HSV | hsv(318, 79%, 76%) | — | |
| HWB | hwb(318 16% 24%) | color: hwb(318 16% 24%) | |
| OKLCH | oklch(0.5619 0.2125 343.45) | color: oklch(0.5619 0.2125 343.45) | |
| Lab | lab(45.9 67.4 -22.61) | color: lab(45.9 67.4 -22.61) | |
| LCH | lch(45.9 71.09 341.46) | color: lch(45.9 71.09 341.46) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#807E7A — rgb(128, 126, 122)
Deuteranopia (Green-blind)
#899474 — rgb(137, 148, 116)
Tritanopia (Blue-blind)
#BA6661 — rgb(186, 102, 97)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(318, 65%, 46%);
text
color: hsl(318, 65%, 46%);
border
border: 2px solid hsl(318, 65%, 46%);
gradient light
background: linear-gradient(to right, hsl(318, 65%, 66%), hsl(318, 65%, 46%));
gradient dark
background: linear-gradient(to right, hsl(318, 65%, 46%), hsl(318, 65%, 26%))
hex
background-color: #C22994;
tailwind
bg-[hsl(318,65%,46%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(318, 65%, 46%, 0.4);
css variable
--color-primary: hsl(318, 65%, 46%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(318, 65%, 46%)?
HEX: #C22994 | RGB: rgb(194, 41, 148) | CMYK: 0%, 79%, 24%, 24% | HSV: 318°, 79%, 76%. Copy any format from the conversion table above.
What colors go well with #C22994?
The complementary color is HSL(138, 65%, 46%). For a triadic harmony, use hues 318°, 78°, and 198°. For analogous combinations, try hues 288° and 348°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(318, 65%, 46%) in CSS?
As HSL: color: hsl(318, 65%, 46%); — As HEX: color: #C22994; — As RGB: color: rgb(194, 41, 148); — Tailwind CSS: bg-[hsl(318,65%,46%)] — CSS variable: --color-primary: hsl(318, 65%, 46%);