HSL(335, 50%, 24%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(335,50%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(335, 50%, 24%) | color: hsl(335, 50%, 24%) | |
| HEX | #5C1F38 | color: #5C1F38 | |
| RGB | rgb(92, 31, 56) | color: rgb(92, 31, 56) | |
| CMYK | cmyk(0%, 66%, 39%, 64%) | — | |
| HSV | hsv(335, 66%, 36%) | — | |
| HWB | hwb(335 12% 64%) | color: hwb(335 12% 64%) | |
| OKLCH | oklch(0.3406 0.0934 357.8) | color: oklch(0.3406 0.0934 357.8) | |
| Lab | lab(22.09 30.57 -1.51) | color: lab(22.09 30.57 -1.51) | |
| LCH | lch(22.09 30.61 357.17) | color: lch(22.09 30.61 357.17) |
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)
#424132 — rgb(66, 65, 50)
Deuteranopia (Green-blind)
#454A31 — rgb(69, 74, 49)
Tritanopia (Blue-blind)
#592D2C — rgb(89, 45, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(335, 50%, 24%);
text
color: hsl(335, 50%, 24%);
border
border: 2px solid hsl(335, 50%, 24%);
gradient light
background: linear-gradient(to right, hsl(335, 50%, 44%), hsl(335, 50%, 24%));
gradient dark
background: linear-gradient(to right, hsl(335, 50%, 24%), hsl(335, 50%, 4%))
hex
background-color: #5C1F38;
tailwind
bg-[hsl(335,50%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(335, 50%, 24%, 0.4);
css variable
--color-primary: hsl(335, 50%, 24%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(335, 50%, 24%)?
HEX: #5C1F38 | RGB: rgb(92, 31, 56) | CMYK: 0%, 66%, 39%, 64% | HSV: 335°, 66%, 36%. Copy any format from the conversion table above.
What colors go well with #5C1F38?
The complementary color is HSL(155, 50%, 24%). For a triadic harmony, use hues 335°, 95°, and 215°. For analogous combinations, try hues 305° and 5°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(335, 50%, 24%) in CSS?
As HSL: color: hsl(335, 50%, 24%); — As HEX: color: #5C1F38; — As RGB: color: rgb(92, 31, 56); — Tailwind CSS: bg-[hsl(335,50%,24%)] — CSS variable: --color-primary: hsl(335, 50%, 24%);