HSL(335, 43%, 40%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(335,43%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(335, 43%, 40%) | color: hsl(335, 43%, 40%) | |
| HEX | #923A5F | color: #923A5F | |
| RGB | rgb(146, 58, 95) | color: rgb(146, 58, 95) | |
| CMYK | cmyk(0%, 60%, 35%, 43%) | — | |
| HSV | hsv(335, 60%, 57%) | — | |
| HWB | hwb(335 23% 43%) | color: hwb(335 23% 43%) | |
| OKLCH | oklch(0.4799 0.1251 356.63) | color: oklch(0.4799 0.1251 356.63) | |
| Lab | lab(37.78 40.97 -2.99) | color: lab(37.78 40.97 -2.99) | |
| LCH | lch(37.78 41.08 355.83) | color: lch(37.78 41.08 355.83) |
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)
#6C6B56 — rgb(108, 107, 86)
Deuteranopia (Green-blind)
#717854 — rgb(113, 120, 84)
Tritanopia (Blue-blind)
#8E4F4D — rgb(142, 79, 77)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(335, 43%, 40%);
text
color: hsl(335, 43%, 40%);
border
border: 2px solid hsl(335, 43%, 40%);
gradient light
background: linear-gradient(to right, hsl(335, 43%, 60%), hsl(335, 43%, 40%));
gradient dark
background: linear-gradient(to right, hsl(335, 43%, 40%), hsl(335, 43%, 20%))
hex
background-color: #923A5F;
tailwind
bg-[hsl(335,43%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(335, 43%, 40%, 0.4);
css variable
--color-primary: hsl(335, 43%, 40%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(335, 43%, 40%)?
HEX: #923A5F | RGB: rgb(146, 58, 95) | CMYK: 0%, 60%, 35%, 43% | HSV: 335°, 60%, 57%. Copy any format from the conversion table above.
What colors go well with #923A5F?
The complementary color is HSL(155, 43%, 40%). For a triadic harmony, use hues 335°, 95°, and 215°. For analogous combinations, try hues 305° and 5°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(335, 43%, 40%) in CSS?
As HSL: color: hsl(335, 43%, 40%); — As HEX: color: #923A5F; — As RGB: color: rgb(146, 58, 95); — Tailwind CSS: bg-[hsl(335,43%,40%)] — CSS variable: --color-primary: hsl(335, 43%, 40%);