HSL(318, 20%, 26%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(318,20%,26%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(318, 20%, 26%) | color: hsl(318, 20%, 26%) | |
| HEX | #503548 | color: #503548 | |
| RGB | rgb(80, 53, 72) | color: rgb(80, 53, 72) | |
| CMYK | cmyk(0%, 34%, 10%, 69%) | — | |
| HSV | hsv(318, 34%, 31%) | — | |
| HWB | hwb(318 20% 69%) | color: hwb(318 20% 69%) | |
| OKLCH | oklch(0.3675 0.0486 338.03) | color: oklch(0.3675 0.0486 338.03) | |
| Lab | lab(25.92 15.6 -6.83) | color: lab(25.92 15.6 -6.83) | |
| LCH | lch(25.92 17.03 336.36) | color: lch(25.92 17.03 336.36) |
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)
#444443 — rgb(68, 68, 67)
Deuteranopia (Green-blind)
#464842 — rgb(70, 72, 66)
Tritanopia (Blue-blind)
#4F403F — rgb(79, 64, 63)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(318, 20%, 26%);
text
color: hsl(318, 20%, 26%);
border
border: 2px solid hsl(318, 20%, 26%);
gradient light
background: linear-gradient(to right, hsl(318, 20%, 46%), hsl(318, 20%, 26%));
gradient dark
background: linear-gradient(to right, hsl(318, 20%, 26%), hsl(318, 20%, 6%))
hex
background-color: #503548;
tailwind
bg-[hsl(318,20%,26%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(318, 20%, 26%, 0.4);
css variable
--color-primary: hsl(318, 20%, 26%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(318, 20%, 26%)?
HEX: #503548 | RGB: rgb(80, 53, 72) | CMYK: 0%, 34%, 10%, 69% | HSV: 318°, 34%, 31%. Copy any format from the conversion table above.
What colors go well with #503548?
The complementary color is HSL(138, 20%, 26%). For a triadic harmony, use hues 318°, 78°, and 198°. For analogous combinations, try hues 288° and 348°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(318, 20%, 26%) in CSS?
As HSL: color: hsl(318, 20%, 26%); — As HEX: color: #503548; — As RGB: color: rgb(80, 53, 72); — Tailwind CSS: bg-[hsl(318,20%,26%)] — CSS variable: --color-primary: hsl(318, 20%, 26%);