HSL(3, 40%, 84%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(3,40%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(3, 40%, 84%) | color: hsl(3, 40%, 84%) | |
| HEX | #E7C8C6 | color: #E7C8C6 | |
| RGB | rgb(231, 200, 198) | color: rgb(231, 200, 198) | |
| CMYK | cmyk(0%, 13%, 14%, 9%) | — | |
| HSV | hsv(4, 14%, 91%) | — | |
| HWB | hwb(4 78% 9%) | color: hwb(4 78% 9%) | |
| OKLCH | oklch(0.8584 0.0353 22.25) | color: oklch(0.8584 0.0353 22.25) | |
| Lab | lab(83.11 10.58 5.03) | color: lab(83.11 10.58 5.03) | |
| LCH | lch(83.11 11.71 25.43) | color: lch(83.11 11.71 25.43) |
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)
#DAD9C6 — rgb(218, 217, 198)
Deuteranopia (Green-blind)
#DBDEC7 — rgb(219, 222, 199)
Tritanopia (Blue-blind)
#E5C7C7 — rgb(229, 199, 199)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(3, 40%, 84%);
text
color: hsl(3, 40%, 84%);
border
border: 2px solid hsl(3, 40%, 84%);
gradient light
background: linear-gradient(to right, hsl(3, 40%, 100%), hsl(3, 40%, 84%));
gradient dark
background: linear-gradient(to right, hsl(3, 40%, 84%), hsl(3, 40%, 64%))
hex
background-color: #E7C8C6;
tailwind
bg-[hsl(3,40%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(3, 40%, 84%, 0.4);
css variable
--color-primary: hsl(3, 40%, 84%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(3, 40%, 84%)?
HEX: #E7C8C6 | RGB: rgb(231, 200, 198) | CMYK: 0%, 13%, 14%, 9% | HSV: 4°, 14%, 91%. Copy any format from the conversion table above.
What colors go well with #E7C8C6?
The complementary color is HSL(183, 40%, 84%). For a triadic harmony, use hues 3°, 123°, and 243°. For analogous combinations, try hues 333° and 33°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(3, 40%, 84%) in CSS?
As HSL: color: hsl(3, 40%, 84%); — As HEX: color: #E7C8C6; — As RGB: color: rgb(231, 200, 198); — Tailwind CSS: bg-[hsl(3,40%,84%)] — CSS variable: --color-primary: hsl(3, 40%, 84%);