HSL(337, 51%, 33%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(337,51%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(337, 51%, 33%) | color: hsl(337, 51%, 33%) | |
| HEX | #7F294A | color: #7F294A | |
| RGB | rgb(127, 41, 74) | color: rgb(127, 41, 74) | |
| CMYK | cmyk(0%, 68%, 42%, 50%) | — | |
| HSV | hsv(337, 68%, 50%) | — | |
| HWB | hwb(337 16% 50%) | color: hwb(337 16% 50%) | |
| OKLCH | oklch(0.42 0.1225 0.21) | color: oklch(0.42 0.1225 0.21) | |
| Lab | lab(30.86 40.05 -0.01) | color: lab(30.86 40.05 -0.01) | |
| LCH | lch(30.86 40.05 359.99) | color: lch(30.86 40.05 359.99) |
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)
#5A5942 — rgb(90, 89, 66)
Deuteranopia (Green-blind)
#5F6540 — rgb(95, 101, 64)
Tritanopia (Blue-blind)
#7B3C3A — rgb(123, 60, 58)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(337, 51%, 33%);
text
color: hsl(337, 51%, 33%);
border
border: 2px solid hsl(337, 51%, 33%);
gradient light
background: linear-gradient(to right, hsl(337, 51%, 53%), hsl(337, 51%, 33%));
gradient dark
background: linear-gradient(to right, hsl(337, 51%, 33%), hsl(337, 51%, 13%))
hex
background-color: #7F294A;
tailwind
bg-[hsl(337,51%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(337, 51%, 33%, 0.4);
css variable
--color-primary: hsl(337, 51%, 33%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(337, 51%, 33%)?
HEX: #7F294A | RGB: rgb(127, 41, 74) | CMYK: 0%, 68%, 42%, 50% | HSV: 337°, 68%, 50%. Copy any format from the conversion table above.
What colors go well with #7F294A?
The complementary color is HSL(157, 51%, 33%). 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, 51%, 33%) in CSS?
As HSL: color: hsl(337, 51%, 33%); — As HEX: color: #7F294A; — As RGB: color: rgb(127, 41, 74); — Tailwind CSS: bg-[hsl(337,51%,33%)] — CSS variable: --color-primary: hsl(337, 51%, 33%);