HSL(342, 70%, 20%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,70%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 70%, 20%) | color: hsl(342, 70%, 20%) | |
| HEX | #570F25 | color: #570F25 | |
| RGB | rgb(87, 15, 37) | color: rgb(87, 15, 37) | |
| CMYK | cmyk(0%, 83%, 57%, 66%) | — | |
| HSV | hsv(342, 83%, 34%) | — | |
| HWB | hwb(342 6% 66%) | color: hwb(342 6% 66%) | |
| OKLCH | oklch(0.3059 0.1039 8.13) | color: oklch(0.3059 0.1039 8.13) | |
| Lab | lab(17.93 33.77 5.73) | color: lab(17.93 33.77 5.73) | |
| LCH | lch(17.93 34.25 9.63) | color: lch(17.93 34.25 9.63) |
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)
#383720 — rgb(56, 55, 32)
Deuteranopia (Green-blind)
#3C411E — rgb(60, 65, 30)
Tritanopia (Blue-blind)
#531B1B — rgb(83, 27, 27)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 70%, 20%);
text
color: hsl(342, 70%, 20%);
border
border: 2px solid hsl(342, 70%, 20%);
gradient light
background: linear-gradient(to right, hsl(342, 70%, 40%), hsl(342, 70%, 20%));
gradient dark
background: linear-gradient(to right, hsl(342, 70%, 20%), hsl(342, 70%, 0%))
hex
background-color: #570F25;
tailwind
bg-[hsl(342,70%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 70%, 20%, 0.4);
css variable
--color-primary: hsl(342, 70%, 20%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 70%, 20%)?
HEX: #570F25 | RGB: rgb(87, 15, 37) | CMYK: 0%, 83%, 57%, 66% | HSV: 342°, 83%, 34%. Copy any format from the conversion table above.
What colors go well with #570F25?
The complementary color is HSL(162, 70%, 20%). For a triadic harmony, use hues 342°, 102°, and 222°. For analogous combinations, try hues 312° and 12°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(342, 70%, 20%) in CSS?
As HSL: color: hsl(342, 70%, 20%); — As HEX: color: #570F25; — As RGB: color: rgb(87, 15, 37); — Tailwind CSS: bg-[hsl(342,70%,20%)] — CSS variable: --color-primary: hsl(342, 70%, 20%);