HSL(338, 70%, 28%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(338,70%,28%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(338, 70%, 28%) | color: hsl(338, 70%, 28%) | |
| HEX | #79153A | color: #79153A | |
| RGB | rgb(121, 21, 58) | color: rgb(121, 21, 58) | |
| CMYK | cmyk(0%, 83%, 52%, 53%) | — | |
| HSV | hsv(338, 83%, 47%) | — | |
| HWB | hwb(338 8% 53%) | color: hwb(338 8% 53%) | |
| OKLCH | oklch(0.3838 0.1356 4.68) | color: oklch(0.3838 0.1356 4.68) | |
| Lab | lab(26.47 44.14 4.18) | color: lab(26.47 44.14 4.18) | |
| LCH | lch(26.47 44.34 5.41) | color: lch(26.47 44.34 5.41) |
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)
#4E4D31 — rgb(78, 77, 49)
Deuteranopia (Green-blind)
#545B2F — rgb(84, 91, 47)
Tritanopia (Blue-blind)
#742A28 — rgb(116, 42, 40)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(338, 70%, 28%);
text
color: hsl(338, 70%, 28%);
border
border: 2px solid hsl(338, 70%, 28%);
gradient light
background: linear-gradient(to right, hsl(338, 70%, 48%), hsl(338, 70%, 28%));
gradient dark
background: linear-gradient(to right, hsl(338, 70%, 28%), hsl(338, 70%, 8%))
hex
background-color: #79153A;
tailwind
bg-[hsl(338,70%,28%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(338, 70%, 28%, 0.4);
css variable
--color-primary: hsl(338, 70%, 28%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(338, 70%, 28%)?
HEX: #79153A | RGB: rgb(121, 21, 58) | CMYK: 0%, 83%, 52%, 53% | HSV: 338°, 83%, 47%. Copy any format from the conversion table above.
What colors go well with #79153A?
The complementary color is HSL(158, 70%, 28%). For a triadic harmony, use hues 338°, 98°, and 218°. For analogous combinations, try hues 308° and 8°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(338, 70%, 28%) in CSS?
As HSL: color: hsl(338, 70%, 28%); — As HEX: color: #79153A; — As RGB: color: rgb(121, 21, 58); — Tailwind CSS: bg-[hsl(338,70%,28%)] — CSS variable: --color-primary: hsl(338, 70%, 28%);