HSL(316, 72%, 50%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(316,72%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(316, 72%, 50%) | color: hsl(316, 72%, 50%) | |
| HEX | #DB24AA | color: #DB24AA | |
| RGB | rgb(219, 36, 170) | color: rgb(219, 36, 170) | |
| CMYK | cmyk(0%, 84%, 22%, 14%) | — | |
| HSV | hsv(316, 84%, 86%) | — | |
| HWB | hwb(316 14% 14%) | color: hwb(316 14% 14%) | |
| OKLCH | oklch(0.6096 0.2433 342.28) | color: oklch(0.6096 0.2433 342.28) | |
| Lab | lab(50.95 76.82 -27.54) | color: lab(50.95 76.82 -27.54) | |
| LCH | lch(50.95 81.61 340.28) | color: lch(50.95 81.61 340.28) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#8C8A8A — rgb(140, 138, 138)
Deuteranopia (Green-blind)
#96A482 — rgb(150, 164, 130)
Tritanopia (Blue-blind)
#D2706A — rgb(210, 112, 106)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(316, 72%, 50%);
text
color: hsl(316, 72%, 50%);
border
border: 2px solid hsl(316, 72%, 50%);
gradient light
background: linear-gradient(to right, hsl(316, 72%, 70%), hsl(316, 72%, 50%));
gradient dark
background: linear-gradient(to right, hsl(316, 72%, 50%), hsl(316, 72%, 30%))
hex
background-color: #DB24AA;
tailwind
bg-[hsl(316,72%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(316, 72%, 50%, 0.4);
css variable
--color-primary: hsl(316, 72%, 50%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(316, 72%, 50%)?
HEX: #DB24AA | RGB: rgb(219, 36, 170) | CMYK: 0%, 84%, 22%, 14% | HSV: 316°, 84%, 86%. Copy any format from the conversion table above.
What colors go well with #DB24AA?
The complementary color is HSL(136, 72%, 50%). For a triadic harmony, use hues 316°, 76°, and 196°. For analogous combinations, try hues 286° and 346°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(316, 72%, 50%) in CSS?
As HSL: color: hsl(316, 72%, 50%); — As HEX: color: #DB24AA; — As RGB: color: rgb(219, 36, 170); — Tailwind CSS: bg-[hsl(316,72%,50%)] — CSS variable: --color-primary: hsl(316, 72%, 50%);