HSL(337, 77%, 27%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(337,77%,27%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(337, 77%, 27%) | color: hsl(337, 77%, 27%) | |
| HEX | #7A1038 | color: #7A1038 | |
| RGB | rgb(122, 16, 56) | color: rgb(122, 16, 56) | |
| CMYK | cmyk(0%, 87%, 54%, 52%) | — | |
| HSV | hsv(337, 87%, 48%) | — | |
| HWB | hwb(337 6% 52%) | color: hwb(337 6% 52%) | |
| OKLCH | oklch(0.3816 0.1402 5.45) | color: oklch(0.3816 0.1402 5.45) | |
| Lab | lab(26.14 45.62 5.1) | color: lab(26.14 45.62 5.1) | |
| LCH | lch(26.14 45.9 6.38) | color: lch(26.14 45.9 6.38) |
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)
#4C4B2E — rgb(76, 75, 46)
Deuteranopia (Green-blind)
#525A2C — rgb(82, 90, 44)
Tritanopia (Blue-blind)
#752725 — rgb(117, 39, 37)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(337, 77%, 27%);
text
color: hsl(337, 77%, 27%);
border
border: 2px solid hsl(337, 77%, 27%);
gradient light
background: linear-gradient(to right, hsl(337, 77%, 47%), hsl(337, 77%, 27%));
gradient dark
background: linear-gradient(to right, hsl(337, 77%, 27%), hsl(337, 77%, 7%))
hex
background-color: #7A1038;
tailwind
bg-[hsl(337,77%,27%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(337, 77%, 27%, 0.4);
css variable
--color-primary: hsl(337, 77%, 27%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(337, 77%, 27%)?
HEX: #7A1038 | RGB: rgb(122, 16, 56) | CMYK: 0%, 87%, 54%, 52% | HSV: 337°, 87%, 48%. Copy any format from the conversion table above.
What colors go well with #7A1038?
The complementary color is HSL(157, 77%, 27%). For a triadic harmony, use hues 337°, 97°, and 217°. For analogous combinations, try hues 307° and 7°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(337, 77%, 27%) in CSS?
As HSL: color: hsl(337, 77%, 27%); — As HEX: color: #7A1038; — As RGB: color: rgb(122, 16, 56); — Tailwind CSS: bg-[hsl(337,77%,27%)] — CSS variable: --color-primary: hsl(337, 77%, 27%);