HSL(341, 92%, 40%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(341,92%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(341, 92%, 40%) | color: hsl(341, 92%, 40%) | |
| HEX | #C40844 | color: #C40844 | |
| RGB | rgb(196, 8, 68) | color: rgb(196, 8, 68) | |
| CMYK | cmyk(0%, 96%, 65%, 23%) | — | |
| HSV | hsv(341, 96%, 77%) | — | |
| HWB | hwb(341 3% 23%) | color: hwb(341 3% 23%) | |
| OKLCH | oklch(0.5241 0.2064 14.13) | color: oklch(0.5241 0.2064 14.13) | |
| Lab | lab(41.74 66.71 21.02) | color: lab(41.74 66.71 21.02) | |
| LCH | lch(41.74 69.94 17.49) | color: lch(41.74 69.94 17.49) |
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)
#737135 — rgb(115, 113, 53)
Deuteranopia (Green-blind)
#7E8C32 — rgb(126, 140, 50)
Tritanopia (Blue-blind)
#BB2A28 — rgb(187, 42, 40)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(341, 92%, 40%);
text
color: hsl(341, 92%, 40%);
border
border: 2px solid hsl(341, 92%, 40%);
gradient light
background: linear-gradient(to right, hsl(341, 92%, 60%), hsl(341, 92%, 40%));
gradient dark
background: linear-gradient(to right, hsl(341, 92%, 40%), hsl(341, 92%, 20%))
hex
background-color: #C40844;
tailwind
bg-[hsl(341,92%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(341, 92%, 40%, 0.4);
css variable
--color-primary: hsl(341, 92%, 40%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(341, 92%, 40%)?
HEX: #C40844 | RGB: rgb(196, 8, 68) | CMYK: 0%, 96%, 65%, 23% | HSV: 341°, 96%, 77%. Copy any format from the conversion table above.
What colors go well with #C40844?
The complementary color is HSL(161, 92%, 40%). For a triadic harmony, use hues 341°, 101°, and 221°. For analogous combinations, try hues 311° and 11°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(341, 92%, 40%) in CSS?
As HSL: color: hsl(341, 92%, 40%); — As HEX: color: #C40844; — As RGB: color: rgb(196, 8, 68); — Tailwind CSS: bg-[hsl(341,92%,40%)] — CSS variable: --color-primary: hsl(341, 92%, 40%);