HSL(2, 40%, 68%)

Red — Red color

Adjust Color

Color Information

Color Name

Red

Color Family

Red

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(2, 40%, 68%) color: hsl(2, 40%, 68%)
HEX #CE8F8D color: #CE8F8D
RGB rgb(206, 143, 141) color: rgb(206, 143, 141)
CMYK cmyk(0%, 31%, 32%, 19%)
HSV hsv(2, 32%, 81%)
HWB hwb(2 55% 19%) color: hwb(2 55% 19%)
OKLCH oklch(0.7117 0.0771 21.2) color: oklch(0.7117 0.0771 21.2)
Lab lab(65.51 23.63 10.71) color: lab(65.51 23.63 10.71)
LCH lch(65.51 25.94 24.38) color: lch(65.51 25.94 24.38)

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.65:1
vs Black 7.94: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)

#B3B28D — rgb(179, 178, 141)

Deuteranopia (Green-blind)

#B6BB8E — rgb(182, 187, 142)

Tritanopia (Blue-blind)

#CB8E8E — rgb(203, 142, 142)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(2, 40%, 88%), hsl(2, 40%, 68%));

gradient dark

background: linear-gradient(to right, hsl(2, 40%, 68%), hsl(2, 40%, 48%))

hex

background-color: #CE8F8D;

tailwind

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

box shadow

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

css variable

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

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

HEX: #CE8F8D | RGB: rgb(206, 143, 141) | CMYK: 0%, 31%, 32%, 19% | HSV: 2°, 32%, 81%. Copy any format from the conversion table above.

What colors go well with #CE8F8D?

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

As HSL: color: hsl(2, 40%, 68%); — As HEX: color: #CE8F8D; — As RGB: color: rgb(206, 143, 141); — Tailwind CSS: bg-[hsl(2,40%,68%)] — CSS variable: --color-primary: hsl(2, 40%, 68%);