HSL(342, 83%, 52%)
Vivid Pink — Pink color
Adjust Color
Color Information
Color Name
Vivid Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,83%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 83%, 52%) | color: hsl(342, 83%, 52%) | |
| HEX | #EA1F5C | color: #EA1F5C | |
| RGB | rgb(234, 31, 92) | color: rgb(234, 31, 92) | |
| CMYK | cmyk(0%, 87%, 61%, 8%) | — | |
| HSV | hsv(342, 87%, 92%) | — | |
| HWB | hwb(342 12% 8%) | color: hwb(342 12% 8%) | |
| OKLCH | oklch(0.6068 0.2293 12.22) | color: oklch(0.6068 0.2293 12.22) | |
| Lab | lab(50.98 74.25 19.79) | color: lab(50.98 74.25 19.79) | |
| LCH | lch(50.98 76.84 14.92) | color: lch(50.98 76.84 14.92) |
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)
#92904D — rgb(146, 144, 77)
Deuteranopia (Green-blind)
#9EAD4A — rgb(158, 173, 74)
Tritanopia (Blue-blind)
#E0423F — rgb(224, 66, 63)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 83%, 52%);
text
color: hsl(342, 83%, 52%);
border
border: 2px solid hsl(342, 83%, 52%);
gradient light
background: linear-gradient(to right, hsl(342, 83%, 72%), hsl(342, 83%, 52%));
gradient dark
background: linear-gradient(to right, hsl(342, 83%, 52%), hsl(342, 83%, 32%))
hex
background-color: #EA1F5C;
tailwind
bg-[hsl(342,83%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 83%, 52%, 0.4);
css variable
--color-primary: hsl(342, 83%, 52%);
Related Colors
Use Cases for Vivid Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 83%, 52%)?
HEX: #EA1F5C | RGB: rgb(234, 31, 92) | CMYK: 0%, 87%, 61%, 8% | HSV: 342°, 87%, 92%. Copy any format from the conversion table above.
What colors go well with #EA1F5C?
The complementary color is HSL(162, 83%, 52%). For a triadic harmony, use hues 342°, 102°, and 222°. For analogous combinations, try hues 312° and 12°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(342, 83%, 52%) in CSS?
As HSL: color: hsl(342, 83%, 52%); — As HEX: color: #EA1F5C; — As RGB: color: rgb(234, 31, 92); — Tailwind CSS: bg-[hsl(342,83%,52%)] — CSS variable: --color-primary: hsl(342, 83%, 52%);