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

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 1.65:1
vs Black 12.73:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

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

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

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

Alerts & errors Call-to-action buttons Brand logos Sale badges Warning messages

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%);