HSL(317, 86%, 16%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(317,86%,16%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(317, 86%, 16%) | color: hsl(317, 86%, 16%) | |
| HEX | #4C0638 | color: #4C0638 | |
| RGB | rgb(76, 6, 56) | color: rgb(76, 6, 56) | |
| CMYK | cmyk(0%, 92%, 26%, 70%) | — | |
| HSV | hsv(317, 92%, 30%) | — | |
| HWB | hwb(317 2% 70%) | color: hwb(317 2% 70%) | |
| OKLCH | oklch(0.2843 0.1129 343.18) | color: oklch(0.2843 0.1129 343.18) | |
| Lab | lab(15.24 35.72 -12.18) | color: lab(15.24 35.72 -12.18) | |
| LCH | lch(15.24 37.74 341.17) | color: lch(15.24 37.74 341.17) |
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)
#323729 — rgb(50, 55, 41)
Tritanopia (Blue-blind)
#492220 — rgb(73, 34, 32)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(317, 86%, 16%);
text
color: hsl(317, 86%, 16%);
border
border: 2px solid hsl(317, 86%, 16%);
gradient light
background: linear-gradient(to right, hsl(317, 86%, 36%), hsl(317, 86%, 16%));
gradient dark
background: linear-gradient(to right, hsl(317, 86%, 16%), hsl(317, 86%, 0%))
hex
background-color: #4C0638;
tailwind
bg-[hsl(317,86%,16%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(317, 86%, 16%, 0.4);
css variable
--color-primary: hsl(317, 86%, 16%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(317, 86%, 16%)?
HEX: #4C0638 | RGB: rgb(76, 6, 56) | CMYK: 0%, 92%, 26%, 70% | HSV: 317°, 92%, 30%. Copy any format from the conversion table above.
What colors go well with #4C0638?
The complementary color is HSL(137, 86%, 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, 86%, 16%) in CSS?
As HSL: color: hsl(317, 86%, 16%); — As HEX: color: #4C0638; — As RGB: color: rgb(76, 6, 56); — Tailwind CSS: bg-[hsl(317,86%,16%)] — CSS variable: --color-primary: hsl(317, 86%, 16%);