HSL(318, 68%, 37%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(318,68%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(318, 68%, 37%) | color: hsl(318, 68%, 37%) | |
| HEX | #9F1E78 | color: #9F1E78 | |
| RGB | rgb(159, 30, 120) | color: rgb(159, 30, 120) | |
| CMYK | cmyk(0%, 81%, 25%, 38%) | — | |
| HSV | hsv(318, 81%, 62%) | — | |
| HWB | hwb(318 12% 38%) | color: hwb(318 12% 38%) | |
| OKLCH | oklch(0.4833 0.1845 343.7) | color: oklch(0.4833 0.1845 343.7) | |
| Lab | lab(37.22 58.55 -19.36) | color: lab(37.22 58.55 -19.36) | |
| LCH | lch(37.22 61.67 341.7) | color: lch(37.22 61.67 341.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)
#676662 — rgb(103, 102, 98)
Deuteranopia (Green-blind)
#6F785D — rgb(111, 120, 93)
Tritanopia (Blue-blind)
#99514D — rgb(153, 81, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(318, 68%, 37%);
text
color: hsl(318, 68%, 37%);
border
border: 2px solid hsl(318, 68%, 37%);
gradient light
background: linear-gradient(to right, hsl(318, 68%, 57%), hsl(318, 68%, 37%));
gradient dark
background: linear-gradient(to right, hsl(318, 68%, 37%), hsl(318, 68%, 17%))
hex
background-color: #9F1E78;
tailwind
bg-[hsl(318,68%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(318, 68%, 37%, 0.4);
css variable
--color-primary: hsl(318, 68%, 37%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(318, 68%, 37%)?
HEX: #9F1E78 | RGB: rgb(159, 30, 120) | CMYK: 0%, 81%, 25%, 38% | HSV: 318°, 81%, 62%. Copy any format from the conversion table above.
What colors go well with #9F1E78?
The complementary color is HSL(138, 68%, 37%). For a triadic harmony, use hues 318°, 78°, and 198°. For analogous combinations, try hues 288° and 348°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(318, 68%, 37%) in CSS?
As HSL: color: hsl(318, 68%, 37%); — As HEX: color: #9F1E78; — As RGB: color: rgb(159, 30, 120); — Tailwind CSS: bg-[hsl(318,68%,37%)] — CSS variable: --color-primary: hsl(318, 68%, 37%);