HSL(340, 60%, 77%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(340,60%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 60%, 77%) | color: hsl(340, 60%, 77%) | |
| HEX | #E8A1B9 | color: #E8A1B9 | |
| RGB | rgb(232, 161, 185) | color: rgb(232, 161, 185) | |
| CMYK | cmyk(0%, 31%, 20%, 9%) | — | |
| HSV | hsv(340, 31%, 91%) | — | |
| HWB | hwb(340 63% 9%) | color: hwb(340 63% 9%) | |
| OKLCH | oklch(0.7843 0.0892 357.41) | color: oklch(0.7843 0.0892 357.41) | |
| Lab | lab(73.64 29.71 -1.68) | color: lab(73.64 29.71 -1.68) | |
| LCH | lch(73.64 29.76 356.76) | color: lch(73.64 29.76 356.76) |
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)
#C9C9B3 — rgb(201, 201, 179)
Deuteranopia (Green-blind)
#CDD3B2 — rgb(205, 211, 178)
Tritanopia (Blue-blind)
#E4AFAE — rgb(228, 175, 174)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 60%, 77%);
text
color: hsl(340, 60%, 77%);
border
border: 2px solid hsl(340, 60%, 77%);
gradient light
background: linear-gradient(to right, hsl(340, 60%, 97%), hsl(340, 60%, 77%));
gradient dark
background: linear-gradient(to right, hsl(340, 60%, 77%), hsl(340, 60%, 57%))
hex
background-color: #E8A1B9;
tailwind
bg-[hsl(340,60%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 60%, 77%, 0.4);
css variable
--color-primary: hsl(340, 60%, 77%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 60%, 77%)?
HEX: #E8A1B9 | RGB: rgb(232, 161, 185) | CMYK: 0%, 31%, 20%, 9% | HSV: 340°, 31%, 91%. Copy any format from the conversion table above.
What colors go well with #E8A1B9?
The complementary color is HSL(160, 60%, 77%). For a triadic harmony, use hues 340°, 100°, and 220°. For analogous combinations, try hues 310° and 10°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(340, 60%, 77%) in CSS?
As HSL: color: hsl(340, 60%, 77%); — As HEX: color: #E8A1B9; — As RGB: color: rgb(232, 161, 185); — Tailwind CSS: bg-[hsl(340,60%,77%)] — CSS variable: --color-primary: hsl(340, 60%, 77%);