HSL(2, 40%, 85%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,40%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 40%, 85%) | color: hsl(2, 40%, 85%) | |
| HEX | #E8CAC9 | color: #E8CAC9 | |
| RGB | rgb(232, 202, 201) | color: rgb(232, 202, 201) | |
| CMYK | cmyk(0%, 13%, 13%, 9%) | — | |
| HSV | hsv(2, 13%, 91%) | — | |
| HWB | hwb(2 79% 9%) | color: hwb(2 79% 9%) | |
| OKLCH | oklch(0.864 0.034 20.11) | color: oklch(0.864 0.034 20.11) | |
| Lab | lab(83.77 10.36 4.38) | color: lab(83.77 10.36 4.38) | |
| LCH | lch(83.77 11.25 22.92) | color: lch(83.77 11.25 22.92) |
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)
#DBDBC9 — rgb(219, 219, 201)
Deuteranopia (Green-blind)
#DDDFC9 — rgb(221, 223, 201)
Tritanopia (Blue-blind)
#E7C9C9 — rgb(231, 201, 201)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 40%, 85%);
text
color: hsl(2, 40%, 85%);
border
border: 2px solid hsl(2, 40%, 85%);
gradient light
background: linear-gradient(to right, hsl(2, 40%, 100%), hsl(2, 40%, 85%));
gradient dark
background: linear-gradient(to right, hsl(2, 40%, 85%), hsl(2, 40%, 65%))
hex
background-color: #E8CAC9;
tailwind
bg-[hsl(2,40%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 40%, 85%, 0.4);
css variable
--color-primary: hsl(2, 40%, 85%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 40%, 85%)?
HEX: #E8CAC9 | RGB: rgb(232, 202, 201) | CMYK: 0%, 13%, 13%, 9% | HSV: 2°, 13%, 91%. Copy any format from the conversion table above.
What colors go well with #E8CAC9?
The complementary color is HSL(182, 40%, 85%). 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, 40%, 85%) in CSS?
As HSL: color: hsl(2, 40%, 85%); — As HEX: color: #E8CAC9; — As RGB: color: rgb(232, 202, 201); — Tailwind CSS: bg-[hsl(2,40%,85%)] — CSS variable: --color-primary: hsl(2, 40%, 85%);