HSL(338, 50%, 67%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(338,50%,67%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(338, 50%, 67%) | color: hsl(338, 50%, 67%) | |
| HEX | #D581A0 | color: #D581A0 | |
| RGB | rgb(213, 129, 160) | color: rgb(213, 129, 160) | |
| CMYK | cmyk(0%, 39%, 25%, 16%) | — | |
| HSV | hsv(338, 39%, 84%) | — | |
| HWB | hwb(338 51% 16%) | color: hwb(338 51% 16%) | |
| OKLCH | oklch(0.7009 0.1097 356.67) | color: oklch(0.7009 0.1097 356.67) | |
| Lab | lab(63.66 36.37 -2.6) | color: lab(63.66 36.37 -2.6) | |
| LCH | lch(63.66 36.46 355.91) | color: lch(63.66 36.46 355.91) |
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)
#B1B098 — rgb(177, 176, 152)
Deuteranopia (Green-blind)
#B6BC97 — rgb(182, 188, 151)
Tritanopia (Blue-blind)
#D19391 — rgb(209, 147, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(338, 50%, 67%);
text
color: hsl(338, 50%, 67%);
border
border: 2px solid hsl(338, 50%, 67%);
gradient light
background: linear-gradient(to right, hsl(338, 50%, 87%), hsl(338, 50%, 67%));
gradient dark
background: linear-gradient(to right, hsl(338, 50%, 67%), hsl(338, 50%, 47%))
hex
background-color: #D581A0;
tailwind
bg-[hsl(338,50%,67%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(338, 50%, 67%, 0.4);
css variable
--color-primary: hsl(338, 50%, 67%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(338, 50%, 67%)?
HEX: #D581A0 | RGB: rgb(213, 129, 160) | CMYK: 0%, 39%, 25%, 16% | HSV: 338°, 39%, 84%. Copy any format from the conversion table above.
What colors go well with #D581A0?
The complementary color is HSL(158, 50%, 67%). 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, 50%, 67%) in CSS?
As HSL: color: hsl(338, 50%, 67%); — As HEX: color: #D581A0; — As RGB: color: rgb(213, 129, 160); — Tailwind CSS: bg-[hsl(338,50%,67%)] — CSS variable: --color-primary: hsl(338, 50%, 67%);