HSL(341, 24%, 16%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(341,24%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(341, 24%, 16%) | color: hsl(341, 24%, 16%) | |
| HEX | #331F25 | color: #331F25 | |
| RGB | rgb(51, 31, 37) | color: rgb(51, 31, 37) | |
| CMYK | cmyk(0%, 39%, 27%, 80%) | — | |
| HSV | hsv(342, 39%, 20%) | — | |
| HWB | hwb(342 12% 80%) | color: hwb(342 12% 80%) | |
| OKLCH | oklch(0.2671 0.0325 0) | color: oklch(0.2671 0.0325 0) | |
| Lab | lab(14.5 10.8 -0.06) | color: lab(14.5 10.8 -0.06) | |
| LCH | lch(14.5 10.8 359.68) | color: lch(14.5 10.8 359.68) |
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)
#2A2A24 — rgb(42, 42, 36)
Deuteranopia (Green-blind)
#2C2D23 — rgb(44, 45, 35)
Tritanopia (Blue-blind)
#322222 — rgb(50, 34, 34)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(341, 24%, 16%);
text
color: hsl(341, 24%, 16%);
border
border: 2px solid hsl(341, 24%, 16%);
gradient light
background: linear-gradient(to right, hsl(341, 24%, 36%), hsl(341, 24%, 16%));
gradient dark
background: linear-gradient(to right, hsl(341, 24%, 16%), hsl(341, 24%, 0%))
hex
background-color: #331F25;
tailwind
bg-[hsl(341,24%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(341, 24%, 16%, 0.4);
css variable
--color-primary: hsl(341, 24%, 16%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(341, 24%, 16%)?
HEX: #331F25 | RGB: rgb(51, 31, 37) | CMYK: 0%, 39%, 27%, 80% | HSV: 342°, 39%, 20%. Copy any format from the conversion table above.
What colors go well with #331F25?
The complementary color is HSL(161, 24%, 16%). 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, 24%, 16%) in CSS?
As HSL: color: hsl(341, 24%, 16%); — As HEX: color: #331F25; — As RGB: color: rgb(51, 31, 37); — Tailwind CSS: bg-[hsl(341,24%,16%)] — CSS variable: --color-primary: hsl(341, 24%, 16%);