HSL(342, 70%, 24%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,70%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 70%, 24%) | color: hsl(342, 70%, 24%) | |
| HEX | #68122C | color: #68122C | |
| RGB | rgb(104, 18, 44) | color: rgb(104, 18, 44) | |
| CMYK | cmyk(0%, 83%, 58%, 59%) | — | |
| HSV | hsv(342, 83%, 41%) | — | |
| HWB | hwb(342 7% 59%) | color: hwb(342 7% 59%) | |
| OKLCH | oklch(0.3443 0.1193 8.86) | color: oklch(0.3443 0.1193 8.86) | |
| Lab | lab(22.15 38.75 7.22) | color: lab(22.15 38.75 7.22) | |
| LCH | lch(22.15 39.42 10.55) | color: lch(22.15 39.42 10.55) |
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)
#434226 — rgb(67, 66, 38)
Deuteranopia (Green-blind)
#484E24 — rgb(72, 78, 36)
Tritanopia (Blue-blind)
#642120 — rgb(100, 33, 32)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 70%, 24%);
text
color: hsl(342, 70%, 24%);
border
border: 2px solid hsl(342, 70%, 24%);
gradient light
background: linear-gradient(to right, hsl(342, 70%, 44%), hsl(342, 70%, 24%));
gradient dark
background: linear-gradient(to right, hsl(342, 70%, 24%), hsl(342, 70%, 4%))
hex
background-color: #68122C;
tailwind
bg-[hsl(342,70%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 70%, 24%, 0.4);
css variable
--color-primary: hsl(342, 70%, 24%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 70%, 24%)?
HEX: #68122C | RGB: rgb(104, 18, 44) | CMYK: 0%, 83%, 58%, 59% | HSV: 342°, 83%, 41%. Copy any format from the conversion table above.
What colors go well with #68122C?
The complementary color is HSL(162, 70%, 24%). 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%, 24%) in CSS?
As HSL: color: hsl(342, 70%, 24%); — As HEX: color: #68122C; — As RGB: color: rgb(104, 18, 44); — Tailwind CSS: bg-[hsl(342,70%,24%)] — CSS variable: --color-primary: hsl(342, 70%, 24%);