HSL(333, 74%, 42%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(333,74%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(333, 74%, 42%) | color: hsl(333, 74%, 42%) | |
| HEX | #BA1C63 | color: #BA1C63 | |
| RGB | rgb(186, 28, 99) | color: rgb(186, 28, 99) | |
| CMYK | cmyk(0%, 85%, 47%, 27%) | — | |
| HSV | hsv(333, 85%, 73%) | — | |
| HWB | hwb(333 11% 27%) | color: hwb(333 11% 27%) | |
| OKLCH | oklch(0.5212 0.1951 0.79) | color: oklch(0.5212 0.1951 0.79) | |
| Lab | lab(41.49 63.41 0.78) | color: lab(41.49 63.41 0.78) | |
| LCH | lch(41.49 63.41 0.7) | color: lch(41.49 63.41 0.7) |
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)
#767452 — rgb(118, 116, 82)
Deuteranopia (Green-blind)
#7F8B4E — rgb(127, 139, 78)
Tritanopia (Blue-blind)
#B24441 — rgb(178, 68, 65)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(333, 74%, 42%);
text
color: hsl(333, 74%, 42%);
border
border: 2px solid hsl(333, 74%, 42%);
gradient light
background: linear-gradient(to right, hsl(333, 74%, 62%), hsl(333, 74%, 42%));
gradient dark
background: linear-gradient(to right, hsl(333, 74%, 42%), hsl(333, 74%, 22%))
hex
background-color: #BA1C63;
tailwind
bg-[hsl(333,74%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(333, 74%, 42%, 0.4);
css variable
--color-primary: hsl(333, 74%, 42%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(333, 74%, 42%)?
HEX: #BA1C63 | RGB: rgb(186, 28, 99) | CMYK: 0%, 85%, 47%, 27% | HSV: 333°, 85%, 73%. Copy any format from the conversion table above.
What colors go well with #BA1C63?
The complementary color is HSL(153, 74%, 42%). 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, 74%, 42%) in CSS?
As HSL: color: hsl(333, 74%, 42%); — As HEX: color: #BA1C63; — As RGB: color: rgb(186, 28, 99); — Tailwind CSS: bg-[hsl(333,74%,42%)] — CSS variable: --color-primary: hsl(333, 74%, 42%);