HSL(338, 36%, 17%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(338,36%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(338, 36%, 17%) | color: hsl(338, 36%, 17%) | |
| HEX | #3B1C27 | color: #3B1C27 | |
| RGB | rgb(59, 28, 39) | color: rgb(59, 28, 39) | |
| CMYK | cmyk(0%, 53%, 34%, 77%) | — | |
| HSV | hsv(339, 53%, 23%) | — | |
| HWB | hwb(339 11% 77%) | color: hwb(339 11% 77%) | |
| OKLCH | oklch(0.2737 0.0508 358.38) | color: oklch(0.2737 0.0508 358.38) | |
| Lab | lab(14.99 16.78 -0.63) | color: lab(14.99 16.78 -0.63) | |
| LCH | lch(14.99 16.79 357.85) | color: lch(14.99 16.79 357.85) |
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)
#2E2D24 — rgb(46, 45, 36)
Deuteranopia (Green-blind)
#2F3224 — rgb(47, 50, 36)
Tritanopia (Blue-blind)
#392222 — rgb(57, 34, 34)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(338, 36%, 17%);
text
color: hsl(338, 36%, 17%);
border
border: 2px solid hsl(338, 36%, 17%);
gradient light
background: linear-gradient(to right, hsl(338, 36%, 37%), hsl(338, 36%, 17%));
gradient dark
background: linear-gradient(to right, hsl(338, 36%, 17%), hsl(338, 36%, 0%))
hex
background-color: #3B1C27;
tailwind
bg-[hsl(338,36%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(338, 36%, 17%, 0.4);
css variable
--color-primary: hsl(338, 36%, 17%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(338, 36%, 17%)?
HEX: #3B1C27 | RGB: rgb(59, 28, 39) | CMYK: 0%, 53%, 34%, 77% | HSV: 339°, 53%, 23%. Copy any format from the conversion table above.
What colors go well with #3B1C27?
The complementary color is HSL(158, 36%, 17%). For a triadic harmony, use hues 338°, 98°, and 218°. For analogous combinations, try hues 308° and 8°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(338, 36%, 17%) in CSS?
As HSL: color: hsl(338, 36%, 17%); — As HEX: color: #3B1C27; — As RGB: color: rgb(59, 28, 39); — Tailwind CSS: bg-[hsl(338,36%,17%)] — CSS variable: --color-primary: hsl(338, 36%, 17%);