HSL(342, 34%, 23%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,34%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 34%, 23%) | color: hsl(342, 34%, 23%) | |
| HEX | #4F2733 | color: #4F2733 | |
| RGB | rgb(79, 39, 51) | color: rgb(79, 39, 51) | |
| CMYK | cmyk(0%, 51%, 35%, 69%) | — | |
| HSV | hsv(342, 51%, 31%) | — | |
| HWB | hwb(342 15% 69%) | color: hwb(342 15% 69%) | |
| OKLCH | oklch(0.3304 0.0616 1.86) | color: oklch(0.3304 0.0616 1.86) | |
| Lab | lab(21.4 20.29 0.66) | color: lab(21.4 20.29 0.66) | |
| LCH | lch(21.4 20.3 1.86) | color: lch(21.4 20.3 1.86) |
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)
#3E3D30 — rgb(62, 61, 48)
Deuteranopia (Green-blind)
#40432F — rgb(64, 67, 47)
Tritanopia (Blue-blind)
#4D2E2D — rgb(77, 46, 45)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 34%, 23%);
text
color: hsl(342, 34%, 23%);
border
border: 2px solid hsl(342, 34%, 23%);
gradient light
background: linear-gradient(to right, hsl(342, 34%, 43%), hsl(342, 34%, 23%));
gradient dark
background: linear-gradient(to right, hsl(342, 34%, 23%), hsl(342, 34%, 3%))
hex
background-color: #4F2733;
tailwind
bg-[hsl(342,34%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 34%, 23%, 0.4);
css variable
--color-primary: hsl(342, 34%, 23%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 34%, 23%)?
HEX: #4F2733 | RGB: rgb(79, 39, 51) | CMYK: 0%, 51%, 35%, 69% | HSV: 342°, 51%, 31%. Copy any format from the conversion table above.
What colors go well with #4F2733?
The complementary color is HSL(162, 34%, 23%). 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, 34%, 23%) in CSS?
As HSL: color: hsl(342, 34%, 23%); — As HEX: color: #4F2733; — As RGB: color: rgb(79, 39, 51); — Tailwind CSS: bg-[hsl(342,34%,23%)] — CSS variable: --color-primary: hsl(342, 34%, 23%);