HSL(335, 80%, 20%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(335,80%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(335, 80%, 20%) | color: hsl(335, 80%, 20%) | |
| HEX | #5C0A2C | color: #5C0A2C | |
| RGB | rgb(92, 10, 44) | color: rgb(92, 10, 44) | |
| CMYK | cmyk(0%, 89%, 52%, 64%) | — | |
| HSV | hsv(335, 89%, 36%) | — | |
| HWB | hwb(335 4% 64%) | color: hwb(335 4% 64%) | |
| OKLCH | oklch(0.3142 0.1153 2.67) | color: oklch(0.3142 0.1153 2.67) | |
| Lab | lab(18.69 37.53 1.95) | color: lab(18.69 37.53 1.95) | |
| LCH | lch(18.69 37.58 2.97) | color: lch(18.69 37.58 2.97) |
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)
#383824 — rgb(56, 56, 36)
Deuteranopia (Green-blind)
#3D4322 — rgb(61, 67, 34)
Tritanopia (Blue-blind)
#581D1C — rgb(88, 29, 28)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(335, 80%, 20%);
text
color: hsl(335, 80%, 20%);
border
border: 2px solid hsl(335, 80%, 20%);
gradient light
background: linear-gradient(to right, hsl(335, 80%, 40%), hsl(335, 80%, 20%));
gradient dark
background: linear-gradient(to right, hsl(335, 80%, 20%), hsl(335, 80%, 0%))
hex
background-color: #5C0A2C;
tailwind
bg-[hsl(335,80%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(335, 80%, 20%, 0.4);
css variable
--color-primary: hsl(335, 80%, 20%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(335, 80%, 20%)?
HEX: #5C0A2C | RGB: rgb(92, 10, 44) | CMYK: 0%, 89%, 52%, 64% | HSV: 335°, 89%, 36%. Copy any format from the conversion table above.
What colors go well with #5C0A2C?
The complementary color is HSL(155, 80%, 20%). 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, 80%, 20%) in CSS?
As HSL: color: hsl(335, 80%, 20%); — As HEX: color: #5C0A2C; — As RGB: color: rgb(92, 10, 44); — Tailwind CSS: bg-[hsl(335,80%,20%)] — CSS variable: --color-primary: hsl(335, 80%, 20%);