HSL(2, 70%, 81%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(2,70%,81%)]

Color Conversions

Format Value CSS Usage
HSL hsl(2, 70%, 81%) color: hsl(2, 70%, 81%)
HEX #F0AFAD color: #F0AFAD
RGB rgb(240, 175, 173) color: rgb(240, 175, 173)
CMYK cmyk(0%, 27%, 28%, 6%)
HSV hsv(2, 28%, 94%)
HWB hwb(2 68% 6%) color: hwb(2 68% 6%)
OKLCH oklch(0.8141 0.0766 20.87) color: oklch(0.8141 0.0766 20.87)
Lab lab(77.4 23.46 10.42) color: lab(77.4 23.46 10.42)
LCH lch(77.4 25.67 23.95) color: lch(77.4 25.67 23.95)

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.84:1
vs Black 11.44: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)

#D4D3AD — rgb(212, 211, 173)

Deuteranopia (Green-blind)

#D8DDAE — rgb(216, 221, 174)

Tritanopia (Blue-blind)

#EDAEAE — rgb(237, 174, 174)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(2, 70%, 81%);

text

color: hsl(2, 70%, 81%);

border

border: 2px solid hsl(2, 70%, 81%);

gradient light

background: linear-gradient(to right, hsl(2, 70%, 100%), hsl(2, 70%, 81%));

gradient dark

background: linear-gradient(to right, hsl(2, 70%, 81%), hsl(2, 70%, 61%))

hex

background-color: #F0AFAD;

tailwind

bg-[hsl(2,70%,81%)]

box shadow

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

css variable

--color-primary: hsl(2, 70%, 81%);

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, 70%, 81%)?

HEX: #F0AFAD | RGB: rgb(240, 175, 173) | CMYK: 0%, 27%, 28%, 6% | HSV: 2°, 28%, 94%. Copy any format from the conversion table above.

What colors go well with #F0AFAD?

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

As HSL: color: hsl(2, 70%, 81%); — As HEX: color: #F0AFAD; — As RGB: color: rgb(240, 175, 173); — Tailwind CSS: bg-[hsl(2,70%,81%)] — CSS variable: --color-primary: hsl(2, 70%, 81%);