HSL(342, 57%, 67%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,57%,67%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 57%, 67%) | color: hsl(342, 57%, 67%) | |
| HEX | #DB7B98 | color: #DB7B98 | |
| RGB | rgb(219, 123, 152) | color: rgb(219, 123, 152) | |
| CMYK | cmyk(0%, 44%, 31%, 14%) | — | |
| HSV | hsv(342, 44%, 86%) | — | |
| HWB | hwb(342 48% 14%) | color: hwb(342 48% 14%) | |
| OKLCH | oklch(0.6962 0.1229 1.43) | color: oklch(0.6962 0.1229 1.43) | |
| Lab | lab(62.92 40.54 0.97) | color: lab(62.92 40.54 0.97) | |
| LCH | lch(62.92 40.55 1.37) | color: lch(62.92 40.55 1.37) |
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)
#B1B191 — rgb(177, 177, 145)
Deuteranopia (Green-blind)
#B7BE8F — rgb(183, 190, 143)
Tritanopia (Blue-blind)
#D68B8A — rgb(214, 139, 138)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 57%, 67%);
text
color: hsl(342, 57%, 67%);
border
border: 2px solid hsl(342, 57%, 67%);
gradient light
background: linear-gradient(to right, hsl(342, 57%, 87%), hsl(342, 57%, 67%));
gradient dark
background: linear-gradient(to right, hsl(342, 57%, 67%), hsl(342, 57%, 47%))
hex
background-color: #DB7B98;
tailwind
bg-[hsl(342,57%,67%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 57%, 67%, 0.4);
css variable
--color-primary: hsl(342, 57%, 67%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 57%, 67%)?
HEX: #DB7B98 | RGB: rgb(219, 123, 152) | CMYK: 0%, 44%, 31%, 14% | HSV: 342°, 44%, 86%. Copy any format from the conversion table above.
What colors go well with #DB7B98?
The complementary color is HSL(162, 57%, 67%). For a triadic harmony, use hues 342°, 102°, and 222°. For analogous combinations, try hues 312° and 12°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(342, 57%, 67%) in CSS?
As HSL: color: hsl(342, 57%, 67%); — As HEX: color: #DB7B98; — As RGB: color: rgb(219, 123, 152); — Tailwind CSS: bg-[hsl(342,57%,67%)] — CSS variable: --color-primary: hsl(342, 57%, 67%);