HSL(335, 70%, 41%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(335,70%,41%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(335, 70%, 41%) | color: hsl(335, 70%, 41%) | |
| HEX | #B21F5C | color: #B21F5C | |
| RGB | rgb(178, 31, 92) | color: rgb(178, 31, 92) | |
| CMYK | cmyk(0%, 83%, 48%, 30%) | — | |
| HSV | hsv(335, 83%, 70%) | — | |
| HWB | hwb(335 12% 30%) | color: hwb(335 12% 30%) | |
| OKLCH | oklch(0.5065 0.1846 2.4) | color: oklch(0.5065 0.1846 2.4) | |
| Lab | lab(39.95 60.07 2.77) | color: lab(39.95 60.07 2.77) | |
| LCH | lch(39.95 60.13 2.64) | color: lch(39.95 60.13 2.64) |
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)
#72714D — rgb(114, 113, 77)
Deuteranopia (Green-blind)
#7B864A — rgb(123, 134, 74)
Tritanopia (Blue-blind)
#AB423F — rgb(171, 66, 63)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(335, 70%, 41%);
text
color: hsl(335, 70%, 41%);
border
border: 2px solid hsl(335, 70%, 41%);
gradient light
background: linear-gradient(to right, hsl(335, 70%, 61%), hsl(335, 70%, 41%));
gradient dark
background: linear-gradient(to right, hsl(335, 70%, 41%), hsl(335, 70%, 21%))
hex
background-color: #B21F5C;
tailwind
bg-[hsl(335,70%,41%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(335, 70%, 41%, 0.4);
css variable
--color-primary: hsl(335, 70%, 41%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(335, 70%, 41%)?
HEX: #B21F5C | RGB: rgb(178, 31, 92) | CMYK: 0%, 83%, 48%, 30% | HSV: 335°, 83%, 70%. Copy any format from the conversion table above.
What colors go well with #B21F5C?
The complementary color is HSL(155, 70%, 41%). For a triadic harmony, use hues 335°, 95°, and 215°. For analogous combinations, try hues 305° and 5°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(335, 70%, 41%) in CSS?
As HSL: color: hsl(335, 70%, 41%); — As HEX: color: #B21F5C; — As RGB: color: rgb(178, 31, 92); — Tailwind CSS: bg-[hsl(335,70%,41%)] — CSS variable: --color-primary: hsl(335, 70%, 41%);