HSL(322, 14%, 17%)
Grayish Pink — Pink color
Adjust Color
Color Information
Color Name
Grayish Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(322,14%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(322, 14%, 17%) | color: hsl(322, 14%, 17%) | |
| HEX | #31252D | color: #31252D | |
| RGB | rgb(49, 37, 45) | color: rgb(49, 37, 45) | |
| CMYK | cmyk(0%, 24%, 8%, 81%) | — | |
| HSV | hsv(320, 24%, 19%) | — | |
| HWB | hwb(320 14% 81%) | color: hwb(320 14% 81%) | |
| OKLCH | oklch(0.2816 0.0227 338.81) | color: oklch(0.2816 0.0227 338.81) | |
| Lab | lab(16.33 7.36 -3.1) | color: lab(16.33 7.36 -3.1) | |
| LCH | lch(16.33 7.99 337.16) | color: lch(16.33 7.99 337.16) |
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)
#2C2C2B — rgb(44, 44, 43)
Deuteranopia (Green-blind)
#2D2D2B — rgb(45, 45, 43)
Tritanopia (Blue-blind)
#302A29 — rgb(48, 42, 41)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(322, 14%, 17%);
text
color: hsl(322, 14%, 17%);
border
border: 2px solid hsl(322, 14%, 17%);
gradient light
background: linear-gradient(to right, hsl(322, 14%, 37%), hsl(322, 14%, 17%));
gradient dark
background: linear-gradient(to right, hsl(322, 14%, 17%), hsl(322, 14%, 0%))
hex
background-color: #31252D;
tailwind
bg-[hsl(322,14%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(322, 14%, 17%, 0.4);
css variable
--color-primary: hsl(322, 14%, 17%);
Related Colors
Use Cases for Grayish Pink
Frequently Asked Questions
What are all the color codes for HSL(322, 14%, 17%)?
HEX: #31252D | RGB: rgb(49, 37, 45) | CMYK: 0%, 24%, 8%, 81% | HSV: 320°, 24%, 19%. Copy any format from the conversion table above.
What colors go well with #31252D?
The complementary color is HSL(142, 14%, 17%). For a triadic harmony, use hues 322°, 82°, and 202°. For analogous combinations, try hues 292° and 352°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(322, 14%, 17%) in CSS?
As HSL: color: hsl(322, 14%, 17%); — As HEX: color: #31252D; — As RGB: color: rgb(49, 37, 45); — Tailwind CSS: bg-[hsl(322,14%,17%)] — CSS variable: --color-primary: hsl(322, 14%, 17%);