HSL(42, 20%, 78%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(42,20%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(42, 20%, 78%) | color: hsl(42, 20%, 78%) | |
| HEX | #D2CBBC | color: #D2CBBC | |
| RGB | rgb(210, 203, 188) | color: rgb(210, 203, 188) | |
| CMYK | cmyk(0%, 3%, 10%, 18%) | — | |
| HSV | hsv(41, 10%, 82%) | — | |
| HWB | hwb(41 74% 18%) | color: hwb(41 74% 18%) | |
| OKLCH | oklch(0.8436 0.0219 85.95) | color: oklch(0.8436 0.0219 85.95) | |
| Lab | lab(81.86 -0.15 8.34) | color: lab(81.86 -0.15 8.34) | |
| LCH | lch(81.86 8.34 91.03) | color: lch(81.86 8.34 91.03) |
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)
#CFCFC0 — rgb(207, 207, 192)
Deuteranopia (Green-blind)
#CFD0C1 — rgb(207, 208, 193)
Tritanopia (Blue-blind)
#D2C2C3 — rgb(210, 194, 195)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(42, 20%, 78%);
text
color: hsl(42, 20%, 78%);
border
border: 2px solid hsl(42, 20%, 78%);
gradient light
background: linear-gradient(to right, hsl(42, 20%, 98%), hsl(42, 20%, 78%));
gradient dark
background: linear-gradient(to right, hsl(42, 20%, 78%), hsl(42, 20%, 58%))
hex
background-color: #D2CBBC;
tailwind
bg-[hsl(42,20%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(42, 20%, 78%, 0.4);
css variable
--color-primary: hsl(42, 20%, 78%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(42, 20%, 78%)?
HEX: #D2CBBC | RGB: rgb(210, 203, 188) | CMYK: 0%, 3%, 10%, 18% | HSV: 41°, 10%, 82%. Copy any format from the conversion table above.
What colors go well with #D2CBBC?
The complementary color is HSL(222, 20%, 78%). For a triadic harmony, use hues 42°, 162°, and 282°. For analogous combinations, try hues 12° and 72°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(42, 20%, 78%) in CSS?
As HSL: color: hsl(42, 20%, 78%); — As HEX: color: #D2CBBC; — As RGB: color: rgb(210, 203, 188); — Tailwind CSS: bg-[hsl(42,20%,78%)] — CSS variable: --color-primary: hsl(42, 20%, 78%);