HSL(340, 52%, 77%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(340,52%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 52%, 77%) | color: hsl(340, 52%, 77%) | |
| HEX | #E3A6BA | color: #E3A6BA | |
| RGB | rgb(227, 166, 186) | color: rgb(227, 166, 186) | |
| CMYK | cmyk(0%, 27%, 18%, 11%) | — | |
| HSV | hsv(340, 27%, 89%) | — | |
| HWB | hwb(340 65% 11%) | color: hwb(340 65% 11%) | |
| OKLCH | oklch(0.7881 0.0761 357.58) | color: oklch(0.7881 0.0761 357.58) | |
| Lab | lab(74.29 25.41 -1.36) | color: lab(74.29 25.41 -1.36) | |
| LCH | lch(74.29 25.45 356.94) | color: lch(74.29 25.45 356.94) |
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)
#C9C8B5 — rgb(201, 200, 181)
Deuteranopia (Green-blind)
#CCD1B4 — rgb(204, 209, 180)
Tritanopia (Blue-blind)
#E0B1B1 — rgb(224, 177, 177)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 52%, 77%);
text
color: hsl(340, 52%, 77%);
border
border: 2px solid hsl(340, 52%, 77%);
gradient light
background: linear-gradient(to right, hsl(340, 52%, 97%), hsl(340, 52%, 77%));
gradient dark
background: linear-gradient(to right, hsl(340, 52%, 77%), hsl(340, 52%, 57%))
hex
background-color: #E3A6BA;
tailwind
bg-[hsl(340,52%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 52%, 77%, 0.4);
css variable
--color-primary: hsl(340, 52%, 77%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 52%, 77%)?
HEX: #E3A6BA | RGB: rgb(227, 166, 186) | CMYK: 0%, 27%, 18%, 11% | HSV: 340°, 27%, 89%. Copy any format from the conversion table above.
What colors go well with #E3A6BA?
The complementary color is HSL(160, 52%, 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, 52%, 77%) in CSS?
As HSL: color: hsl(340, 52%, 77%); — As HEX: color: #E3A6BA; — As RGB: color: rgb(227, 166, 186); — Tailwind CSS: bg-[hsl(340,52%,77%)] — CSS variable: --color-primary: hsl(340, 52%, 77%);