HSL(333, 72%, 51%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(333,72%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(333, 72%, 51%) | color: hsl(333, 72%, 51%) | |
| HEX | #DC2879 | color: #DC2879 | |
| RGB | rgb(220, 40, 121) | color: rgb(220, 40, 121) | |
| CMYK | cmyk(0%, 82%, 45%, 14%) | — | |
| HSV | hsv(333, 82%, 86%) | — | |
| HWB | hwb(333 15% 14%) | color: hwb(333 15% 14%) | |
| OKLCH | oklch(0.5946 0.2186 0.1) | color: oklch(0.5946 0.2186 0.1) | |
| Lab | lab(49.64 71.06 -0.15) | color: lab(49.64 71.06 -0.15) | |
| LCH | lch(49.64 71.06 359.88) | color: lch(49.64 71.06 359.88) |
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)
#8E8C65 — rgb(142, 140, 101)
Deuteranopia (Green-blind)
#99A661 — rgb(153, 166, 97)
Tritanopia (Blue-blind)
#D35653 — rgb(211, 86, 83)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(333, 72%, 51%);
text
color: hsl(333, 72%, 51%);
border
border: 2px solid hsl(333, 72%, 51%);
gradient light
background: linear-gradient(to right, hsl(333, 72%, 71%), hsl(333, 72%, 51%));
gradient dark
background: linear-gradient(to right, hsl(333, 72%, 51%), hsl(333, 72%, 31%))
hex
background-color: #DC2879;
tailwind
bg-[hsl(333,72%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(333, 72%, 51%, 0.4);
css variable
--color-primary: hsl(333, 72%, 51%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(333, 72%, 51%)?
HEX: #DC2879 | RGB: rgb(220, 40, 121) | CMYK: 0%, 82%, 45%, 14% | HSV: 333°, 82%, 86%. Copy any format from the conversion table above.
What colors go well with #DC2879?
The complementary color is HSL(153, 72%, 51%). For a triadic harmony, use hues 333°, 93°, and 213°. For analogous combinations, try hues 303° and 3°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(333, 72%, 51%) in CSS?
As HSL: color: hsl(333, 72%, 51%); — As HEX: color: #DC2879; — As RGB: color: rgb(220, 40, 121); — Tailwind CSS: bg-[hsl(333,72%,51%)] — CSS variable: --color-primary: hsl(333, 72%, 51%);