HSL(318, 45%, 15%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(318,45%,15%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(318, 45%, 15%) | color: hsl(318, 45%, 15%) | |
| HEX | #37152D | color: #37152D | |
| RGB | rgb(55, 21, 45) | color: rgb(55, 21, 45) | |
| CMYK | cmyk(0%, 62%, 18%, 78%) | — | |
| HSV | hsv(318, 62%, 22%) | — | |
| HWB | hwb(318 8% 78%) | color: hwb(318 8% 78%) | |
| OKLCH | oklch(0.2571 0.0648 339.98) | color: oklch(0.2571 0.0648 339.98) | |
| Lab | lab(12.85 20.64 -8.27) | color: lab(12.85 20.64 -8.27) | |
| LCH | lch(12.85 22.24 338.17) | color: lch(12.85 22.24 338.17) |
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)
#282827 — rgb(40, 40, 39)
Deuteranopia (Green-blind)
#2A2D26 — rgb(42, 45, 38)
Tritanopia (Blue-blind)
#352322 — rgb(53, 35, 34)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(318, 45%, 15%);
text
color: hsl(318, 45%, 15%);
border
border: 2px solid hsl(318, 45%, 15%);
gradient light
background: linear-gradient(to right, hsl(318, 45%, 35%), hsl(318, 45%, 15%));
gradient dark
background: linear-gradient(to right, hsl(318, 45%, 15%), hsl(318, 45%, 0%))
hex
background-color: #37152D;
tailwind
bg-[hsl(318,45%,15%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(318, 45%, 15%, 0.4);
css variable
--color-primary: hsl(318, 45%, 15%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(318, 45%, 15%)?
HEX: #37152D | RGB: rgb(55, 21, 45) | CMYK: 0%, 62%, 18%, 78% | HSV: 318°, 62%, 22%. Copy any format from the conversion table above.
What colors go well with #37152D?
The complementary color is HSL(138, 45%, 15%). 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, 45%, 15%) in CSS?
As HSL: color: hsl(318, 45%, 15%); — As HEX: color: #37152D; — As RGB: color: rgb(55, 21, 45); — Tailwind CSS: bg-[hsl(318,45%,15%)] — CSS variable: --color-primary: hsl(318, 45%, 15%);