HSL(317, 50%, 70%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(317,50%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(317, 50%, 70%) | color: hsl(317, 50%, 70%) | |
| HEX | #D98CC3 | color: #D98CC3 | |
| RGB | rgb(217, 140, 195) | color: rgb(217, 140, 195) | |
| CMYK | cmyk(0%, 35%, 10%, 15%) | — | |
| HSV | hsv(317, 35%, 85%) | — | |
| HWB | hwb(317 55% 15%) | color: hwb(317 55% 15%) | |
| OKLCH | oklch(0.7356 0.1167 337.98) | color: oklch(0.7356 0.1167 337.98) | |
| Lab | lab(67.61 37.34 -16.39) | color: lab(67.61 37.34 -16.39) | |
| LCH | lch(67.61 40.78 336.3) | color: lch(67.61 40.78 336.3) |
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)
#B8B7B6 — rgb(184, 183, 182)
Deuteranopia (Green-blind)
#BCC2B3 — rgb(188, 194, 179)
Tritanopia (Blue-blind)
#D5ABA9 — rgb(213, 171, 169)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(317, 50%, 70%);
text
color: hsl(317, 50%, 70%);
border
border: 2px solid hsl(317, 50%, 70%);
gradient light
background: linear-gradient(to right, hsl(317, 50%, 90%), hsl(317, 50%, 70%));
gradient dark
background: linear-gradient(to right, hsl(317, 50%, 70%), hsl(317, 50%, 50%))
hex
background-color: #D98CC3;
tailwind
bg-[hsl(317,50%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(317, 50%, 70%, 0.4);
css variable
--color-primary: hsl(317, 50%, 70%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(317, 50%, 70%)?
HEX: #D98CC3 | RGB: rgb(217, 140, 195) | CMYK: 0%, 35%, 10%, 15% | HSV: 317°, 35%, 85%. Copy any format from the conversion table above.
What colors go well with #D98CC3?
The complementary color is HSL(137, 50%, 70%). 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, 50%, 70%) in CSS?
As HSL: color: hsl(317, 50%, 70%); — As HEX: color: #D98CC3; — As RGB: color: rgb(217, 140, 195); — Tailwind CSS: bg-[hsl(317,50%,70%)] — CSS variable: --color-primary: hsl(317, 50%, 70%);