HSL(318, 50%, 79%)
Pink — Pink color
Adjust Color
Color Information
Color Name
Pink
Color Family
Pink
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(318,50%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(318, 50%, 79%) | color: hsl(318, 50%, 79%) | |
| HEX | #E4AFD4 | color: #E4AFD4 | |
| RGB | rgb(228, 175, 212) | color: rgb(228, 175, 212) | |
| CMYK | cmyk(0%, 23%, 7%, 11%) | — | |
| HSV | hsv(318, 23%, 89%) | — | |
| HWB | hwb(318 69% 11%) | color: hwb(318 69% 11%) | |
| OKLCH | oklch(0.8134 0.0782 337.67) | color: oklch(0.8134 0.0782 337.67) | |
| Lab | lab(77.23 25.18 -11.2) | color: lab(77.23 25.18 -11.2) | |
| LCH | lch(77.23 27.56 336.02) | color: lch(77.23 27.56 336.02) |
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)
#CDCDCB — rgb(205, 205, 203)
Deuteranopia (Green-blind)
#D0D4C9 — rgb(208, 212, 201)
Tritanopia (Blue-blind)
#E1C4C2 — rgb(225, 196, 194)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(318, 50%, 79%);
text
color: hsl(318, 50%, 79%);
border
border: 2px solid hsl(318, 50%, 79%);
gradient light
background: linear-gradient(to right, hsl(318, 50%, 99%), hsl(318, 50%, 79%));
gradient dark
background: linear-gradient(to right, hsl(318, 50%, 79%), hsl(318, 50%, 59%))
hex
background-color: #E4AFD4;
tailwind
bg-[hsl(318,50%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(318, 50%, 79%, 0.4);
css variable
--color-primary: hsl(318, 50%, 79%);
Related Colors
Use Cases for Pink
Frequently Asked Questions
What are all the color codes for HSL(318, 50%, 79%)?
HEX: #E4AFD4 | RGB: rgb(228, 175, 212) | CMYK: 0%, 23%, 7%, 11% | HSV: 318°, 23%, 89%. Copy any format from the conversion table above.
What colors go well with #E4AFD4?
The complementary color is HSL(138, 50%, 79%). For a triadic harmony, use hues 318°, 78°, and 198°. For analogous combinations, try hues 288° and 348°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(318, 50%, 79%) in CSS?
As HSL: color: hsl(318, 50%, 79%); — As HEX: color: #E4AFD4; — As RGB: color: rgb(228, 175, 212); — Tailwind CSS: bg-[hsl(318,50%,79%)] — CSS variable: --color-primary: hsl(318, 50%, 79%);