HSL(2, 45%, 79%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,45%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 45%, 79%) | color: hsl(2, 45%, 79%) | |
| HEX | #E2B3B1 | color: #E2B3B1 | |
| RGB | rgb(226, 179, 177) | color: rgb(226, 179, 177) | |
| CMYK | cmyk(0%, 21%, 22%, 11%) | — | |
| HSV | hsv(2, 22%, 89%) | — | |
| HWB | hwb(2 69% 11%) | color: hwb(2 69% 11%) | |
| OKLCH | oklch(0.8084 0.0549 21.19) | color: oklch(0.8084 0.0549 21.19) | |
| Lab | lab(77.03 16.71 7.53) | color: lab(77.03 16.71 7.53) | |
| LCH | lch(77.03 18.33 24.26) | color: lch(77.03 18.33 24.26) |
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)
#CECDB1 — rgb(206, 205, 177)
Deuteranopia (Green-blind)
#D0D4B2 — rgb(208, 212, 178)
Tritanopia (Blue-blind)
#E0B2B2 — rgb(224, 178, 178)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 45%, 79%);
text
color: hsl(2, 45%, 79%);
border
border: 2px solid hsl(2, 45%, 79%);
gradient light
background: linear-gradient(to right, hsl(2, 45%, 99%), hsl(2, 45%, 79%));
gradient dark
background: linear-gradient(to right, hsl(2, 45%, 79%), hsl(2, 45%, 59%))
hex
background-color: #E2B3B1;
tailwind
bg-[hsl(2,45%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 45%, 79%, 0.4);
css variable
--color-primary: hsl(2, 45%, 79%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 45%, 79%)?
HEX: #E2B3B1 | RGB: rgb(226, 179, 177) | CMYK: 0%, 21%, 22%, 11% | HSV: 2°, 22%, 89%. Copy any format from the conversion table above.
What colors go well with #E2B3B1?
The complementary color is HSL(182, 45%, 79%). For a triadic harmony, use hues 2°, 122°, and 242°. For analogous combinations, try hues 332° and 32°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(2, 45%, 79%) in CSS?
As HSL: color: hsl(2, 45%, 79%); — As HEX: color: #E2B3B1; — As RGB: color: rgb(226, 179, 177); — Tailwind CSS: bg-[hsl(2,45%,79%)] — CSS variable: --color-primary: hsl(2, 45%, 79%);