HSL(7, 40%, 67%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(7,40%,67%)]

Color Conversions

Format Value CSS Usage
HSL hsl(7, 40%, 67%) color: hsl(7, 40%, 67%)
HEX #CD9189 color: #CD9189
RGB rgb(205, 145, 137) color: rgb(205, 145, 137)
CMYK cmyk(0%, 29%, 33%, 20%)
HSV hsv(7, 33%, 80%)
HWB hwb(7 54% 20%) color: hwb(7 54% 20%)
OKLCH oklch(0.7132 0.0743 27.56) color: oklch(0.7132 0.0743 27.56)
Lab lab(65.78 21.63 13.32) color: lab(65.78 21.63 13.32)
LCH lch(65.78 25.4 31.63) color: lch(65.78 25.4 31.63)

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 2.62:1
vs Black 8.01: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)

#B3B28B — rgb(179, 178, 139)

Deuteranopia (Green-blind)

#B7BB8B — rgb(183, 187, 139)

Tritanopia (Blue-blind)

#CA8C8D — rgb(202, 140, 141)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(7, 40%, 67%);

text

color: hsl(7, 40%, 67%);

border

border: 2px solid hsl(7, 40%, 67%);

gradient light

background: linear-gradient(to right, hsl(7, 40%, 87%), hsl(7, 40%, 67%));

gradient dark

background: linear-gradient(to right, hsl(7, 40%, 67%), hsl(7, 40%, 47%))

hex

background-color: #CD9189;

tailwind

bg-[hsl(7,40%,67%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(7, 40%, 67%, 0.4);

css variable

--color-primary: hsl(7, 40%, 67%);

Related Colors

Use Cases for 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, 40%, 67%)?

HEX: #CD9189 | RGB: rgb(205, 145, 137) | CMYK: 0%, 29%, 33%, 20% | HSV: 7°, 33%, 80%. Copy any format from the conversion table above.

What colors go well with #CD9189?

The complementary color is HSL(187, 40%, 67%). 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, 40%, 67%) in CSS?

As HSL: color: hsl(7, 40%, 67%); — As HEX: color: #CD9189; — As RGB: color: rgb(205, 145, 137); — Tailwind CSS: bg-[hsl(7,40%,67%)] — CSS variable: --color-primary: hsl(7, 40%, 67%);