HSL(340, 70%, 55%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(340,70%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 70%, 55%) | color: hsl(340, 70%, 55%) | |
| HEX | #DD3C71 | color: #DD3C71 | |
| RGB | rgb(221, 60, 113) | color: rgb(221, 60, 113) | |
| CMYK | cmyk(0%, 73%, 49%, 13%) | — | |
| HSV | hsv(340, 73%, 87%) | — | |
| HWB | hwb(340 23% 13%) | color: hwb(340 23% 13%) | |
| OKLCH | oklch(0.6087 0.1994 5.72) | color: oklch(0.6087 0.1994 5.72) | |
| Lab | lab(51.61 64.96 7.56) | color: lab(51.61 64.96 7.56) | |
| LCH | lch(51.61 65.4 6.64) | color: lch(51.61 65.4 6.64) |
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)
#979664 — rgb(151, 150, 100)
Deuteranopia (Green-blind)
#A1AD61 — rgb(161, 173, 97)
Tritanopia (Blue-blind)
#D55A58 — rgb(213, 90, 88)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 70%, 55%);
text
color: hsl(340, 70%, 55%);
border
border: 2px solid hsl(340, 70%, 55%);
gradient light
background: linear-gradient(to right, hsl(340, 70%, 75%), hsl(340, 70%, 55%));
gradient dark
background: linear-gradient(to right, hsl(340, 70%, 55%), hsl(340, 70%, 35%))
hex
background-color: #DD3C71;
tailwind
bg-[hsl(340,70%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 70%, 55%, 0.4);
css variable
--color-primary: hsl(340, 70%, 55%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 70%, 55%)?
HEX: #DD3C71 | RGB: rgb(221, 60, 113) | CMYK: 0%, 73%, 49%, 13% | HSV: 340°, 73%, 87%. Copy any format from the conversion table above.
What colors go well with #DD3C71?
The complementary color is HSL(160, 70%, 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, 70%, 55%) in CSS?
As HSL: color: hsl(340, 70%, 55%); — As HEX: color: #DD3C71; — As RGB: color: rgb(221, 60, 113); — Tailwind CSS: bg-[hsl(340,70%,55%)] — CSS variable: --color-primary: hsl(340, 70%, 55%);