HSL(315, 20%, 25%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(315,20%,25%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(315, 20%, 25%) | color: hsl(315, 20%, 25%) | |
| HEX | #4D3346 | color: #4D3346 | |
| RGB | rgb(77, 51, 70) | color: rgb(77, 51, 70) | |
| CMYK | cmyk(0%, 34%, 9%, 70%) | — | |
| HSV | hsv(316, 34%, 30%) | — | |
| HWB | hwb(316 20% 70%) | color: hwb(316 20% 70%) | |
| OKLCH | oklch(0.3587 0.0478 336.82) | color: oklch(0.3587 0.0478 336.82) | |
| Lab | lab(24.91 15.26 -7.05) | color: lab(24.91 15.26 -7.05) | |
| LCH | lch(24.91 16.81 335.2) | color: lch(24.91 16.81 335.2) |
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)
#424241 — rgb(66, 66, 65)
Deuteranopia (Green-blind)
#434540 — rgb(67, 69, 64)
Tritanopia (Blue-blind)
#4C3E3D — rgb(76, 62, 61)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(315, 20%, 25%);
text
color: hsl(315, 20%, 25%);
border
border: 2px solid hsl(315, 20%, 25%);
gradient light
background: linear-gradient(to right, hsl(315, 20%, 45%), hsl(315, 20%, 25%));
gradient dark
background: linear-gradient(to right, hsl(315, 20%, 25%), hsl(315, 20%, 5%))
hex
background-color: #4D3346;
tailwind
bg-[hsl(315,20%,25%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(315, 20%, 25%, 0.4);
css variable
--color-primary: hsl(315, 20%, 25%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(315, 20%, 25%)?
HEX: #4D3346 | RGB: rgb(77, 51, 70) | CMYK: 0%, 34%, 9%, 70% | HSV: 316°, 34%, 30%. Copy any format from the conversion table above.
What colors go well with #4D3346?
The complementary color is HSL(135, 20%, 25%). For a triadic harmony, use hues 315°, 75°, and 195°. For analogous combinations, try hues 285° and 345°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(315, 20%, 25%) in CSS?
As HSL: color: hsl(315, 20%, 25%); — As HEX: color: #4D3346; — As RGB: color: rgb(77, 51, 70); — Tailwind CSS: bg-[hsl(315,20%,25%)] — CSS variable: --color-primary: hsl(315, 20%, 25%);