HSL(323, 31%, 24%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(323,31%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(323, 31%, 24%) | color: hsl(323, 31%, 24%) | |
| HEX | #502A42 | color: #502A42 | |
| RGB | rgb(80, 42, 66) | color: rgb(80, 42, 66) | |
| CMYK | cmyk(0%, 48%, 18%, 69%) | — | |
| HSV | hsv(322, 48%, 31%) | — | |
| HWB | hwb(322 16% 69%) | color: hwb(322 16% 69%) | |
| OKLCH | oklch(0.3434 0.0661 342.63) | color: oklch(0.3434 0.0661 342.63) | |
| Lab | lab(22.84 21.4 -7.44) | color: lab(22.84 21.4 -7.44) | |
| LCH | lch(22.84 22.66 340.83) | color: lch(22.84 22.66 340.83) |
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)
#403F3C — rgb(64, 63, 60)
Deuteranopia (Green-blind)
#42453B — rgb(66, 69, 59)
Tritanopia (Blue-blind)
#4E3837 — rgb(78, 56, 55)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(323, 31%, 24%);
text
color: hsl(323, 31%, 24%);
border
border: 2px solid hsl(323, 31%, 24%);
gradient light
background: linear-gradient(to right, hsl(323, 31%, 44%), hsl(323, 31%, 24%));
gradient dark
background: linear-gradient(to right, hsl(323, 31%, 24%), hsl(323, 31%, 4%))
hex
background-color: #502A42;
tailwind
bg-[hsl(323,31%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(323, 31%, 24%, 0.4);
css variable
--color-primary: hsl(323, 31%, 24%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(323, 31%, 24%)?
HEX: #502A42 | RGB: rgb(80, 42, 66) | CMYK: 0%, 48%, 18%, 69% | HSV: 322°, 48%, 31%. Copy any format from the conversion table above.
What colors go well with #502A42?
The complementary color is HSL(143, 31%, 24%). For a triadic harmony, use hues 323°, 83°, and 203°. For analogous combinations, try hues 293° and 353°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(323, 31%, 24%) in CSS?
As HSL: color: hsl(323, 31%, 24%); — As HEX: color: #502A42; — As RGB: color: rgb(80, 42, 66); — Tailwind CSS: bg-[hsl(323,31%,24%)] — CSS variable: --color-primary: hsl(323, 31%, 24%);