HSL(321, 25%, 16%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(321,25%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(321, 25%, 16%) | color: hsl(321, 25%, 16%) | |
| HEX | #331F2C | color: #331F2C | |
| RGB | rgb(51, 31, 44) | color: rgb(51, 31, 44) | |
| CMYK | cmyk(0%, 39%, 14%, 80%) | — | |
| HSV | hsv(321, 39%, 20%) | — | |
| HWB | hwb(321 12% 80%) | color: hwb(321 12% 80%) | |
| OKLCH | oklch(0.27 0.0377 340.69) | color: oklch(0.27 0.0377 340.69) | |
| Lab | lab(14.77 12.21 -4.7) | color: lab(14.77 12.21 -4.7) | |
| LCH | lch(14.77 13.08 338.95) | color: lch(14.77 13.08 338.95) |
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)
#2A2A29 — rgb(42, 42, 41)
Deuteranopia (Green-blind)
#2C2D28 — rgb(44, 45, 40)
Tritanopia (Blue-blind)
#322626 — rgb(50, 38, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(321, 25%, 16%);
text
color: hsl(321, 25%, 16%);
border
border: 2px solid hsl(321, 25%, 16%);
gradient light
background: linear-gradient(to right, hsl(321, 25%, 36%), hsl(321, 25%, 16%));
gradient dark
background: linear-gradient(to right, hsl(321, 25%, 16%), hsl(321, 25%, 0%))
hex
background-color: #331F2C;
tailwind
bg-[hsl(321,25%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(321, 25%, 16%, 0.4);
css variable
--color-primary: hsl(321, 25%, 16%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(321, 25%, 16%)?
HEX: #331F2C | RGB: rgb(51, 31, 44) | CMYK: 0%, 39%, 14%, 80% | HSV: 321°, 39%, 20%. Copy any format from the conversion table above.
What colors go well with #331F2C?
The complementary color is HSL(141, 25%, 16%). For a triadic harmony, use hues 321°, 81°, and 201°. For analogous combinations, try hues 291° and 351°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(321, 25%, 16%) in CSS?
As HSL: color: hsl(321, 25%, 16%); — As HEX: color: #331F2C; — As RGB: color: rgb(51, 31, 44); — Tailwind CSS: bg-[hsl(321,25%,16%)] — CSS variable: --color-primary: hsl(321, 25%, 16%);