HSL(4, 50%, 81%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(4,50%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(4, 50%, 81%) | color: hsl(4, 50%, 81%) | |
| HEX | #E7BAB6 | color: #E7BAB6 | |
| RGB | rgb(231, 186, 182) | color: rgb(231, 186, 182) | |
| CMYK | cmyk(0%, 19%, 21%, 9%) | — | |
| HSV | hsv(5, 21%, 91%) | — | |
| HWB | hwb(5 72% 9%) | color: hwb(5 72% 9%) | |
| OKLCH | oklch(0.8276 0.0525 24.18) | color: oklch(0.8276 0.0525 24.18) | |
| Lab | lab(79.32 15.56 8.16) | color: lab(79.32 15.56 8.16) | |
| LCH | lch(79.32 17.57 27.67) | color: lch(79.32 17.57 27.67) |
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)
#D4D3B7 — rgb(212, 211, 183)
Deuteranopia (Green-blind)
#D6DAB7 — rgb(214, 218, 183)
Tritanopia (Blue-blind)
#E5B8B8 — rgb(229, 184, 184)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(4, 50%, 81%);
text
color: hsl(4, 50%, 81%);
border
border: 2px solid hsl(4, 50%, 81%);
gradient light
background: linear-gradient(to right, hsl(4, 50%, 100%), hsl(4, 50%, 81%));
gradient dark
background: linear-gradient(to right, hsl(4, 50%, 81%), hsl(4, 50%, 61%))
hex
background-color: #E7BAB6;
tailwind
bg-[hsl(4,50%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(4, 50%, 81%, 0.4);
css variable
--color-primary: hsl(4, 50%, 81%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(4, 50%, 81%)?
HEX: #E7BAB6 | RGB: rgb(231, 186, 182) | CMYK: 0%, 19%, 21%, 9% | HSV: 5°, 21%, 91%. Copy any format from the conversion table above.
What colors go well with #E7BAB6?
The complementary color is HSL(184, 50%, 81%). For a triadic harmony, use hues 4°, 124°, and 244°. For analogous combinations, try hues 334° and 34°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(4, 50%, 81%) in CSS?
As HSL: color: hsl(4, 50%, 81%); — As HEX: color: #E7BAB6; — As RGB: color: rgb(231, 186, 182); — Tailwind CSS: bg-[hsl(4,50%,81%)] — CSS variable: --color-primary: hsl(4, 50%, 81%);