HSL(340, 20%, 62%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(340,20%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 20%, 62%) | color: hsl(340, 20%, 62%) | |
| HEX | #B18B98 | color: #B18B98 | |
| RGB | rgb(177, 139, 152) | color: rgb(177, 139, 152) | |
| CMYK | cmyk(0%, 21%, 14%, 31%) | — | |
| HSV | hsv(339, 21%, 69%) | — | |
| HWB | hwb(339 55% 31%) | color: hwb(339 55% 31%) | |
| OKLCH | oklch(0.6764 0.0493 356.06) | color: oklch(0.6764 0.0493 356.06) | |
| Lab | lab(61.72 16.52 -1.37) | color: lab(61.72 16.52 -1.37) | |
| LCH | lch(61.72 16.58 355.26) | color: lch(61.72 16.58 355.26) |
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)
#A1A095 — rgb(161, 160, 149)
Deuteranopia (Green-blind)
#A3A694 — rgb(163, 166, 148)
Tritanopia (Blue-blind)
#AF9292 — rgb(175, 146, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 20%, 62%);
text
color: hsl(340, 20%, 62%);
border
border: 2px solid hsl(340, 20%, 62%);
gradient light
background: linear-gradient(to right, hsl(340, 20%, 82%), hsl(340, 20%, 62%));
gradient dark
background: linear-gradient(to right, hsl(340, 20%, 62%), hsl(340, 20%, 42%))
hex
background-color: #B18B98;
tailwind
bg-[hsl(340,20%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 20%, 62%, 0.4);
css variable
--color-primary: hsl(340, 20%, 62%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 20%, 62%)?
HEX: #B18B98 | RGB: rgb(177, 139, 152) | CMYK: 0%, 21%, 14%, 31% | HSV: 339°, 21%, 69%. Copy any format from the conversion table above.
What colors go well with #B18B98?
The complementary color is HSL(160, 20%, 62%). 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, 20%, 62%) in CSS?
As HSL: color: hsl(340, 20%, 62%); — As HEX: color: #B18B98; — As RGB: color: rgb(177, 139, 152); — Tailwind CSS: bg-[hsl(340,20%,62%)] — CSS variable: --color-primary: hsl(340, 20%, 62%);