Free Accessible CSS Gradient Generator

← All Colors
#CD5C5C Indian Red

Indian Red Hex Code #CD5C5C

Indian Red is a medium, moderate red with the hex code #CD5C5C. In RGB it is 205, 92, 92, and in HSL it is 0°, 53%, 58%. It is one of the 148 named colors in CSS, so you can write “indianred” instead of the hex code.

HEX
#CD5C5C
RGB
rgb(205, 92, 92)
HSL
hsl(0, 53%, 58%)
HSV
hsv(0°, 55%, 80%)
CMYK
cmyk(0%, 55%, 55%, 20%)
CSS name
indianred

CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.

About Indian Red

On a white background Indian Red has a contrast ratio of 3.98:1 (AA Large), and on black 5.28:1 (AA). Black text is the better choice on top of it.

It sits on the warm side of the color wheel, a range that tends to feel energetic and appears to advance toward the viewer.

Red draws attention and signals urgency, which is why it is common for alerts, errors and sale tags. Because people strongly associate it with warnings, use it sparingly for anything that is not an alert.

Shades and tints of Indian Red

Tints mix Indian Red with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.

Color harmonies for Indian Red

These schemes are calculated from Indian Red on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.

Analogous

Open in the color wheel

Triadic

Open in the color wheel

Tetradic

Open in the color wheel

Square

Open in the color wheel

On the artist’s RYB wheel, the complement of Indian Red is #5CCD5C, close to the named color Light Green.

Indian Red contrast and accessibility

WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Indian Red scores against white and black.

Contrast of Indian Red with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 3.98:1 ✕ Fail ✓ Pass ✕ Fail ✕ Fail
Black (#000000) 5.28:1 ✓ Pass ✓ Pass ✕ Fail ✓ Pass
Aa White text on Indian Red3.98:1
Aa Black text on Indian Red5.28:1

Indian Red and color blindness

These are approximate previews of how Indian Red can look with the main types of color vision deficiency.

Protanopia #77715B

Indian Red changes noticeably.

Deuteranopia #93885A

Indian Red changes noticeably.

Tritanopia #DF495D

Indian Red shifts slightly.

Achromatopsia #808080

Indian Red changes noticeably.

Gradients with Indian Red

Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.

Indian Red to a lighter tint

background: linear-gradient(135deg, #cd5c5c 0%, #ebbebe 100%);

Indian Red to its analogous neighbour

background: linear-gradient(135deg, #cd5c5c 0%, #cd955c 100%);

Indian Red to its complement

background: linear-gradient(135deg, #cd5c5c 0%, #5ccdcd 100%);

Colors similar to Indian Red

How each close match differs from Indian Red.

More red colors →

Use Indian Red in code

CSS
.element {
  color: #cd5c5c;
  background-color: #cd5c5c;
  border-color: indianred;   /* indianred is a valid CSS color name */
}
CSS variable
:root {
  --color-indian-red: #cd5c5c;
}
Tailwind
<!-- Tailwind arbitrary values -->
<div class="bg-[#cd5c5c] text-[#cd5c5c] border-[#cd5c5c]"></div>

/* Tailwind v4 theme color */
@theme {
  --color-indian-red: #cd5c5c;
}

Indian Red questions

What is the hex code for Indian Red?

The hex code for Indian Red is #CD5C5C. In RGB that is rgb(205, 92, 92), and in HSL it is hsl(0, 53%, 58%).

What is the complementary color of Indian Red?

On the RGB (screen) color wheel, the complement of Indian Red is #5CCDCD, which is close to Medium Turquoise. On the artist’s RYB wheel it is #5CCD5C, close to Light Green.

Should I use white or black text on Indian Red?

Black text. It has a contrast ratio of 5.28:1 against Indian Red, which is WCAG AA. The other option scores 3.98:1.

Is Indian Red accessible as a text color on white?

Only for large text. Indian Red on white scores 3.98:1, which passes WCAG AA for large text (3:1) but not for normal text (4.5:1).

What are darker and lighter shades of Indian Red?

Mixing Indian Red with black gives #A44A4A, #7B3737, #522525, #291212 (20% to 80% black). Mixing it with white gives #D77D7D, #E19D9D, #EBBEBE, #F5DEDE (20% to 80% white).

More color tools