HSL(315, 100%, 33%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(315,100%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(315, 100%, 33%) | color: hsl(315, 100%, 33%) | |
| HEX | #A8007E | color: #A8007E | |
| RGB | rgb(168, 0, 126) | color: rgb(168, 0, 126) | |
| CMYK | cmyk(0%, 100%, 25%, 34%) | — | |
| HSV | hsv(315, 100%, 66%) | — | |
| HWB | hwb(315 0% 34%) | color: hwb(315 0% 34%) | |
| OKLCH | oklch(0.4897 0.2097 343.29) | color: oklch(0.4897 0.2097 343.29) | |
| Lab | lab(37.54 66.19 -22.47) | color: lab(37.54 66.19 -22.47) | |
| LCH | lch(37.54 69.9 341.25) | color: lch(37.54 69.9 341.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)
#5F5E60 — rgb(95, 94, 96)
Deuteranopia (Green-blind)
#697658 — rgb(105, 118, 88)
Tritanopia (Blue-blind)
#A04742 — rgb(160, 71, 66)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(315, 100%, 33%);
text
color: hsl(315, 100%, 33%);
border
border: 2px solid hsl(315, 100%, 33%);
gradient light
background: linear-gradient(to right, hsl(315, 100%, 53%), hsl(315, 100%, 33%));
gradient dark
background: linear-gradient(to right, hsl(315, 100%, 33%), hsl(315, 100%, 13%))
hex
background-color: #A8007E;
tailwind
bg-[hsl(315,100%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(315, 100%, 33%, 0.4);
css variable
--color-primary: hsl(315, 100%, 33%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(315, 100%, 33%)?
HEX: #A8007E | RGB: rgb(168, 0, 126) | CMYK: 0%, 100%, 25%, 34% | HSV: 315°, 100%, 66%. Copy any format from the conversion table above.
What colors go well with #A8007E?
The complementary color is HSL(135, 100%, 33%). 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, 100%, 33%) in CSS?
As HSL: color: hsl(315, 100%, 33%); — As HEX: color: #A8007E; — As RGB: color: rgb(168, 0, 126); — Tailwind CSS: bg-[hsl(315,100%,33%)] — CSS variable: --color-primary: hsl(315, 100%, 33%);