HSL(336, 30%, 17%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(336,30%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(336, 30%, 17%) | color: hsl(336, 30%, 17%) | |
| HEX | #381E29 | color: #381E29 | |
| RGB | rgb(56, 30, 41) | color: rgb(56, 30, 41) | |
| CMYK | cmyk(0%, 46%, 27%, 78%) | — | |
| HSV | hsv(335, 46%, 22%) | — | |
| HWB | hwb(335 12% 78%) | color: hwb(335 12% 78%) | |
| OKLCH | oklch(0.2739 0.0438 353.49) | color: oklch(0.2739 0.0438 353.49) | |
| Lab | lab(15.11 14.5 -1.95) | color: lab(15.11 14.5 -1.95) | |
| LCH | lch(15.11 14.63 352.34) | color: lch(15.11 14.63 352.34) |
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)
#2D2D26 — rgb(45, 45, 38)
Deuteranopia (Green-blind)
#2E3026 — rgb(46, 48, 38)
Tritanopia (Blue-blind)
#372424 — rgb(55, 36, 36)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(336, 30%, 17%);
text
color: hsl(336, 30%, 17%);
border
border: 2px solid hsl(336, 30%, 17%);
gradient light
background: linear-gradient(to right, hsl(336, 30%, 37%), hsl(336, 30%, 17%));
gradient dark
background: linear-gradient(to right, hsl(336, 30%, 17%), hsl(336, 30%, 0%))
hex
background-color: #381E29;
tailwind
bg-[hsl(336,30%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(336, 30%, 17%, 0.4);
css variable
--color-primary: hsl(336, 30%, 17%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(336, 30%, 17%)?
HEX: #381E29 | RGB: rgb(56, 30, 41) | CMYK: 0%, 46%, 27%, 78% | HSV: 335°, 46%, 22%. Copy any format from the conversion table above.
What colors go well with #381E29?
The complementary color is HSL(156, 30%, 17%). For a triadic harmony, use hues 336°, 96°, and 216°. For analogous combinations, try hues 306° and 6°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(336, 30%, 17%) in CSS?
As HSL: color: hsl(336, 30%, 17%); — As HEX: color: #381E29; — As RGB: color: rgb(56, 30, 41); — Tailwind CSS: bg-[hsl(336,30%,17%)] — CSS variable: --color-primary: hsl(336, 30%, 17%);