HSL(321, 78%, 22%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(321,78%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(321, 78%, 22%) | color: hsl(321, 78%, 22%) | |
| HEX | #640C45 | color: #640C45 | |
| RGB | rgb(100, 12, 69) | color: rgb(100, 12, 69) | |
| CMYK | cmyk(0%, 88%, 31%, 61%) | — | |
| HSV | hsv(321, 88%, 39%) | — | |
| HWB | hwb(321 5% 61%) | color: hwb(321 5% 61%) | |
| OKLCH | oklch(0.3416 0.1316 347.16) | color: oklch(0.3416 0.1316 347.16) | |
| Lab | lab(21.59 42.04 -11.07) | color: lab(21.59 42.04 -11.07) | |
| LCH | lch(21.59 43.47 345.25) | color: lch(21.59 43.47 345.25) |
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)
#3E3D37 — rgb(62, 61, 55)
Deuteranopia (Green-blind)
#434A34 — rgb(67, 74, 52)
Tritanopia (Blue-blind)
#602C2A — rgb(96, 44, 42)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(321, 78%, 22%);
text
color: hsl(321, 78%, 22%);
border
border: 2px solid hsl(321, 78%, 22%);
gradient light
background: linear-gradient(to right, hsl(321, 78%, 42%), hsl(321, 78%, 22%));
gradient dark
background: linear-gradient(to right, hsl(321, 78%, 22%), hsl(321, 78%, 2%))
hex
background-color: #640C45;
tailwind
bg-[hsl(321,78%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(321, 78%, 22%, 0.4);
css variable
--color-primary: hsl(321, 78%, 22%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(321, 78%, 22%)?
HEX: #640C45 | RGB: rgb(100, 12, 69) | CMYK: 0%, 88%, 31%, 61% | HSV: 321°, 88%, 39%. Copy any format from the conversion table above.
What colors go well with #640C45?
The complementary color is HSL(141, 78%, 22%). 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, 78%, 22%) in CSS?
As HSL: color: hsl(321, 78%, 22%); — As HEX: color: #640C45; — As RGB: color: rgb(100, 12, 69); — Tailwind CSS: bg-[hsl(321,78%,22%)] — CSS variable: --color-primary: hsl(321, 78%, 22%);