HSL(315, 83%, 71%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(315,83%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(315, 83%, 71%) | color: hsl(315, 83%, 71%) | |
| HEX | #F278D4 | color: #F278D4 | |
| RGB | rgb(242, 120, 212) | color: rgb(242, 120, 212) | |
| CMYK | cmyk(0%, 50%, 12%, 5%) | — | |
| HSV | hsv(315, 50%, 95%) | — | |
| HWB | hwb(315 48% 5%) | color: hwb(315 48% 5%) | |
| OKLCH | oklch(0.742 0.1835 337.53) | color: oklch(0.742 0.1835 337.53) | |
| Lab | lab(67.33 58.04 -26.04) | color: lab(67.33 58.04 -26.04) | |
| LCH | lch(67.33 63.61 335.84) | color: lch(67.33 63.61 335.84) |
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)
#BDBCBE — rgb(189, 188, 190)
Deuteranopia (Green-blind)
#C4CDB8 — rgb(196, 205, 184)
Tritanopia (Blue-blind)
#ECACA8 — rgb(236, 172, 168)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(315, 83%, 71%);
text
color: hsl(315, 83%, 71%);
border
border: 2px solid hsl(315, 83%, 71%);
gradient light
background: linear-gradient(to right, hsl(315, 83%, 91%), hsl(315, 83%, 71%));
gradient dark
background: linear-gradient(to right, hsl(315, 83%, 71%), hsl(315, 83%, 51%))
hex
background-color: #F278D4;
tailwind
bg-[hsl(315,83%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(315, 83%, 71%, 0.4);
css variable
--color-primary: hsl(315, 83%, 71%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(315, 83%, 71%)?
HEX: #F278D4 | RGB: rgb(242, 120, 212) | CMYK: 0%, 50%, 12%, 5% | HSV: 315°, 50%, 95%. Copy any format from the conversion table above.
What colors go well with #F278D4?
The complementary color is HSL(135, 83%, 71%). 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, 83%, 71%) in CSS?
As HSL: color: hsl(315, 83%, 71%); — As HEX: color: #F278D4; — As RGB: color: rgb(242, 120, 212); — Tailwind CSS: bg-[hsl(315,83%,71%)] — CSS variable: --color-primary: hsl(315, 83%, 71%);