HSL(340, 69%, 47%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(340,69%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 69%, 47%) | color: hsl(340, 69%, 47%) | |
| HEX | #CB255C | color: #CB255C | |
| RGB | rgb(203, 37, 92) | color: rgb(203, 37, 92) | |
| CMYK | cmyk(0%, 82%, 55%, 20%) | — | |
| HSV | hsv(340, 82%, 80%) | — | |
| HWB | hwb(340 14% 20%) | color: hwb(340 14% 20%) | |
| OKLCH | oklch(0.5548 0.2004 8.13) | color: oklch(0.5548 0.2004 8.13) | |
| Lab | lab(45.35 65.14 11.12) | color: lab(45.35 65.14 11.12) | |
| LCH | lch(45.35 66.08 9.69) | color: lch(45.35 66.08 9.69) |
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)
#83824F — rgb(131, 130, 79)
Deuteranopia (Green-blind)
#8D994C — rgb(141, 153, 76)
Tritanopia (Blue-blind)
#C34442 — rgb(195, 68, 66)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 69%, 47%);
text
color: hsl(340, 69%, 47%);
border
border: 2px solid hsl(340, 69%, 47%);
gradient light
background: linear-gradient(to right, hsl(340, 69%, 67%), hsl(340, 69%, 47%));
gradient dark
background: linear-gradient(to right, hsl(340, 69%, 47%), hsl(340, 69%, 27%))
hex
background-color: #CB255C;
tailwind
bg-[hsl(340,69%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 69%, 47%, 0.4);
css variable
--color-primary: hsl(340, 69%, 47%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 69%, 47%)?
HEX: #CB255C | RGB: rgb(203, 37, 92) | CMYK: 0%, 82%, 55%, 20% | HSV: 340°, 82%, 80%. Copy any format from the conversion table above.
What colors go well with #CB255C?
The complementary color is HSL(160, 69%, 47%). For a triadic harmony, use hues 340°, 100°, and 220°. For analogous combinations, try hues 310° and 10°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(340, 69%, 47%) in CSS?
As HSL: color: hsl(340, 69%, 47%); — As HEX: color: #CB255C; — As RGB: color: rgb(203, 37, 92); — Tailwind CSS: bg-[hsl(340,69%,47%)] — CSS variable: --color-primary: hsl(340, 69%, 47%);