HSL(317, 70%, 49%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(317,70%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(317, 70%, 49%) | color: hsl(317, 70%, 49%) | |
| HEX | #D425A3 | color: #D425A3 | |
| RGB | rgb(212, 37, 163) | color: rgb(212, 37, 163) | |
| CMYK | cmyk(0%, 83%, 23%, 17%) | — | |
| HSV | hsv(317, 83%, 83%) | — | |
| HWB | hwb(317 14% 17%) | color: hwb(317 14% 17%) | |
| OKLCH | oklch(0.5956 0.2348 342.84) | color: oklch(0.5956 0.2348 342.84) | |
| Lab | lab(49.46 74.26 -25.82) | color: lab(49.46 74.26 -25.82) | |
| LCH | lch(49.46 78.62 340.83) | color: lch(49.46 78.62 340.83) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#888785 — rgb(136, 135, 133)
Deuteranopia (Green-blind)
#92A07D — rgb(146, 160, 125)
Tritanopia (Blue-blind)
#CB6C67 — rgb(203, 108, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(317, 70%, 49%);
text
color: hsl(317, 70%, 49%);
border
border: 2px solid hsl(317, 70%, 49%);
gradient light
background: linear-gradient(to right, hsl(317, 70%, 69%), hsl(317, 70%, 49%));
gradient dark
background: linear-gradient(to right, hsl(317, 70%, 49%), hsl(317, 70%, 29%))
hex
background-color: #D425A3;
tailwind
bg-[hsl(317,70%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(317, 70%, 49%, 0.4);
css variable
--color-primary: hsl(317, 70%, 49%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(317, 70%, 49%)?
HEX: #D425A3 | RGB: rgb(212, 37, 163) | CMYK: 0%, 83%, 23%, 17% | HSV: 317°, 83%, 83%. Copy any format from the conversion table above.
What colors go well with #D425A3?
The complementary color is HSL(137, 70%, 49%). 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, 70%, 49%) in CSS?
As HSL: color: hsl(317, 70%, 49%); — As HEX: color: #D425A3; — As RGB: color: rgb(212, 37, 163); — Tailwind CSS: bg-[hsl(317,70%,49%)] — CSS variable: --color-primary: hsl(317, 70%, 49%);