HSL(2, 42%, 84%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,42%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 42%, 84%) | color: hsl(2, 42%, 84%) | |
| HEX | #E7C6C5 | color: #E7C6C5 | |
| RGB | rgb(231, 198, 197) | color: rgb(231, 198, 197) | |
| CMYK | cmyk(0%, 14%, 15%, 9%) | — | |
| HSV | hsv(2, 15%, 91%) | — | |
| HWB | hwb(2 77% 9%) | color: hwb(2 77% 9%) | |
| OKLCH | oklch(0.8543 0.0375 19.97) | color: oklch(0.8543 0.0375 19.97) | |
| Lab | lab(82.6 11.48 4.82) | color: lab(82.6 11.48 4.82) | |
| LCH | lch(82.6 12.45 22.78) | color: lch(82.6 12.45 22.78) |
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)
#D9D8C5 — rgb(217, 216, 197)
Deuteranopia (Green-blind)
#DBDDC5 — rgb(219, 221, 197)
Tritanopia (Blue-blind)
#E5C5C5 — rgb(229, 197, 197)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 42%, 84%);
text
color: hsl(2, 42%, 84%);
border
border: 2px solid hsl(2, 42%, 84%);
gradient light
background: linear-gradient(to right, hsl(2, 42%, 100%), hsl(2, 42%, 84%));
gradient dark
background: linear-gradient(to right, hsl(2, 42%, 84%), hsl(2, 42%, 64%))
hex
background-color: #E7C6C5;
tailwind
bg-[hsl(2,42%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 42%, 84%, 0.4);
css variable
--color-primary: hsl(2, 42%, 84%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 42%, 84%)?
HEX: #E7C6C5 | RGB: rgb(231, 198, 197) | CMYK: 0%, 14%, 15%, 9% | HSV: 2°, 15%, 91%. Copy any format from the conversion table above.
What colors go well with #E7C6C5?
The complementary color is HSL(182, 42%, 84%). For a triadic harmony, use hues 2°, 122°, and 242°. For analogous combinations, try hues 332° and 32°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(2, 42%, 84%) in CSS?
As HSL: color: hsl(2, 42%, 84%); — As HEX: color: #E7C6C5; — As RGB: color: rgb(231, 198, 197); — Tailwind CSS: bg-[hsl(2,42%,84%)] — CSS variable: --color-primary: hsl(2, 42%, 84%);