HSL(338, 31%, 58%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(338,31%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(338, 31%, 58%) | color: hsl(338, 31%, 58%) | |
| HEX | #B5738B | color: #B5738B | |
| RGB | rgb(181, 115, 139) | color: rgb(181, 115, 139) | |
| CMYK | cmyk(0%, 36%, 23%, 29%) | — | |
| HSV | hsv(338, 36%, 71%) | — | |
| HWB | hwb(338 45% 29%) | color: hwb(338 45% 29%) | |
| OKLCH | oklch(0.6324 0.0883 356.54) | color: oklch(0.6324 0.0883 356.54) | |
| Lab | lab(56.04 29.34 -2.17) | color: lab(56.04 29.34 -2.17) | |
| LCH | lch(56.04 29.42 355.77) | color: lch(56.04 29.42 355.77) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#989885 — rgb(152, 152, 133)
Deuteranopia (Green-blind)
#9CA184 — rgb(156, 161, 132)
Tritanopia (Blue-blind)
#B28180 — rgb(178, 129, 128)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(338, 31%, 58%);
text
color: hsl(338, 31%, 58%);
border
border: 2px solid hsl(338, 31%, 58%);
gradient light
background: linear-gradient(to right, hsl(338, 31%, 78%), hsl(338, 31%, 58%));
gradient dark
background: linear-gradient(to right, hsl(338, 31%, 58%), hsl(338, 31%, 38%))
hex
background-color: #B5738B;
tailwind
bg-[hsl(338,31%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(338, 31%, 58%, 0.4);
css variable
--color-primary: hsl(338, 31%, 58%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(338, 31%, 58%)?
HEX: #B5738B | RGB: rgb(181, 115, 139) | CMYK: 0%, 36%, 23%, 29% | HSV: 338°, 36%, 71%. Copy any format from the conversion table above.
What colors go well with #B5738B?
The complementary color is HSL(158, 31%, 58%). For a triadic harmony, use hues 338°, 98°, and 218°. For analogous combinations, try hues 308° and 8°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(338, 31%, 58%) in CSS?
As HSL: color: hsl(338, 31%, 58%); — As HEX: color: #B5738B; — As RGB: color: rgb(181, 115, 139); — Tailwind CSS: bg-[hsl(338,31%,58%)] — CSS variable: --color-primary: hsl(338, 31%, 58%);