HSL(342, 38%, 16%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,38%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 38%, 16%) | color: hsl(342, 38%, 16%) | |
| HEX | #381923 | color: #381923 | |
| RGB | rgb(56, 25, 35) | color: rgb(56, 25, 35) | |
| CMYK | cmyk(0%, 55%, 38%, 78%) | — | |
| HSV | hsv(341, 55%, 22%) | — | |
| HWB | hwb(341 10% 78%) | color: hwb(341 10% 78%) | |
| OKLCH | oklch(0.2615 0.0508 0.67) | color: oklch(0.2615 0.0508 0.67) | |
| Lab | lab(13.58 16.76 0.14) | color: lab(13.58 16.76 0.14) | |
| LCH | lch(13.58 16.76 0.48) | color: lch(13.58 16.76 0.48) |
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)
#2B2A21 — rgb(43, 42, 33)
Deuteranopia (Green-blind)
#2C2F20 — rgb(44, 47, 32)
Tritanopia (Blue-blind)
#361F1E — rgb(54, 31, 30)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 38%, 16%);
text
color: hsl(342, 38%, 16%);
border
border: 2px solid hsl(342, 38%, 16%);
gradient light
background: linear-gradient(to right, hsl(342, 38%, 36%), hsl(342, 38%, 16%));
gradient dark
background: linear-gradient(to right, hsl(342, 38%, 16%), hsl(342, 38%, 0%))
hex
background-color: #381923;
tailwind
bg-[hsl(342,38%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 38%, 16%, 0.4);
css variable
--color-primary: hsl(342, 38%, 16%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 38%, 16%)?
HEX: #381923 | RGB: rgb(56, 25, 35) | CMYK: 0%, 55%, 38%, 78% | HSV: 341°, 55%, 22%. Copy any format from the conversion table above.
What colors go well with #381923?
The complementary color is HSL(162, 38%, 16%). For a triadic harmony, use hues 342°, 102°, and 222°. For analogous combinations, try hues 312° and 12°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(342, 38%, 16%) in CSS?
As HSL: color: hsl(342, 38%, 16%); — As HEX: color: #381923; — As RGB: color: rgb(56, 25, 35); — Tailwind CSS: bg-[hsl(342,38%,16%)] — CSS variable: --color-primary: hsl(342, 38%, 16%);