HSL(317, 42%, 17%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(317,42%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(317, 42%, 17%) | color: hsl(317, 42%, 17%) | |
| HEX | #3E1933 | color: #3E1933 | |
| RGB | rgb(62, 25, 51) | color: rgb(62, 25, 51) | |
| CMYK | cmyk(0%, 60%, 18%, 76%) | — | |
| HSV | hsv(318, 60%, 24%) | — | |
| HWB | hwb(318 10% 76%) | color: hwb(318 10% 76%) | |
| OKLCH | oklch(0.2785 0.0691 340.07) | color: oklch(0.2785 0.0691 340.07) | |
| Lab | lab(15.27 22.03 -8.79) | color: lab(15.27 22.03 -8.79) | |
| LCH | lch(15.27 23.72 338.25) | color: lch(15.27 23.72 338.25) |
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)
#2E2E2D — rgb(46, 46, 45)
Deuteranopia (Green-blind)
#30332B — rgb(48, 51, 43)
Tritanopia (Blue-blind)
#3C2827 — rgb(60, 40, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(317, 42%, 17%);
text
color: hsl(317, 42%, 17%);
border
border: 2px solid hsl(317, 42%, 17%);
gradient light
background: linear-gradient(to right, hsl(317, 42%, 37%), hsl(317, 42%, 17%));
gradient dark
background: linear-gradient(to right, hsl(317, 42%, 17%), hsl(317, 42%, 0%))
hex
background-color: #3E1933;
tailwind
bg-[hsl(317,42%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(317, 42%, 17%, 0.4);
css variable
--color-primary: hsl(317, 42%, 17%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(317, 42%, 17%)?
HEX: #3E1933 | RGB: rgb(62, 25, 51) | CMYK: 0%, 60%, 18%, 76% | HSV: 318°, 60%, 24%. Copy any format from the conversion table above.
What colors go well with #3E1933?
The complementary color is HSL(137, 42%, 17%). 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, 42%, 17%) in CSS?
As HSL: color: hsl(317, 42%, 17%); — As HEX: color: #3E1933; — As RGB: color: rgb(62, 25, 51); — Tailwind CSS: bg-[hsl(317,42%,17%)] — CSS variable: --color-primary: hsl(317, 42%, 17%);