HSL(320, 26%, 20%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(320,26%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(320, 26%, 20%) | color: hsl(320, 26%, 20%) | |
| HEX | #402637 | color: #402637 | |
| RGB | rgb(64, 38, 55) | color: rgb(64, 38, 55) | |
| CMYK | cmyk(0%, 41%, 14%, 75%) | — | |
| HSV | hsv(321, 41%, 25%) | — | |
| HWB | hwb(321 15% 75%) | color: hwb(321 15% 75%) | |
| OKLCH | oklch(0.308 0.0474 340.77) | color: oklch(0.308 0.0474 340.77) | |
| Lab | lab(19.02 15.34 -5.88) | color: lab(19.02 15.34 -5.88) | |
| LCH | lch(19.02 16.43 339.03) | color: lch(19.02 16.43 339.03) |
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)
#353533 — rgb(53, 53, 51)
Deuteranopia (Green-blind)
#363832 — rgb(54, 56, 50)
Tritanopia (Blue-blind)
#3F302F — rgb(63, 48, 47)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(320, 26%, 20%);
text
color: hsl(320, 26%, 20%);
border
border: 2px solid hsl(320, 26%, 20%);
gradient light
background: linear-gradient(to right, hsl(320, 26%, 40%), hsl(320, 26%, 20%));
gradient dark
background: linear-gradient(to right, hsl(320, 26%, 20%), hsl(320, 26%, 0%))
hex
background-color: #402637;
tailwind
bg-[hsl(320,26%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(320, 26%, 20%, 0.4);
css variable
--color-primary: hsl(320, 26%, 20%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(320, 26%, 20%)?
HEX: #402637 | RGB: rgb(64, 38, 55) | CMYK: 0%, 41%, 14%, 75% | HSV: 321°, 41%, 25%. Copy any format from the conversion table above.
What colors go well with #402637?
The complementary color is HSL(140, 26%, 20%). For a triadic harmony, use hues 320°, 80°, and 200°. For analogous combinations, try hues 290° and 350°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(320, 26%, 20%) in CSS?
As HSL: color: hsl(320, 26%, 20%); — As HEX: color: #402637; — As RGB: color: rgb(64, 38, 55); — Tailwind CSS: bg-[hsl(320,26%,20%)] — CSS variable: --color-primary: hsl(320, 26%, 20%);