HSL(340, 72%, 55%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(340,72%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 72%, 55%) | color: hsl(340, 72%, 55%) | |
| HEX | #DF3A71 | color: #DF3A71 | |
| RGB | rgb(223, 58, 113) | color: rgb(223, 58, 113) | |
| CMYK | cmyk(0%, 74%, 49%, 13%) | — | |
| HSV | hsv(340, 74%, 87%) | — | |
| HWB | hwb(340 23% 13%) | color: hwb(340 23% 13%) | |
| OKLCH | oklch(0.6103 0.2031 5.77) | color: oklch(0.6103 0.2031 5.77) | |
| Lab | lab(51.74 66.17 7.79) | color: lab(51.74 66.17 7.79) | |
| LCH | lch(51.74 66.63 6.71) | color: lch(51.74 66.63 6.71) |
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)
#989664 — rgb(152, 150, 100)
Deuteranopia (Green-blind)
#A1AE61 — rgb(161, 174, 97)
Tritanopia (Blue-blind)
#D75957 — rgb(215, 89, 87)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 72%, 55%);
text
color: hsl(340, 72%, 55%);
border
border: 2px solid hsl(340, 72%, 55%);
gradient light
background: linear-gradient(to right, hsl(340, 72%, 75%), hsl(340, 72%, 55%));
gradient dark
background: linear-gradient(to right, hsl(340, 72%, 55%), hsl(340, 72%, 35%))
hex
background-color: #DF3A71;
tailwind
bg-[hsl(340,72%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 72%, 55%, 0.4);
css variable
--color-primary: hsl(340, 72%, 55%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 72%, 55%)?
HEX: #DF3A71 | RGB: rgb(223, 58, 113) | CMYK: 0%, 74%, 49%, 13% | HSV: 340°, 74%, 87%. Copy any format from the conversion table above.
What colors go well with #DF3A71?
The complementary color is HSL(160, 72%, 55%). 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%, 55%) in CSS?
As HSL: color: hsl(340, 72%, 55%); — As HEX: color: #DF3A71; — As RGB: color: rgb(223, 58, 113); — Tailwind CSS: bg-[hsl(340,72%,55%)] — CSS variable: --color-primary: hsl(340, 72%, 55%);