HSL(315, 80%, 23%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(315,80%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(315, 80%, 23%) | color: hsl(315, 80%, 23%) | |
| HEX | #6A0C52 | color: #6A0C52 | |
| RGB | rgb(106, 12, 82) | color: rgb(106, 12, 82) | |
| CMYK | cmyk(0%, 89%, 23%, 58%) | — | |
| HSV | hsv(315, 89%, 42%) | — | |
| HWB | hwb(315 5% 58%) | color: hwb(315 5% 58%) | |
| OKLCH | oklch(0.3594 0.1437 341.52) | color: oklch(0.3594 0.1437 341.52) | |
| Lab | lab(23.46 45.3 -16.9) | color: lab(23.46 45.3 -16.9) | |
| LCH | lch(23.46 48.35 339.54) | color: lch(23.46 48.35 339.54) |
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)
#414041 — rgb(65, 64, 65)
Deuteranopia (Green-blind)
#474E3D — rgb(71, 78, 61)
Tritanopia (Blue-blind)
#653431 — rgb(101, 52, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(315, 80%, 23%);
text
color: hsl(315, 80%, 23%);
border
border: 2px solid hsl(315, 80%, 23%);
gradient light
background: linear-gradient(to right, hsl(315, 80%, 43%), hsl(315, 80%, 23%));
gradient dark
background: linear-gradient(to right, hsl(315, 80%, 23%), hsl(315, 80%, 3%))
hex
background-color: #6A0C52;
tailwind
bg-[hsl(315,80%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(315, 80%, 23%, 0.4);
css variable
--color-primary: hsl(315, 80%, 23%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(315, 80%, 23%)?
HEX: #6A0C52 | RGB: rgb(106, 12, 82) | CMYK: 0%, 89%, 23%, 58% | HSV: 315°, 89%, 42%. Copy any format from the conversion table above.
What colors go well with #6A0C52?
The complementary color is HSL(135, 80%, 23%). For a triadic harmony, use hues 315°, 75°, and 195°. For analogous combinations, try hues 285° and 345°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(315, 80%, 23%) in CSS?
As HSL: color: hsl(315, 80%, 23%); — As HEX: color: #6A0C52; — As RGB: color: rgb(106, 12, 82); — Tailwind CSS: bg-[hsl(315,80%,23%)] — CSS variable: --color-primary: hsl(315, 80%, 23%);