HSL(338, 80%, 75%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(338,80%,75%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(338, 80%, 75%) | color: hsl(338, 80%, 75%) | |
| HEX | #F28CB2 | color: #F28CB2 | |
| RGB | rgb(242, 140, 178) | color: rgb(242, 140, 178) | |
| CMYK | cmyk(0%, 42%, 26%, 5%) | — | |
| HSV | hsv(338, 42%, 95%) | — | |
| HWB | hwb(338 55% 5%) | color: hwb(338 55% 5%) | |
| OKLCH | oklch(0.7589 0.1306 356.89) | color: oklch(0.7589 0.1306 356.89) | |
| Lab | lab(70.07 43.2 -2.91) | color: lab(70.07 43.2 -2.91) | |
| LCH | lch(70.07 43.3 356.15) | color: lch(70.07 43.3 356.15) |
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)
#C6C5A9 — rgb(198, 197, 169)
Deuteranopia (Green-blind)
#CCD3A7 — rgb(204, 211, 167)
Tritanopia (Blue-blind)
#EDA2A0 — rgb(237, 162, 160)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(338, 80%, 75%);
text
color: hsl(338, 80%, 75%);
border
border: 2px solid hsl(338, 80%, 75%);
gradient light
background: linear-gradient(to right, hsl(338, 80%, 95%), hsl(338, 80%, 75%));
gradient dark
background: linear-gradient(to right, hsl(338, 80%, 75%), hsl(338, 80%, 55%))
hex
background-color: #F28CB2;
tailwind
bg-[hsl(338,80%,75%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(338, 80%, 75%, 0.4);
css variable
--color-primary: hsl(338, 80%, 75%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(338, 80%, 75%)?
HEX: #F28CB2 | RGB: rgb(242, 140, 178) | CMYK: 0%, 42%, 26%, 5% | HSV: 338°, 42%, 95%. Copy any format from the conversion table above.
What colors go well with #F28CB2?
The complementary color is HSL(158, 80%, 75%). 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, 80%, 75%) in CSS?
As HSL: color: hsl(338, 80%, 75%); — As HEX: color: #F28CB2; — As RGB: color: rgb(242, 140, 178); — Tailwind CSS: bg-[hsl(338,80%,75%)] — CSS variable: --color-primary: hsl(338, 80%, 75%);