HSL(337, 23%, 20%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(337,23%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(337, 23%, 20%) | color: hsl(337, 23%, 20%) | |
| HEX | #3F2730 | color: #3F2730 | |
| RGB | rgb(63, 39, 48) | color: rgb(63, 39, 48) | |
| CMYK | cmyk(0%, 38%, 24%, 75%) | — | |
| HSV | hsv(338, 38%, 25%) | — | |
| HWB | hwb(338 16% 75%) | color: hwb(338 16% 75%) | |
| OKLCH | oklch(0.3058 0.0387 355.49) | color: oklch(0.3058 0.0387 355.49) | |
| Lab | lab(18.89 12.87 -1.22) | color: lab(18.89 12.87 -1.22) | |
| LCH | lch(18.89 12.93 354.58) | color: lch(18.89 12.93 354.58) |
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)
#35342E — rgb(53, 52, 46)
Deuteranopia (Green-blind)
#36382D — rgb(54, 56, 45)
Tritanopia (Blue-blind)
#3E2C2C — rgb(62, 44, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(337, 23%, 20%);
text
color: hsl(337, 23%, 20%);
border
border: 2px solid hsl(337, 23%, 20%);
gradient light
background: linear-gradient(to right, hsl(337, 23%, 40%), hsl(337, 23%, 20%));
gradient dark
background: linear-gradient(to right, hsl(337, 23%, 20%), hsl(337, 23%, 0%))
hex
background-color: #3F2730;
tailwind
bg-[hsl(337,23%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(337, 23%, 20%, 0.4);
css variable
--color-primary: hsl(337, 23%, 20%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(337, 23%, 20%)?
HEX: #3F2730 | RGB: rgb(63, 39, 48) | CMYK: 0%, 38%, 24%, 75% | HSV: 338°, 38%, 25%. Copy any format from the conversion table above.
What colors go well with #3F2730?
The complementary color is HSL(157, 23%, 20%). For a triadic harmony, use hues 337°, 97°, and 217°. For analogous combinations, try hues 307° and 7°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(337, 23%, 20%) in CSS?
As HSL: color: hsl(337, 23%, 20%); — As HEX: color: #3F2730; — As RGB: color: rgb(63, 39, 48); — Tailwind CSS: bg-[hsl(337,23%,20%)] — CSS variable: --color-primary: hsl(337, 23%, 20%);