HSL(340, 65%, 83%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(340,65%,83%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(340, 65%, 83%) | color: hsl(340, 65%, 83%) | |
| HEX | #F0B7CA | color: #F0B7CA | |
| RGB | rgb(240, 183, 202) | color: rgb(240, 183, 202) | |
| CMYK | cmyk(0%, 24%, 16%, 6%) | — | |
| HSV | hsv(340, 24%, 94%) | — | |
| HWB | hwb(340 71% 6%) | color: hwb(340 71% 6%) | |
| OKLCH | oklch(0.8365 0.07 356.89) | color: oklch(0.8365 0.07 356.89) | |
| Lab | lab(79.99 23.43 -1.56) | color: lab(79.99 23.43 -1.56) | |
| LCH | lch(79.99 23.48 356.19) | color: lch(79.99 23.48 356.19) |
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)
#D7D7C5 — rgb(215, 215, 197)
Deuteranopia (Green-blind)
#DBDFC4 — rgb(219, 223, 196)
Tritanopia (Blue-blind)
#EDC2C1 — rgb(237, 194, 193)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(340, 65%, 83%);
text
color: hsl(340, 65%, 83%);
border
border: 2px solid hsl(340, 65%, 83%);
gradient light
background: linear-gradient(to right, hsl(340, 65%, 100%), hsl(340, 65%, 83%));
gradient dark
background: linear-gradient(to right, hsl(340, 65%, 83%), hsl(340, 65%, 63%))
hex
background-color: #F0B7CA;
tailwind
bg-[hsl(340,65%,83%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(340, 65%, 83%, 0.4);
css variable
--color-primary: hsl(340, 65%, 83%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(340, 65%, 83%)?
HEX: #F0B7CA | RGB: rgb(240, 183, 202) | CMYK: 0%, 24%, 16%, 6% | HSV: 340°, 24%, 94%. Copy any format from the conversion table above.
What colors go well with #F0B7CA?
The complementary color is HSL(160, 65%, 83%). 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, 65%, 83%) in CSS?
As HSL: color: hsl(340, 65%, 83%); — As HEX: color: #F0B7CA; — As RGB: color: rgb(240, 183, 202); — Tailwind CSS: bg-[hsl(340,65%,83%)] — CSS variable: --color-primary: hsl(340, 65%, 83%);