HSL(331, 65%, 68%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(331,65%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(331, 65%, 68%) | color: hsl(331, 65%, 68%) | |
| HEX | #E278AC | color: #E278AC | |
| RGB | rgb(226, 120, 172) | color: rgb(226, 120, 172) | |
| CMYK | cmyk(0%, 47%, 24%, 11%) | — | |
| HSV | hsv(331, 47%, 89%) | — | |
| HWB | hwb(331 47% 11%) | color: hwb(331 47% 11%) | |
| OKLCH | oklch(0.7068 0.1437 350.65) | color: oklch(0.7068 0.1437 350.65) | |
| Lab | lab(63.82 47.15 -9.01) | color: lab(63.82 47.15 -9.01) | |
| LCH | lch(63.82 48 349.18) | color: lch(63.82 48 349.18) |
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)
#B4B39F — rgb(180, 179, 159)
Deuteranopia (Green-blind)
#BAC29C — rgb(186, 194, 156)
Tritanopia (Blue-blind)
#DD9593 — rgb(221, 149, 147)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(331, 65%, 68%);
text
color: hsl(331, 65%, 68%);
border
border: 2px solid hsl(331, 65%, 68%);
gradient light
background: linear-gradient(to right, hsl(331, 65%, 88%), hsl(331, 65%, 68%));
gradient dark
background: linear-gradient(to right, hsl(331, 65%, 68%), hsl(331, 65%, 48%))
hex
background-color: #E278AC;
tailwind
bg-[hsl(331,65%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(331, 65%, 68%, 0.4);
css variable
--color-primary: hsl(331, 65%, 68%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(331, 65%, 68%)?
HEX: #E278AC | RGB: rgb(226, 120, 172) | CMYK: 0%, 47%, 24%, 11% | HSV: 331°, 47%, 89%. Copy any format from the conversion table above.
What colors go well with #E278AC?
The complementary color is HSL(151, 65%, 68%). 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, 65%, 68%) in CSS?
As HSL: color: hsl(331, 65%, 68%); — As HEX: color: #E278AC; — As RGB: color: rgb(226, 120, 172); — Tailwind CSS: bg-[hsl(331,65%,68%)] — CSS variable: --color-primary: hsl(331, 65%, 68%);