HSL(342, 30%, 76%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(342,30%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(342, 30%, 76%) | color: hsl(342, 30%, 76%) | |
| HEX | #D4AFBA | color: #D4AFBA | |
| RGB | rgb(212, 175, 186) | color: rgb(212, 175, 186) | |
| CMYK | cmyk(0%, 17%, 12%, 17%) | — | |
| HSV | hsv(342, 17%, 83%) | — | |
| HWB | hwb(342 69% 17%) | color: hwb(342 69% 17%) | |
| OKLCH | oklch(0.7899 0.0452 358.42) | color: oklch(0.7899 0.0452 358.42) | |
| Lab | lab(74.95 15.17 -0.55) | color: lab(74.95 15.17 -0.55) | |
| LCH | lch(74.95 15.18 357.92) | color: lch(74.95 15.18 357.92) |
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)
#C4C4B7 — rgb(196, 196, 183)
Deuteranopia (Green-blind)
#C6C9B7 — rgb(198, 201, 183)
Tritanopia (Blue-blind)
#D2B5B5 — rgb(210, 181, 181)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(342, 30%, 76%);
text
color: hsl(342, 30%, 76%);
border
border: 2px solid hsl(342, 30%, 76%);
gradient light
background: linear-gradient(to right, hsl(342, 30%, 96%), hsl(342, 30%, 76%));
gradient dark
background: linear-gradient(to right, hsl(342, 30%, 76%), hsl(342, 30%, 56%))
hex
background-color: #D4AFBA;
tailwind
bg-[hsl(342,30%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(342, 30%, 76%, 0.4);
css variable
--color-primary: hsl(342, 30%, 76%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(342, 30%, 76%)?
HEX: #D4AFBA | RGB: rgb(212, 175, 186) | CMYK: 0%, 17%, 12%, 17% | HSV: 342°, 17%, 83%. Copy any format from the conversion table above.
What colors go well with #D4AFBA?
The complementary color is HSL(162, 30%, 76%). For a triadic harmony, use hues 342°, 102°, and 222°. For analogous combinations, try hues 312° and 12°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(342, 30%, 76%) in CSS?
As HSL: color: hsl(342, 30%, 76%); — As HEX: color: #D4AFBA; — As RGB: color: rgb(212, 175, 186); — Tailwind CSS: bg-[hsl(342,30%,76%)] — CSS variable: --color-primary: hsl(342, 30%, 76%);