HSL(339, 72%, 38%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(339,72%,38%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(339, 72%, 38%) | color: hsl(339, 72%, 38%) | |
| HEX | #A71B4C | color: #A71B4C | |
| RGB | rgb(167, 27, 76) | color: rgb(167, 27, 76) | |
| CMYK | cmyk(0%, 84%, 54%, 35%) | — | |
| HSV | hsv(339, 84%, 65%) | — | |
| HWB | hwb(339 10% 35%) | color: hwb(339 10% 35%) | |
| OKLCH | oklch(0.4793 0.1748 7.14) | color: oklch(0.4793 0.1748 7.14) | |
| Lab | lab(36.97 56.84 8.46) | color: lab(36.97 56.84 8.46) | |
| LCH | lch(36.97 57.47 8.47) | color: lch(36.97 57.47 8.47) |
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)
#6A6940 — rgb(106, 105, 64)
Deuteranopia (Green-blind)
#737D3D — rgb(115, 125, 61)
Tritanopia (Blue-blind)
#A03735 — rgb(160, 55, 53)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(339, 72%, 38%);
text
color: hsl(339, 72%, 38%);
border
border: 2px solid hsl(339, 72%, 38%);
gradient light
background: linear-gradient(to right, hsl(339, 72%, 58%), hsl(339, 72%, 38%));
gradient dark
background: linear-gradient(to right, hsl(339, 72%, 38%), hsl(339, 72%, 18%))
hex
background-color: #A71B4C;
tailwind
bg-[hsl(339,72%,38%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(339, 72%, 38%, 0.4);
css variable
--color-primary: hsl(339, 72%, 38%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(339, 72%, 38%)?
HEX: #A71B4C | RGB: rgb(167, 27, 76) | CMYK: 0%, 84%, 54%, 35% | HSV: 339°, 84%, 65%. Copy any format from the conversion table above.
What colors go well with #A71B4C?
The complementary color is HSL(159, 72%, 38%). 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, 72%, 38%) in CSS?
As HSL: color: hsl(339, 72%, 38%); — As HEX: color: #A71B4C; — As RGB: color: rgb(167, 27, 76); — Tailwind CSS: bg-[hsl(339,72%,38%)] — CSS variable: --color-primary: hsl(339, 72%, 38%);