HSL(345, 50%, 79%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(345,50%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(345, 50%, 79%) | color: hsl(345, 50%, 79%) | |
| HEX | #E4AFBC | color: #E4AFBC | |
| RGB | rgb(228, 175, 188) | color: rgb(228, 175, 188) | |
| CMYK | cmyk(0%, 23%, 18%, 11%) | — | |
| HSV | hsv(345, 23%, 89%) | — | |
| HWB | hwb(345 69% 11%) | color: hwb(345 69% 11%) | |
| OKLCH | oklch(0.806 0.0639 2.33) | color: oklch(0.806 0.0639 2.33) | |
| Lab | lab(76.55 21.25 0.87) | color: lab(76.55 21.25 0.87) | |
| LCH | lch(76.55 21.27 2.34) | color: lch(76.55 21.27 2.34) |
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)
#CDCDB9 — rgb(205, 205, 185)
Deuteranopia (Green-blind)
#D0D4B8 — rgb(208, 212, 184)
Tritanopia (Blue-blind)
#E1B6B6 — rgb(225, 182, 182)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(345, 50%, 79%);
text
color: hsl(345, 50%, 79%);
border
border: 2px solid hsl(345, 50%, 79%);
gradient light
background: linear-gradient(to right, hsl(345, 50%, 99%), hsl(345, 50%, 79%));
gradient dark
background: linear-gradient(to right, hsl(345, 50%, 79%), hsl(345, 50%, 59%))
hex
background-color: #E4AFBC;
tailwind
bg-[hsl(345,50%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(345, 50%, 79%, 0.4);
css variable
--color-primary: hsl(345, 50%, 79%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(345, 50%, 79%)?
HEX: #E4AFBC | RGB: rgb(228, 175, 188) | CMYK: 0%, 23%, 18%, 11% | HSV: 345°, 23%, 89%. Copy any format from the conversion table above.
What colors go well with #E4AFBC?
The complementary color is HSL(165, 50%, 79%). For a triadic harmony, use hues 345°, 105°, and 225°. For analogous combinations, try hues 315° and 15°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(345, 50%, 79%) in CSS?
As HSL: color: hsl(345, 50%, 79%); — As HEX: color: #E4AFBC; — As RGB: color: rgb(228, 175, 188); — Tailwind CSS: bg-[hsl(345,50%,79%)] — CSS variable: --color-primary: hsl(345, 50%, 79%);