HSL(2, 51%, 85%)
Red — Red color
Adjust Color
Color Information
Color Name
Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(2,51%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(2, 51%, 85%) | color: hsl(2, 51%, 85%) | |
| HEX | #ECC7C5 | color: #ECC7C5 | |
| RGB | rgb(236, 199, 197) | color: rgb(236, 199, 197) | |
| CMYK | cmyk(0%, 16%, 17%, 7%) | — | |
| HSV | hsv(3, 17%, 93%) | — | |
| HWB | hwb(3 77% 7%) | color: hwb(3 77% 7%) | |
| OKLCH | oklch(0.8608 0.0422 21.66) | color: oklch(0.8608 0.0422 21.66) | |
| Lab | lab(83.29 12.75 5.88) | color: lab(83.29 12.75 5.88) | |
| LCH | lch(83.29 14.04 24.76) | color: lch(83.29 14.04 24.76) |
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)
#DCDCC5 — rgb(220, 220, 197)
Deuteranopia (Green-blind)
#DEE1C6 — rgb(222, 225, 198)
Tritanopia (Blue-blind)
#EAC6C6 — rgb(234, 198, 198)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(2, 51%, 85%);
text
color: hsl(2, 51%, 85%);
border
border: 2px solid hsl(2, 51%, 85%);
gradient light
background: linear-gradient(to right, hsl(2, 51%, 100%), hsl(2, 51%, 85%));
gradient dark
background: linear-gradient(to right, hsl(2, 51%, 85%), hsl(2, 51%, 65%))
hex
background-color: #ECC7C5;
tailwind
bg-[hsl(2,51%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(2, 51%, 85%, 0.4);
css variable
--color-primary: hsl(2, 51%, 85%);
Related Colors
Use Cases for Red
Frequently Asked Questions
What are all the color codes for HSL(2, 51%, 85%)?
HEX: #ECC7C5 | RGB: rgb(236, 199, 197) | CMYK: 0%, 16%, 17%, 7% | HSV: 3°, 17%, 93%. Copy any format from the conversion table above.
What colors go well with #ECC7C5?
The complementary color is HSL(182, 51%, 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, 51%, 85%) in CSS?
As HSL: color: hsl(2, 51%, 85%); — As HEX: color: #ECC7C5; — As RGB: color: rgb(236, 199, 197); — Tailwind CSS: bg-[hsl(2,51%,85%)] — CSS variable: --color-primary: hsl(2, 51%, 85%);