HSL(338, 65%, 48%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(338,65%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(338, 65%, 48%) | color: hsl(338, 65%, 48%) | |
| HEX | #CA2B65 | color: #CA2B65 | |
| RGB | rgb(202, 43, 101) | color: rgb(202, 43, 101) | |
| CMYK | cmyk(0%, 79%, 50%, 21%) | — | |
| HSV | hsv(338, 79%, 79%) | — | |
| HWB | hwb(338 17% 21%) | color: hwb(338 17% 21%) | |
| OKLCH | oklch(0.5596 0.1965 4.89) | color: oklch(0.5596 0.1965 4.89) | |
| Lab | lab(45.94 63.99 6.35) | color: lab(45.94 63.99 6.35) | |
| LCH | lch(45.94 64.3 5.67) | color: lch(45.94 64.3 5.67) |
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)
#858457 — rgb(133, 132, 87)
Deuteranopia (Green-blind)
#8E9A54 — rgb(142, 154, 84)
Tritanopia (Blue-blind)
#C24C49 — rgb(194, 76, 73)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(338, 65%, 48%);
text
color: hsl(338, 65%, 48%);
border
border: 2px solid hsl(338, 65%, 48%);
gradient light
background: linear-gradient(to right, hsl(338, 65%, 68%), hsl(338, 65%, 48%));
gradient dark
background: linear-gradient(to right, hsl(338, 65%, 48%), hsl(338, 65%, 28%))
hex
background-color: #CA2B65;
tailwind
bg-[hsl(338,65%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(338, 65%, 48%, 0.4);
css variable
--color-primary: hsl(338, 65%, 48%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(338, 65%, 48%)?
HEX: #CA2B65 | RGB: rgb(202, 43, 101) | CMYK: 0%, 79%, 50%, 21% | HSV: 338°, 79%, 79%. Copy any format from the conversion table above.
What colors go well with #CA2B65?
The complementary color is HSL(158, 65%, 48%). 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, 65%, 48%) in CSS?
As HSL: color: hsl(338, 65%, 48%); — As HEX: color: #CA2B65; — As RGB: color: rgb(202, 43, 101); — Tailwind CSS: bg-[hsl(338,65%,48%)] — CSS variable: --color-primary: hsl(338, 65%, 48%);