HSL(337, 48%, 54%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(337,48%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(337, 48%, 54%) | color: hsl(337, 48%, 54%) | |
| HEX | #C2517D | color: #C2517D | |
| RGB | rgb(194, 81, 125) | color: rgb(194, 81, 125) | |
| CMYK | cmyk(0%, 58%, 36%, 24%) | — | |
| HSV | hsv(337, 58%, 76%) | — | |
| HWB | hwb(337 32% 24%) | color: hwb(337 32% 24%) | |
| OKLCH | oklch(0.5929 0.1512 358.41) | color: oklch(0.5929 0.1512 358.41) | |
| Lab | lab(50.5 49.57 -1.84) | color: lab(50.5 49.57 -1.84) | |
| LCH | lch(50.5 49.6 357.87) | color: lch(50.5 49.6 357.87) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#919072 — rgb(145, 144, 114)
Deuteranopia (Green-blind)
#98A070 — rgb(152, 160, 112)
Tritanopia (Blue-blind)
#BC6A68 — rgb(188, 106, 104)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(337, 48%, 54%);
text
color: hsl(337, 48%, 54%);
border
border: 2px solid hsl(337, 48%, 54%);
gradient light
background: linear-gradient(to right, hsl(337, 48%, 74%), hsl(337, 48%, 54%));
gradient dark
background: linear-gradient(to right, hsl(337, 48%, 54%), hsl(337, 48%, 34%))
hex
background-color: #C2517D;
tailwind
bg-[hsl(337,48%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(337, 48%, 54%, 0.4);
css variable
--color-primary: hsl(337, 48%, 54%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(337, 48%, 54%)?
HEX: #C2517D | RGB: rgb(194, 81, 125) | CMYK: 0%, 58%, 36%, 24% | HSV: 337°, 58%, 76%. Copy any format from the conversion table above.
What colors go well with #C2517D?
The complementary color is HSL(157, 48%, 54%). 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, 48%, 54%) in CSS?
As HSL: color: hsl(337, 48%, 54%); — As HEX: color: #C2517D; — As RGB: color: rgb(194, 81, 125); — Tailwind CSS: bg-[hsl(337,48%,54%)] — CSS variable: --color-primary: hsl(337, 48%, 54%);