HSL(338, 83%, 30%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(338,83%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(338, 83%, 30%) | color: hsl(338, 83%, 30%) | |
| HEX | #8C0D3C | color: #8C0D3C | |
| RGB | rgb(140, 13, 60) | color: rgb(140, 13, 60) | |
| CMYK | cmyk(0%, 91%, 57%, 45%) | — | |
| HSV | hsv(338, 91%, 55%) | — | |
| HWB | hwb(338 5% 45%) | color: hwb(338 5% 45%) | |
| OKLCH | oklch(0.4162 0.1583 7.6) | color: oklch(0.4162 0.1583 7.6) | |
| Lab | lab(29.89 51.46 8.23) | color: lab(29.89 51.46 8.23) | |
| LCH | lch(29.89 52.11 9.09) | color: lch(29.89 52.11 9.09) |
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)
#555431 — rgb(85, 84, 49)
Deuteranopia (Green-blind)
#5C662E — rgb(92, 102, 46)
Tritanopia (Blue-blind)
#862826 — rgb(134, 40, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(338, 83%, 30%);
text
color: hsl(338, 83%, 30%);
border
border: 2px solid hsl(338, 83%, 30%);
gradient light
background: linear-gradient(to right, hsl(338, 83%, 50%), hsl(338, 83%, 30%));
gradient dark
background: linear-gradient(to right, hsl(338, 83%, 30%), hsl(338, 83%, 10%))
hex
background-color: #8C0D3C;
tailwind
bg-[hsl(338,83%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(338, 83%, 30%, 0.4);
css variable
--color-primary: hsl(338, 83%, 30%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(338, 83%, 30%)?
HEX: #8C0D3C | RGB: rgb(140, 13, 60) | CMYK: 0%, 91%, 57%, 45% | HSV: 338°, 91%, 55%. Copy any format from the conversion table above.
What colors go well with #8C0D3C?
The complementary color is HSL(158, 83%, 30%). 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, 83%, 30%) in CSS?
As HSL: color: hsl(338, 83%, 30%); — As HEX: color: #8C0D3C; — As RGB: color: rgb(140, 13, 60); — Tailwind CSS: bg-[hsl(338,83%,30%)] — CSS variable: --color-primary: hsl(338, 83%, 30%);