HSL(322, 57%, 31%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(322,57%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(322, 57%, 31%) | color: hsl(322, 57%, 31%) | |
| HEX | #7C225B | color: #7C225B | |
| RGB | rgb(124, 34, 91) | color: rgb(124, 34, 91) | |
| CMYK | cmyk(0%, 73%, 27%, 51%) | — | |
| HSV | hsv(322, 73%, 49%) | — | |
| HWB | hwb(322 13% 51%) | color: hwb(322 13% 51%) | |
| OKLCH | oklch(0.4137 0.1381 345.91) | color: oklch(0.4137 0.1381 345.91) | |
| Lab | lab(29.88 44.23 -12.68) | color: lab(29.88 44.23 -12.68) | |
| LCH | lch(29.88 46.01 344) | color: lch(29.88 46.01 344) |
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)
#55544D — rgb(85, 84, 77)
Deuteranopia (Green-blind)
#5A614A — rgb(90, 97, 74)
Tritanopia (Blue-blind)
#784240 — rgb(120, 66, 64)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(322, 57%, 31%);
text
color: hsl(322, 57%, 31%);
border
border: 2px solid hsl(322, 57%, 31%);
gradient light
background: linear-gradient(to right, hsl(322, 57%, 51%), hsl(322, 57%, 31%));
gradient dark
background: linear-gradient(to right, hsl(322, 57%, 31%), hsl(322, 57%, 11%))
hex
background-color: #7C225B;
tailwind
bg-[hsl(322,57%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(322, 57%, 31%, 0.4);
css variable
--color-primary: hsl(322, 57%, 31%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(322, 57%, 31%)?
HEX: #7C225B | RGB: rgb(124, 34, 91) | CMYK: 0%, 73%, 27%, 51% | HSV: 322°, 73%, 49%. Copy any format from the conversion table above.
What colors go well with #7C225B?
The complementary color is HSL(142, 57%, 31%). 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, 57%, 31%) in CSS?
As HSL: color: hsl(322, 57%, 31%); — As HEX: color: #7C225B; — As RGB: color: rgb(124, 34, 91); — Tailwind CSS: bg-[hsl(322,57%,31%)] — CSS variable: --color-primary: hsl(322, 57%, 31%);