HSL(340, 25%, 74%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(340,25%,74%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 25%, 74%) | color: hsl(340, 25%, 74%) | |
| HEX | #CDACB7 | color: #CDACB7 | |
| RGB | rgb(205, 172, 183) | color: rgb(205, 172, 183) | |
| CMYK | cmyk(0%, 16%, 11%, 20%) | — | |
| HSV | hsv(340, 16%, 80%) | — | |
| HWB | hwb(340 67% 20%) | color: hwb(340 67% 20%) | |
| OKLCH | oklch(0.7767 0.041 356.06) | color: oklch(0.7767 0.041 356.06) | |
| Lab | lab(73.48 13.78 -1.14) | color: lab(73.48 13.78 -1.14) | |
| LCH | lch(73.48 13.83 355.27) | color: lch(73.48 13.83 355.27) |
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)
#BFBEB4 — rgb(191, 190, 180)
Deuteranopia (Green-blind)
#C1C3B4 — rgb(193, 195, 180)
Tritanopia (Blue-blind)
#CBB2B2 — rgb(203, 178, 178)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 25%, 74%);
text
color: hsl(340, 25%, 74%);
border
border: 2px solid hsl(340, 25%, 74%);
gradient light
background: linear-gradient(to right, hsl(340, 25%, 94%), hsl(340, 25%, 74%));
gradient dark
background: linear-gradient(to right, hsl(340, 25%, 74%), hsl(340, 25%, 54%))
hex
background-color: #CDACB7;
tailwind
bg-[hsl(340,25%,74%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 25%, 74%, 0.4);
css variable
--color-primary: hsl(340, 25%, 74%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 25%, 74%)?
HEX: #CDACB7 | RGB: rgb(205, 172, 183) | CMYK: 0%, 16%, 11%, 20% | HSV: 340°, 16%, 80%. Copy any format from the conversion table above.
What colors go well with #CDACB7?
The complementary color is HSL(160, 25%, 74%). 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, 25%, 74%) in CSS?
As HSL: color: hsl(340, 25%, 74%); — As HEX: color: #CDACB7; — As RGB: color: rgb(205, 172, 183); — Tailwind CSS: bg-[hsl(340,25%,74%)] — CSS variable: --color-primary: hsl(340, 25%, 74%);