HSL(2, 40%, 78%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(2,40%,78%)]

Color Conversions

Format Value CSS Usage
HSL hsl(2, 40%, 78%) color: hsl(2, 40%, 78%)
HEX #DDB2B0 color: #DDB2B0
RGB rgb(221, 178, 176) color: rgb(221, 178, 176)
CMYK cmyk(0%, 19%, 20%, 13%)
HSV hsv(3, 20%, 87%)
HWB hwb(3 70% 13%) color: hwb(3 70% 13%)
OKLCH oklch(0.8013 0.0503 21.37) color: oklch(0.8013 0.0503 21.37)
Lab lab(76.28 15.26 6.93) color: lab(76.28 15.26 6.93)
LCH lch(76.28 16.76 24.42) color: lch(76.28 16.76 24.42)

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.9:1
vs Black 11.07: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)

#CACAB0 — rgb(202, 202, 176)

Deuteranopia (Green-blind)

#CDD0B1 — rgb(205, 208, 177)

Tritanopia (Blue-blind)

#DBB1B1 — rgb(219, 177, 177)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(2, 40%, 78%);

text

color: hsl(2, 40%, 78%);

border

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

gradient light

background: linear-gradient(to right, hsl(2, 40%, 98%), hsl(2, 40%, 78%));

gradient dark

background: linear-gradient(to right, hsl(2, 40%, 78%), hsl(2, 40%, 58%))

hex

background-color: #DDB2B0;

tailwind

bg-[hsl(2,40%,78%)]

box shadow

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

css variable

--color-primary: hsl(2, 40%, 78%);

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(2, 40%, 78%)?

HEX: #DDB2B0 | RGB: rgb(221, 178, 176) | CMYK: 0%, 19%, 20%, 13% | HSV: 3°, 20%, 87%. Copy any format from the conversion table above.

What colors go well with #DDB2B0?

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

As HSL: color: hsl(2, 40%, 78%); — As HEX: color: #DDB2B0; — As RGB: color: rgb(221, 178, 176); — Tailwind CSS: bg-[hsl(2,40%,78%)] — CSS variable: --color-primary: hsl(2, 40%, 78%);