HSL(340, 42%, 57%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(340,42%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 42%, 57%) | color: hsl(340, 42%, 57%) | |
| HEX | #BF6382 | color: #BF6382 | |
| RGB | rgb(191, 99, 130) | color: rgb(191, 99, 130) | |
| CMYK | cmyk(0%, 48%, 32%, 25%) | — | |
| HSV | hsv(340, 48%, 75%) | — | |
| HWB | hwb(340 39% 25%) | color: hwb(340 39% 25%) | |
| OKLCH | oklch(0.6159 0.1222 359.89) | color: oklch(0.6159 0.1222 359.89) | |
| Lab | lab(53.62 40.28 -0.29) | color: lab(53.62 40.28 -0.29) | |
| LCH | lch(53.62 40.28 359.59) | color: lch(53.62 40.28 359.59) |
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)
#97967A — rgb(151, 150, 122)
Deuteranopia (Green-blind)
#9DA379 — rgb(157, 163, 121)
Tritanopia (Blue-blind)
#BA7573 — rgb(186, 117, 115)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 42%, 57%);
text
color: hsl(340, 42%, 57%);
border
border: 2px solid hsl(340, 42%, 57%);
gradient light
background: linear-gradient(to right, hsl(340, 42%, 77%), hsl(340, 42%, 57%));
gradient dark
background: linear-gradient(to right, hsl(340, 42%, 57%), hsl(340, 42%, 37%))
hex
background-color: #BF6382;
tailwind
bg-[hsl(340,42%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 42%, 57%, 0.4);
css variable
--color-primary: hsl(340, 42%, 57%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 42%, 57%)?
HEX: #BF6382 | RGB: rgb(191, 99, 130) | CMYK: 0%, 48%, 32%, 25% | HSV: 340°, 48%, 75%. Copy any format from the conversion table above.
What colors go well with #BF6382?
The complementary color is HSL(160, 42%, 57%). 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, 42%, 57%) in CSS?
As HSL: color: hsl(340, 42%, 57%); — As HEX: color: #BF6382; — As RGB: color: rgb(191, 99, 130); — Tailwind CSS: bg-[hsl(340,42%,57%)] — CSS variable: --color-primary: hsl(340, 42%, 57%);