HSL(339, 50%, 18%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(339,50%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(339, 50%, 18%) | color: hsl(339, 50%, 18%) | |
| HEX | #451727 | color: #451727 | |
| RGB | rgb(69, 23, 39) | color: rgb(69, 23, 39) | |
| CMYK | cmyk(0%, 67%, 43%, 73%) | — | |
| HSV | hsv(339, 67%, 27%) | — | |
| HWB | hwb(339 9% 73%) | color: hwb(339 9% 73%) | |
| OKLCH | oklch(0.282 0.073 1.24) | color: oklch(0.282 0.073 1.24) | |
| Lab | lab(15.62 23.93 0.49) | color: lab(15.62 23.93 0.49) | |
| LCH | lch(15.62 23.94 1.17) | color: lch(15.62 23.94 1.17) |
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)
#313123 — rgb(49, 49, 35)
Deuteranopia (Green-blind)
#343722 — rgb(52, 55, 34)
Tritanopia (Blue-blind)
#43201F — rgb(67, 32, 31)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(339, 50%, 18%);
text
color: hsl(339, 50%, 18%);
border
border: 2px solid hsl(339, 50%, 18%);
gradient light
background: linear-gradient(to right, hsl(339, 50%, 38%), hsl(339, 50%, 18%));
gradient dark
background: linear-gradient(to right, hsl(339, 50%, 18%), hsl(339, 50%, 0%))
hex
background-color: #451727;
tailwind
bg-[hsl(339,50%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(339, 50%, 18%, 0.4);
css variable
--color-primary: hsl(339, 50%, 18%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(339, 50%, 18%)?
HEX: #451727 | RGB: rgb(69, 23, 39) | CMYK: 0%, 67%, 43%, 73% | HSV: 339°, 67%, 27%. Copy any format from the conversion table above.
What colors go well with #451727?
The complementary color is HSL(159, 50%, 18%). For a triadic harmony, use hues 339°, 99°, and 219°. For analogous combinations, try hues 309° and 9°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(339, 50%, 18%) in CSS?
As HSL: color: hsl(339, 50%, 18%); — As HEX: color: #451727; — As RGB: color: rgb(69, 23, 39); — Tailwind CSS: bg-[hsl(339,50%,18%)] — CSS variable: --color-primary: hsl(339, 50%, 18%);