HSL(335, 70%, 18%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(335,70%,18%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(335, 70%, 18%) | color: hsl(335, 70%, 18%) | |
| HEX | #4E0E29 | color: #4E0E29 | |
| RGB | rgb(78, 14, 41) | color: rgb(78, 14, 41) | |
| CMYK | cmyk(0%, 82%, 47%, 69%) | — | |
| HSV | hsv(335, 82%, 31%) | — | |
| HWB | hwb(335 6% 69%) | color: hwb(335 6% 69%) | |
| OKLCH | oklch(0.2884 0.0971 359.89) | color: oklch(0.2884 0.0971 359.89) | |
| Lab | lab(15.97 31.63 -0.21) | color: lab(15.97 31.63 -0.21) | |
| LCH | lch(15.97 31.63 359.62) | color: lch(15.97 31.63 359.62) |
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)
#323222 — rgb(50, 50, 34)
Deuteranopia (Green-blind)
#363B21 — rgb(54, 59, 33)
Tritanopia (Blue-blind)
#4B1D1C — rgb(75, 29, 28)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(335, 70%, 18%);
text
color: hsl(335, 70%, 18%);
border
border: 2px solid hsl(335, 70%, 18%);
gradient light
background: linear-gradient(to right, hsl(335, 70%, 38%), hsl(335, 70%, 18%));
gradient dark
background: linear-gradient(to right, hsl(335, 70%, 18%), hsl(335, 70%, 0%))
hex
background-color: #4E0E29;
tailwind
bg-[hsl(335,70%,18%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(335, 70%, 18%, 0.4);
css variable
--color-primary: hsl(335, 70%, 18%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(335, 70%, 18%)?
HEX: #4E0E29 | RGB: rgb(78, 14, 41) | CMYK: 0%, 82%, 47%, 69% | HSV: 335°, 82%, 31%. Copy any format from the conversion table above.
What colors go well with #4E0E29?
The complementary color is HSL(155, 70%, 18%). For a triadic harmony, use hues 335°, 95°, and 215°. For analogous combinations, try hues 305° and 5°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(335, 70%, 18%) in CSS?
As HSL: color: hsl(335, 70%, 18%); — As HEX: color: #4E0E29; — As RGB: color: rgb(78, 14, 41); — Tailwind CSS: bg-[hsl(335,70%,18%)] — CSS variable: --color-primary: hsl(335, 70%, 18%);