HSL(21, 45%, 79%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(21,45%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(21, 45%, 79%) | color: hsl(21, 45%, 79%) | |
| HEX | #E2C2B1 | color: #E2C2B1 | |
| RGB | rgb(226, 194, 177) | color: rgb(226, 194, 177) | |
| CMYK | cmyk(0%, 14%, 22%, 11%) | — | |
| HSV | hsv(21, 22%, 89%) | — | |
| HWB | hwb(21 69% 11%) | color: hwb(21 69% 11%) | |
| OKLCH | oklch(0.8369 0.0434 49.7) | color: oklch(0.8369 0.0434 49.7) | |
| Lab | lab(80.7 8.73 12.75) | color: lab(80.7 8.73 12.75) | |
| LCH | lch(80.7 15.45 55.6) | color: lch(80.7 15.45 55.6) |
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)
#D4D4B5 — rgb(212, 212, 181)
Deuteranopia (Green-blind)
#D6D8B6 — rgb(214, 216, 182)
Tritanopia (Blue-blind)
#E0B8B9 — rgb(224, 184, 185)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(21, 45%, 79%);
text
color: hsl(21, 45%, 79%);
border
border: 2px solid hsl(21, 45%, 79%);
gradient light
background: linear-gradient(to right, hsl(21, 45%, 99%), hsl(21, 45%, 79%));
gradient dark
background: linear-gradient(to right, hsl(21, 45%, 79%), hsl(21, 45%, 59%))
hex
background-color: #E2C2B1;
tailwind
bg-[hsl(21,45%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(21, 45%, 79%, 0.4);
css variable
--color-primary: hsl(21, 45%, 79%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(21, 45%, 79%)?
HEX: #E2C2B1 | RGB: rgb(226, 194, 177) | CMYK: 0%, 14%, 22%, 11% | HSV: 21°, 22%, 89%. Copy any format from the conversion table above.
What colors go well with #E2C2B1?
The complementary color is HSL(201, 45%, 79%). For a triadic harmony, use hues 21°, 141°, and 261°. For analogous combinations, try hues 351° and 51°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(21, 45%, 79%) in CSS?
As HSL: color: hsl(21, 45%, 79%); — As HEX: color: #E2C2B1; — As RGB: color: rgb(226, 194, 177); — Tailwind CSS: bg-[hsl(21,45%,79%)] — CSS variable: --color-primary: hsl(21, 45%, 79%);