HSL(7, 12%, 80%)
Grayish Red — Red color
Adjust Color
Color Information
Color Name
Grayish Red
Color Family
Red
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(7,12%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(7, 12%, 80%) | color: hsl(7, 12%, 80%) | |
| HEX | #D2C7C6 | color: #D2C7C6 | |
| RGB | rgb(210, 199, 198) | color: rgb(210, 199, 198) | |
| CMYK | cmyk(0%, 5%, 6%, 18%) | — | |
| HSV | hsv(5, 6%, 82%) | — | |
| HWB | hwb(5 77% 18%) | color: hwb(5 77% 18%) | |
| OKLCH | oklch(0.8383 0.0124 23.73) | color: oklch(0.8383 0.0124 23.73) | |
| Lab | lab(81.09 3.65 1.87) | color: lab(81.09 3.65 1.87) | |
| LCH | lch(81.09 4.1 27.13) | color: lch(81.09 4.1 27.13) |
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)
#CDCDC6 — rgb(205, 205, 198)
Deuteranopia (Green-blind)
#CECFC6 — rgb(206, 207, 198)
Tritanopia (Blue-blind)
#D1C6C6 — rgb(209, 198, 198)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(7, 12%, 80%);
text
color: hsl(7, 12%, 80%);
border
border: 2px solid hsl(7, 12%, 80%);
gradient light
background: linear-gradient(to right, hsl(7, 12%, 100%), hsl(7, 12%, 80%));
gradient dark
background: linear-gradient(to right, hsl(7, 12%, 80%), hsl(7, 12%, 60%))
hex
background-color: #D2C7C6;
tailwind
bg-[hsl(7,12%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(7, 12%, 80%, 0.4);
css variable
--color-primary: hsl(7, 12%, 80%);
Related Colors
Use Cases for Grayish Red
Frequently Asked Questions
What are all the color codes for HSL(7, 12%, 80%)?
HEX: #D2C7C6 | RGB: rgb(210, 199, 198) | CMYK: 0%, 5%, 6%, 18% | HSV: 5°, 6%, 82%. Copy any format from the conversion table above.
What colors go well with #D2C7C6?
The complementary color is HSL(187, 12%, 80%). For a triadic harmony, use hues 7°, 127°, and 247°. For analogous combinations, try hues 337° and 37°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(7, 12%, 80%) in CSS?
As HSL: color: hsl(7, 12%, 80%); — As HEX: color: #D2C7C6; — As RGB: color: rgb(210, 199, 198); — Tailwind CSS: bg-[hsl(7,12%,80%)] — CSS variable: --color-primary: hsl(7, 12%, 80%);