HSL(335, 20%, 20%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(335,20%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(335, 20%, 20%) | color: hsl(335, 20%, 20%) | |
| HEX | #3D2931 | color: #3D2931 | |
| RGB | rgb(61, 41, 49) | color: rgb(61, 41, 49) | |
| CMYK | cmyk(0%, 33%, 20%, 76%) | — | |
| HSV | hsv(336, 33%, 24%) | — | |
| HWB | hwb(336 16% 76%) | color: hwb(336 16% 76%) | |
| OKLCH | oklch(0.3078 0.0324 353.44) | color: oklch(0.3078 0.0324 353.44) | |
| Lab | lab(19.22 10.82 -1.46) | color: lab(19.22 10.82 -1.46) | |
| LCH | lch(19.22 10.92 352.32) | color: lch(19.22 10.92 352.32) |
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)
#34342F — rgb(52, 52, 47)
Deuteranopia (Green-blind)
#36372F — rgb(54, 55, 47)
Tritanopia (Blue-blind)
#3C2E2D — rgb(60, 46, 45)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(335, 20%, 20%);
text
color: hsl(335, 20%, 20%);
border
border: 2px solid hsl(335, 20%, 20%);
gradient light
background: linear-gradient(to right, hsl(335, 20%, 40%), hsl(335, 20%, 20%));
gradient dark
background: linear-gradient(to right, hsl(335, 20%, 20%), hsl(335, 20%, 0%))
hex
background-color: #3D2931;
tailwind
bg-[hsl(335,20%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(335, 20%, 20%, 0.4);
css variable
--color-primary: hsl(335, 20%, 20%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(335, 20%, 20%)?
HEX: #3D2931 | RGB: rgb(61, 41, 49) | CMYK: 0%, 33%, 20%, 76% | HSV: 336°, 33%, 24%. Copy any format from the conversion table above.
What colors go well with #3D2931?
The complementary color is HSL(155, 20%, 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, 20%, 20%) in CSS?
As HSL: color: hsl(335, 20%, 20%); — As HEX: color: #3D2931; — As RGB: color: rgb(61, 41, 49); — Tailwind CSS: bg-[hsl(335,20%,20%)] — CSS variable: --color-primary: hsl(335, 20%, 20%);