HSL(315, 70%, 20%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(315,70%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(315, 70%, 20%) | color: hsl(315, 70%, 20%) | |
| HEX | #570F45 | color: #570F45 | |
| RGB | rgb(87, 15, 69) | color: rgb(87, 15, 69) | |
| CMYK | cmyk(0%, 83%, 21%, 66%) | — | |
| HSV | hsv(315, 83%, 34%) | — | |
| HWB | hwb(315 6% 66%) | color: hwb(315 6% 66%) | |
| OKLCH | oklch(0.3195 0.1197 340.3) | color: oklch(0.3195 0.1197 340.3) | |
| Lab | lab(19.22 37.72 -14.95) | color: lab(19.22 37.72 -14.95) | |
| LCH | lch(19.22 40.57 338.38) | color: lch(19.22 40.57 338.38) |
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)
#383738 — rgb(56, 55, 56)
Deuteranopia (Green-blind)
#3C4135 — rgb(60, 65, 53)
Tritanopia (Blue-blind)
#532E2B — rgb(83, 46, 43)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(315, 70%, 20%);
text
color: hsl(315, 70%, 20%);
border
border: 2px solid hsl(315, 70%, 20%);
gradient light
background: linear-gradient(to right, hsl(315, 70%, 40%), hsl(315, 70%, 20%));
gradient dark
background: linear-gradient(to right, hsl(315, 70%, 20%), hsl(315, 70%, 0%))
hex
background-color: #570F45;
tailwind
bg-[hsl(315,70%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(315, 70%, 20%, 0.4);
css variable
--color-primary: hsl(315, 70%, 20%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(315, 70%, 20%)?
HEX: #570F45 | RGB: rgb(87, 15, 69) | CMYK: 0%, 83%, 21%, 66% | HSV: 315°, 83%, 34%. Copy any format from the conversion table above.
What colors go well with #570F45?
The complementary color is HSL(135, 70%, 20%). 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, 70%, 20%) in CSS?
As HSL: color: hsl(315, 70%, 20%); — As HEX: color: #570F45; — As RGB: color: rgb(87, 15, 69); — Tailwind CSS: bg-[hsl(315,70%,20%)] — CSS variable: --color-primary: hsl(315, 70%, 20%);