HSL(318, 23%, 24%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(318,23%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(318, 23%, 24%) | color: hsl(318, 23%, 24%) | |
| HEX | #4B2F43 | color: #4B2F43 | |
| RGB | rgb(75, 47, 67) | color: rgb(75, 47, 67) | |
| CMYK | cmyk(0%, 37%, 11%, 71%) | — | |
| HSV | hsv(317, 37%, 29%) | — | |
| HWB | hwb(317 18% 71%) | color: hwb(317 18% 71%) | |
| OKLCH | oklch(0.3466 0.0513 337.8) | color: oklch(0.3466 0.0513 337.8) | |
| Lab | lab(23.45 16.43 -7.27) | color: lab(23.45 16.43 -7.27) | |
| LCH | lch(23.45 17.97 336.13) | color: lch(23.45 17.97 336.13) |
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)
#3F3F3E — rgb(63, 63, 62)
Deuteranopia (Green-blind)
#41433D — rgb(65, 67, 61)
Tritanopia (Blue-blind)
#4A3A3A — rgb(74, 58, 58)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(318, 23%, 24%);
text
color: hsl(318, 23%, 24%);
border
border: 2px solid hsl(318, 23%, 24%);
gradient light
background: linear-gradient(to right, hsl(318, 23%, 44%), hsl(318, 23%, 24%));
gradient dark
background: linear-gradient(to right, hsl(318, 23%, 24%), hsl(318, 23%, 4%))
hex
background-color: #4B2F43;
tailwind
bg-[hsl(318,23%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(318, 23%, 24%, 0.4);
css variable
--color-primary: hsl(318, 23%, 24%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(318, 23%, 24%)?
HEX: #4B2F43 | RGB: rgb(75, 47, 67) | CMYK: 0%, 37%, 11%, 71% | HSV: 317°, 37%, 29%. Copy any format from the conversion table above.
What colors go well with #4B2F43?
The complementary color is HSL(138, 23%, 24%). 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, 23%, 24%) in CSS?
As HSL: color: hsl(318, 23%, 24%); — As HEX: color: #4B2F43; — As RGB: color: rgb(75, 47, 67); — Tailwind CSS: bg-[hsl(318,23%,24%)] — CSS variable: --color-primary: hsl(318, 23%, 24%);