HSL(315, 40%, 30%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(315,40%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(315, 40%, 30%) | color: hsl(315, 40%, 30%) | |
| HEX | #6B2E5C | color: #6B2E5C | |
| RGB | rgb(107, 46, 92) | color: rgb(107, 46, 92) | |
| CMYK | cmyk(0%, 57%, 14%, 58%) | — | |
| HSV | hsv(315, 57%, 42%) | — | |
| HWB | hwb(315 18% 58%) | color: hwb(315 18% 58%) | |
| OKLCH | oklch(0.402 0.1061 337.8) | color: oklch(0.402 0.1061 337.8) | |
| Lab | lab(29.04 33.53 -14.87) | color: lab(29.04 33.53 -14.87) | |
| LCH | lch(29.04 36.68 336.08) | color: lch(29.04 36.68 336.08) |
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)
#515051 — rgb(81, 80, 81)
Deuteranopia (Green-blind)
#54594E — rgb(84, 89, 78)
Tritanopia (Blue-blind)
#684846 — rgb(104, 72, 70)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(315, 40%, 30%);
text
color: hsl(315, 40%, 30%);
border
border: 2px solid hsl(315, 40%, 30%);
gradient light
background: linear-gradient(to right, hsl(315, 40%, 50%), hsl(315, 40%, 30%));
gradient dark
background: linear-gradient(to right, hsl(315, 40%, 30%), hsl(315, 40%, 10%))
hex
background-color: #6B2E5C;
tailwind
bg-[hsl(315,40%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(315, 40%, 30%, 0.4);
css variable
--color-primary: hsl(315, 40%, 30%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(315, 40%, 30%)?
HEX: #6B2E5C | RGB: rgb(107, 46, 92) | CMYK: 0%, 57%, 14%, 58% | HSV: 315°, 57%, 42%. Copy any format from the conversion table above.
What colors go well with #6B2E5C?
The complementary color is HSL(135, 40%, 30%). 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, 40%, 30%) in CSS?
As HSL: color: hsl(315, 40%, 30%); — As HEX: color: #6B2E5C; — As RGB: color: rgb(107, 46, 92); — Tailwind CSS: bg-[hsl(315,40%,30%)] — CSS variable: --color-primary: hsl(315, 40%, 30%);