HSL(316, 40%, 31%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(316,40%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(316, 40%, 31%) | color: hsl(316, 40%, 31%) | |
| HEX | #6F2F5E | color: #6F2F5E | |
| RGB | rgb(111, 47, 94) | color: rgb(111, 47, 94) | |
| CMYK | cmyk(0%, 58%, 15%, 56%) | — | |
| HSV | hsv(316, 58%, 44%) | — | |
| HWB | hwb(316 18% 56%) | color: hwb(316 18% 56%) | |
| OKLCH | oklch(0.4104 0.1094 338.81) | color: oklch(0.4104 0.1094 338.81) | |
| Lab | lab(29.96 34.67 -14.69) | color: lab(29.96 34.67 -14.69) | |
| LCH | lch(29.96 37.65 337.04) | color: lch(29.96 37.65 337.04) |
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)
#535353 — rgb(83, 83, 83)
Deuteranopia (Green-blind)
#575C50 — rgb(87, 92, 80)
Tritanopia (Blue-blind)
#6C4A48 — rgb(108, 74, 72)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(316, 40%, 31%);
text
color: hsl(316, 40%, 31%);
border
border: 2px solid hsl(316, 40%, 31%);
gradient light
background: linear-gradient(to right, hsl(316, 40%, 51%), hsl(316, 40%, 31%));
gradient dark
background: linear-gradient(to right, hsl(316, 40%, 31%), hsl(316, 40%, 11%))
hex
background-color: #6F2F5E;
tailwind
bg-[hsl(316,40%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(316, 40%, 31%, 0.4);
css variable
--color-primary: hsl(316, 40%, 31%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(316, 40%, 31%)?
HEX: #6F2F5E | RGB: rgb(111, 47, 94) | CMYK: 0%, 58%, 15%, 56% | HSV: 316°, 58%, 44%. Copy any format from the conversion table above.
What colors go well with #6F2F5E?
The complementary color is HSL(136, 40%, 31%). For a triadic harmony, use hues 316°, 76°, and 196°. For analogous combinations, try hues 286° and 346°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(316, 40%, 31%) in CSS?
As HSL: color: hsl(316, 40%, 31%); — As HEX: color: #6F2F5E; — As RGB: color: rgb(111, 47, 94); — Tailwind CSS: bg-[hsl(316,40%,31%)] — CSS variable: --color-primary: hsl(316, 40%, 31%);