HSL(21, 48%, 70%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(21,48%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(21, 48%, 70%) | color: hsl(21, 48%, 70%) | |
| HEX | #D7A78E | color: #D7A78E | |
| RGB | rgb(215, 167, 142) | color: rgb(215, 167, 142) | |
| CMYK | cmyk(0%, 22%, 34%, 16%) | — | |
| HSV | hsv(21, 34%, 84%) | — | |
| HWB | hwb(21 55% 16%) | color: hwb(21 55% 16%) | |
| OKLCH | oklch(0.7662 0.0666 48.82) | color: oklch(0.7662 0.0666 48.82) | |
| Lab | lab(72.26 14.21 19.71) | color: lab(72.26 14.21 19.71) | |
| LCH | lch(72.26 24.3 54.21) | color: lch(72.26 24.3 54.21) |
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)
#C2C294 — rgb(194, 194, 148)
Deuteranopia (Green-blind)
#C5C996 — rgb(197, 201, 150)
Tritanopia (Blue-blind)
#D5999A — rgb(213, 153, 154)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(21, 48%, 70%);
text
color: hsl(21, 48%, 70%);
border
border: 2px solid hsl(21, 48%, 70%);
gradient light
background: linear-gradient(to right, hsl(21, 48%, 90%), hsl(21, 48%, 70%));
gradient dark
background: linear-gradient(to right, hsl(21, 48%, 70%), hsl(21, 48%, 50%))
hex
background-color: #D7A78E;
tailwind
bg-[hsl(21,48%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(21, 48%, 70%, 0.4);
css variable
--color-primary: hsl(21, 48%, 70%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(21, 48%, 70%)?
HEX: #D7A78E | RGB: rgb(215, 167, 142) | CMYK: 0%, 22%, 34%, 16% | HSV: 21°, 34%, 84%. Copy any format from the conversion table above.
What colors go well with #D7A78E?
The complementary color is HSL(201, 48%, 70%). 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, 48%, 70%) in CSS?
As HSL: color: hsl(21, 48%, 70%); — As HEX: color: #D7A78E; — As RGB: color: rgb(215, 167, 142); — Tailwind CSS: bg-[hsl(21,48%,70%)] — CSS variable: --color-primary: hsl(21, 48%, 70%);