HSL(20, 40%, 84%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(20,40%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(20, 40%, 84%) | color: hsl(20, 40%, 84%) | |
| HEX | #E7D1C6 | color: #E7D1C6 | |
| RGB | rgb(231, 209, 198) | color: rgb(231, 209, 198) | |
| CMYK | cmyk(0%, 10%, 14%, 9%) | — | |
| HSV | hsv(20, 14%, 91%) | — | |
| HWB | hwb(20 78% 9%) | color: hwb(20 78% 9%) | |
| OKLCH | oklch(0.8758 0.0289 48.37) | color: oklch(0.8758 0.0289 48.37) | |
| Lab | lab(85.34 5.85 8.23) | color: lab(85.34 5.85 8.23) | |
| LCH | lch(85.34 10.1 54.59) | color: lch(85.34 10.1 54.59) |
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)
#DDDDC9 — rgb(221, 221, 201)
Deuteranopia (Green-blind)
#DFE0C9 — rgb(223, 224, 201)
Tritanopia (Blue-blind)
#E6CBCB — rgb(230, 203, 203)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(20, 40%, 84%);
text
color: hsl(20, 40%, 84%);
border
border: 2px solid hsl(20, 40%, 84%);
gradient light
background: linear-gradient(to right, hsl(20, 40%, 100%), hsl(20, 40%, 84%));
gradient dark
background: linear-gradient(to right, hsl(20, 40%, 84%), hsl(20, 40%, 64%))
hex
background-color: #E7D1C6;
tailwind
bg-[hsl(20,40%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(20, 40%, 84%, 0.4);
css variable
--color-primary: hsl(20, 40%, 84%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(20, 40%, 84%)?
HEX: #E7D1C6 | RGB: rgb(231, 209, 198) | CMYK: 0%, 10%, 14%, 9% | HSV: 20°, 14%, 91%. Copy any format from the conversion table above.
What colors go well with #E7D1C6?
The complementary color is HSL(200, 40%, 84%). For a triadic harmony, use hues 20°, 140°, and 260°. For analogous combinations, try hues 350° and 50°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(20, 40%, 84%) in CSS?
As HSL: color: hsl(20, 40%, 84%); — As HEX: color: #E7D1C6; — As RGB: color: rgb(231, 209, 198); — Tailwind CSS: bg-[hsl(20,40%,84%)] — CSS variable: --color-primary: hsl(20, 40%, 84%);