HSL(322, 58%, 16%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(322,58%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(322, 58%, 16%) | color: hsl(322, 58%, 16%) | |
| HEX | #40112F | color: #40112F | |
| RGB | rgb(64, 17, 47) | color: rgb(64, 17, 47) | |
| CMYK | cmyk(0%, 73%, 27%, 75%) | — | |
| HSV | hsv(322, 73%, 25%) | — | |
| HWB | hwb(322 7% 75%) | color: hwb(322 7% 75%) | |
| OKLCH | oklch(0.2678 0.0825 344.87) | color: oklch(0.2678 0.0825 344.87) | |
| Lab | lab(13.81 26.46 -8.11) | color: lab(13.81 26.46 -8.11) | |
| LCH | lch(13.81 27.67 342.96) | color: lch(13.81 27.67 342.96) |
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)
#2C2B28 — rgb(44, 43, 40)
Deuteranopia (Green-blind)
#2E3226 — rgb(46, 50, 38)
Tritanopia (Blue-blind)
#3E2221 — rgb(62, 34, 33)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(322, 58%, 16%);
text
color: hsl(322, 58%, 16%);
border
border: 2px solid hsl(322, 58%, 16%);
gradient light
background: linear-gradient(to right, hsl(322, 58%, 36%), hsl(322, 58%, 16%));
gradient dark
background: linear-gradient(to right, hsl(322, 58%, 16%), hsl(322, 58%, 0%))
hex
background-color: #40112F;
tailwind
bg-[hsl(322,58%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(322, 58%, 16%, 0.4);
css variable
--color-primary: hsl(322, 58%, 16%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(322, 58%, 16%)?
HEX: #40112F | RGB: rgb(64, 17, 47) | CMYK: 0%, 73%, 27%, 75% | HSV: 322°, 73%, 25%. Copy any format from the conversion table above.
What colors go well with #40112F?
The complementary color is HSL(142, 58%, 16%). For a triadic harmony, use hues 322°, 82°, and 202°. For analogous combinations, try hues 292° and 352°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(322, 58%, 16%) in CSS?
As HSL: color: hsl(322, 58%, 16%); — As HEX: color: #40112F; — As RGB: color: rgb(64, 17, 47); — Tailwind CSS: bg-[hsl(322,58%,16%)] — CSS variable: --color-primary: hsl(322, 58%, 16%);