HSL(21, 68%, 56%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(21,68%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(21, 68%, 56%) | color: hsl(21, 68%, 56%) | |
| HEX | #DB7843 | color: #DB7843 | |
| RGB | rgb(219, 120, 67) | color: rgb(219, 120, 67) | |
| CMYK | cmyk(0%, 45%, 69%, 14%) | — | |
| HSV | hsv(21, 69%, 86%) | — | |
| HWB | hwb(21 27% 14%) | color: hwb(21 27% 14%) | |
| OKLCH | oklch(0.674 0.1406 47.15) | color: oklch(0.674 0.1406 47.15) | |
| Lab | lab(60.7 34.32 45.3) | color: lab(60.7 34.32 45.3) | |
| LCH | lch(60.7 56.83 52.85) | color: lch(60.7 56.83 52.85) |
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)
#B0AF50 — rgb(176, 175, 80)
Deuteranopia (Green-blind)
#B6BD53 — rgb(182, 189, 83)
Tritanopia (Blue-blind)
#D65A5C — rgb(214, 90, 92)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(21, 68%, 56%);
text
color: hsl(21, 68%, 56%);
border
border: 2px solid hsl(21, 68%, 56%);
gradient light
background: linear-gradient(to right, hsl(21, 68%, 76%), hsl(21, 68%, 56%));
gradient dark
background: linear-gradient(to right, hsl(21, 68%, 56%), hsl(21, 68%, 36%))
hex
background-color: #DB7843;
tailwind
bg-[hsl(21,68%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(21, 68%, 56%, 0.4);
css variable
--color-primary: hsl(21, 68%, 56%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(21, 68%, 56%)?
HEX: #DB7843 | RGB: rgb(219, 120, 67) | CMYK: 0%, 45%, 69%, 14% | HSV: 21°, 69%, 86%. Copy any format from the conversion table above.
What colors go well with #DB7843?
The complementary color is HSL(201, 68%, 56%). 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, 68%, 56%) in CSS?
As HSL: color: hsl(21, 68%, 56%); — As HEX: color: #DB7843; — As RGB: color: rgb(219, 120, 67); — Tailwind CSS: bg-[hsl(21,68%,56%)] — CSS variable: --color-primary: hsl(21, 68%, 56%);