HSL(334, 30%, 71%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(334,30%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(334, 30%, 71%) | color: hsl(334, 30%, 71%) | |
| HEX | #CB9FB2 | color: #CB9FB2 | |
| RGB | rgb(203, 159, 178) | color: rgb(203, 159, 178) | |
| CMYK | cmyk(0%, 22%, 12%, 20%) | — | |
| HSV | hsv(334, 22%, 80%) | — | |
| HWB | hwb(334 62% 20%) | color: hwb(334 62% 20%) | |
| OKLCH | oklch(0.7485 0.0577 350.85) | color: oklch(0.7485 0.0577 350.85) | |
| Lab | lab(69.97 19.31 -3.56) | color: lab(69.97 19.31 -3.56) | |
| LCH | lch(69.97 19.64 349.55) | color: lch(69.97 19.64 349.55) |
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)
#B8B8AD — rgb(184, 184, 173)
Deuteranopia (Green-blind)
#BBBEAC — rgb(187, 190, 172)
Tritanopia (Blue-blind)
#C9AAA9 — rgb(201, 170, 169)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(334, 30%, 71%);
text
color: hsl(334, 30%, 71%);
border
border: 2px solid hsl(334, 30%, 71%);
gradient light
background: linear-gradient(to right, hsl(334, 30%, 91%), hsl(334, 30%, 71%));
gradient dark
background: linear-gradient(to right, hsl(334, 30%, 71%), hsl(334, 30%, 51%))
hex
background-color: #CB9FB2;
tailwind
bg-[hsl(334,30%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(334, 30%, 71%, 0.4);
css variable
--color-primary: hsl(334, 30%, 71%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(334, 30%, 71%)?
HEX: #CB9FB2 | RGB: rgb(203, 159, 178) | CMYK: 0%, 22%, 12%, 20% | HSV: 334°, 22%, 80%. Copy any format from the conversion table above.
What colors go well with #CB9FB2?
The complementary color is HSL(154, 30%, 71%). For a triadic harmony, use hues 334°, 94°, and 214°. For analogous combinations, try hues 304° and 4°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(334, 30%, 71%) in CSS?
As HSL: color: hsl(334, 30%, 71%); — As HEX: color: #CB9FB2; — As RGB: color: rgb(203, 159, 178); — Tailwind CSS: bg-[hsl(334,30%,71%)] — CSS variable: --color-primary: hsl(334, 30%, 71%);