HSL(338, 50%, 49%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(338,50%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(338, 50%, 49%) | color: hsl(338, 50%, 49%) | |
| HEX | #BB3E6C | color: #BB3E6C | |
| RGB | rgb(187, 62, 108) | color: rgb(187, 62, 108) | |
| CMYK | cmyk(0%, 67%, 42%, 27%) | — | |
| HSV | hsv(338, 67%, 73%) | — | |
| HWB | hwb(338 24% 27%) | color: hwb(338 24% 27%) | |
| OKLCH | oklch(0.5539 0.1647 1.5) | color: oklch(0.5539 0.1647 1.5) | |
| Lab | lab(45.77 53.81 1.43) | color: lab(45.77 53.81 1.43) | |
| LCH | lch(45.77 53.83 1.52) | color: lch(45.77 53.83 1.52) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#858461 — rgb(133, 132, 97)
Deuteranopia (Green-blind)
#8C965E — rgb(140, 150, 94)
Tritanopia (Blue-blind)
#B55856 — rgb(181, 88, 86)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(338, 50%, 49%);
text
color: hsl(338, 50%, 49%);
border
border: 2px solid hsl(338, 50%, 49%);
gradient light
background: linear-gradient(to right, hsl(338, 50%, 69%), hsl(338, 50%, 49%));
gradient dark
background: linear-gradient(to right, hsl(338, 50%, 49%), hsl(338, 50%, 29%))
hex
background-color: #BB3E6C;
tailwind
bg-[hsl(338,50%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(338, 50%, 49%, 0.4);
css variable
--color-primary: hsl(338, 50%, 49%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(338, 50%, 49%)?
HEX: #BB3E6C | RGB: rgb(187, 62, 108) | CMYK: 0%, 67%, 42%, 27% | HSV: 338°, 67%, 73%. Copy any format from the conversion table above.
What colors go well with #BB3E6C?
The complementary color is HSL(158, 50%, 49%). For a triadic harmony, use hues 338°, 98°, and 218°. For analogous combinations, try hues 308° and 8°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(338, 50%, 49%) in CSS?
As HSL: color: hsl(338, 50%, 49%); — As HEX: color: #BB3E6C; — As RGB: color: rgb(187, 62, 108); — Tailwind CSS: bg-[hsl(338,50%,49%)] — CSS variable: --color-primary: hsl(338, 50%, 49%);