HSL(342, 98%, 41%)
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,98%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 98%, 41%) | color: hsl(342, 98%, 41%) | |
| HEX | #CF0240 | color: #CF0240 | |
| RGB | rgb(207, 2, 64) | color: rgb(207, 2, 64) | |
| CMYK | cmyk(0%, 99%, 69%, 19%) | — | |
| HSV | hsv(342, 99%, 81%) | — | |
| HWB | hwb(342 1% 19%) | color: hwb(342 1% 19%) | |
| OKLCH | oklch(0.5428 0.2165 16.66) | color: oklch(0.5428 0.2165 16.66) | |
| Lab | lab(43.78 69.74 26.59) | color: lab(43.78 69.74 26.59) | |
| LCH | lch(43.78 74.64 20.87) | color: lch(43.78 74.64 20.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: white
Color Blindness Simulation
Protanopia (Red-blind)
#767431 — rgb(118, 116, 49)
Deuteranopia (Green-blind)
#82922D — rgb(130, 146, 45)
Tritanopia (Blue-blind)
#C52523 — rgb(197, 37, 35)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 98%, 41%);
text
color: hsl(342, 98%, 41%);
border
border: 2px solid hsl(342, 98%, 41%);
gradient light
background: linear-gradient(to right, hsl(342, 98%, 61%), hsl(342, 98%, 41%));
gradient dark
background: linear-gradient(to right, hsl(342, 98%, 41%), hsl(342, 98%, 21%))
hex
background-color: #CF0240;
tailwind
bg-[hsl(342,98%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 98%, 41%, 0.4);
css variable
--color-primary: hsl(342, 98%, 41%);
Related Colors
Use Cases for Vivid Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 98%, 41%)?
HEX: #CF0240 | RGB: rgb(207, 2, 64) | CMYK: 0%, 99%, 69%, 19% | HSV: 342°, 99%, 81%. Copy any format from the conversion table above.
What colors go well with #CF0240?
The complementary color is HSL(162, 98%, 41%). 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, 98%, 41%) in CSS?
As HSL: color: hsl(342, 98%, 41%); — As HEX: color: #CF0240; — As RGB: color: rgb(207, 2, 64); — Tailwind CSS: bg-[hsl(342,98%,41%)] — CSS variable: --color-primary: hsl(342, 98%, 41%);