HSL(340, 72%, 77%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(340,72%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 72%, 77%) | color: hsl(340, 72%, 77%) | |
| HEX | #EF9AB6 | color: #EF9AB6 | |
| RGB | rgb(239, 154, 182) | color: rgb(239, 154, 182) | |
| CMYK | cmyk(0%, 36%, 24%, 6%) | — | |
| HSV | hsv(340, 36%, 94%) | — | |
| HWB | hwb(340 60% 6%) | color: hwb(340 60% 6%) | |
| OKLCH | oklch(0.7792 0.1068 358.58) | color: oklch(0.7792 0.1068 358.58) | |
| Lab | lab(72.79 35.45 -1.19) | color: lab(72.79 35.45 -1.19) | |
| LCH | lch(72.79 35.47 358.08) | color: lch(72.79 35.47 358.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)
#CAC9AF — rgb(202, 201, 175)
Deuteranopia (Green-blind)
#CFD6AE — rgb(207, 214, 174)
Tritanopia (Blue-blind)
#EBAAA9 — rgb(235, 170, 169)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 72%, 77%);
text
color: hsl(340, 72%, 77%);
border
border: 2px solid hsl(340, 72%, 77%);
gradient light
background: linear-gradient(to right, hsl(340, 72%, 97%), hsl(340, 72%, 77%));
gradient dark
background: linear-gradient(to right, hsl(340, 72%, 77%), hsl(340, 72%, 57%))
hex
background-color: #EF9AB6;
tailwind
bg-[hsl(340,72%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 72%, 77%, 0.4);
css variable
--color-primary: hsl(340, 72%, 77%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 72%, 77%)?
HEX: #EF9AB6 | RGB: rgb(239, 154, 182) | CMYK: 0%, 36%, 24%, 6% | HSV: 340°, 36%, 94%. Copy any format from the conversion table above.
What colors go well with #EF9AB6?
The complementary color is HSL(160, 72%, 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, 72%, 77%) in CSS?
As HSL: color: hsl(340, 72%, 77%); — As HEX: color: #EF9AB6; — As RGB: color: rgb(239, 154, 182); — Tailwind CSS: bg-[hsl(340,72%,77%)] — CSS variable: --color-primary: hsl(340, 72%, 77%);