HSL(317, 94%, 16%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(317,94%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(317, 94%, 16%) | color: hsl(317, 94%, 16%) | |
| HEX | #4F0239 | color: #4F0239 | |
| RGB | rgb(79, 2, 57) | color: rgb(79, 2, 57) | |
| CMYK | cmyk(0%, 97%, 28%, 69%) | — | |
| HSV | hsv(317, 97%, 31%) | — | |
| HWB | hwb(317 1% 69%) | color: hwb(317 1% 69%) | |
| OKLCH | oklch(0.2876 0.1199 343.88) | color: oklch(0.2876 0.1199 343.88) | |
| Lab | lab(15.5 37.94 -12.44) | color: lab(15.5 37.94 -12.44) | |
| LCH | lch(15.5 39.93 341.85) | color: lch(15.5 39.93 341.85) |
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)
#2E2D2C — rgb(46, 45, 44)
Deuteranopia (Green-blind)
#323829 — rgb(50, 56, 41)
Tritanopia (Blue-blind)
#4B211F — rgb(75, 33, 31)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(317, 94%, 16%);
text
color: hsl(317, 94%, 16%);
border
border: 2px solid hsl(317, 94%, 16%);
gradient light
background: linear-gradient(to right, hsl(317, 94%, 36%), hsl(317, 94%, 16%));
gradient dark
background: linear-gradient(to right, hsl(317, 94%, 16%), hsl(317, 94%, 0%))
hex
background-color: #4F0239;
tailwind
bg-[hsl(317,94%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(317, 94%, 16%, 0.4);
css variable
--color-primary: hsl(317, 94%, 16%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(317, 94%, 16%)?
HEX: #4F0239 | RGB: rgb(79, 2, 57) | CMYK: 0%, 97%, 28%, 69% | HSV: 317°, 97%, 31%. Copy any format from the conversion table above.
What colors go well with #4F0239?
The complementary color is HSL(137, 94%, 16%). For a triadic harmony, use hues 317°, 77°, and 197°. For analogous combinations, try hues 287° and 347°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(317, 94%, 16%) in CSS?
As HSL: color: hsl(317, 94%, 16%); — As HEX: color: #4F0239; — As RGB: color: rgb(79, 2, 57); — Tailwind CSS: bg-[hsl(317,94%,16%)] — CSS variable: --color-primary: hsl(317, 94%, 16%);