HSL(340, 42%, 53%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(340,42%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 42%, 53%) | color: hsl(340, 42%, 53%) | |
| HEX | #B95576 | color: #B95576 | |
| RGB | rgb(185, 85, 118) | color: rgb(185, 85, 118) | |
| CMYK | cmyk(0%, 54%, 36%, 27%) | — | |
| HSV | hsv(340, 54%, 73%) | — | |
| HWB | hwb(340 34% 27%) | color: hwb(340 34% 27%) | |
| OKLCH | oklch(0.5831 0.1334 1.31) | color: oklch(0.5831 0.1334 1.31) | |
| Lab | lab(49.64 43.81 0.95) | color: lab(49.64 43.81 0.95) | |
| LCH | lch(49.64 43.82 1.24) | color: lch(49.64 43.82 1.24) |
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)
#8E8D6E — rgb(142, 141, 110)
Deuteranopia (Green-blind)
#949B6C — rgb(148, 155, 108)
Tritanopia (Blue-blind)
#B46866 — rgb(180, 104, 102)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 42%, 53%);
text
color: hsl(340, 42%, 53%);
border
border: 2px solid hsl(340, 42%, 53%);
gradient light
background: linear-gradient(to right, hsl(340, 42%, 73%), hsl(340, 42%, 53%));
gradient dark
background: linear-gradient(to right, hsl(340, 42%, 53%), hsl(340, 42%, 33%))
hex
background-color: #B95576;
tailwind
bg-[hsl(340,42%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 42%, 53%, 0.4);
css variable
--color-primary: hsl(340, 42%, 53%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 42%, 53%)?
HEX: #B95576 | RGB: rgb(185, 85, 118) | CMYK: 0%, 54%, 36%, 27% | HSV: 340°, 54%, 73%. Copy any format from the conversion table above.
What colors go well with #B95576?
The complementary color is HSL(160, 42%, 53%). 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%, 53%) in CSS?
As HSL: color: hsl(340, 42%, 53%); — As HEX: color: #B95576; — As RGB: color: rgb(185, 85, 118); — Tailwind CSS: bg-[hsl(340,42%,53%)] — CSS variable: --color-primary: hsl(340, 42%, 53%);