Free Accessible CSS Gradient Generator

← All Colors
#F08080 Light Coral

Light Coral Hex Code #F08080

Light Coral is a light, moderate red with the hex code #F08080. In RGB it is 240, 128, 128, and in HSL it is 0°, 79%, 72%. It is one of the 148 named colors in CSS, so you can write “lightcoral” instead of the hex code.

HEX
#F08080
RGB
rgb(240, 128, 128)
HSL
hsl(0, 79%, 72%)
HSV
hsv(0°, 47%, 94%)
CMYK
cmyk(0%, 47%, 47%, 6%)
CSS name
lightcoral

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

About Light Coral

On a white background Light Coral has a contrast ratio of 2.59:1 (Fail), and on black 8.10:1 (AAA). 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 Light Coral

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

Color harmonies for Light Coral

These schemes are calculated from Light Coral 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 Light Coral is #80F080, close to the named color Pale Green.

Light Coral 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 Light Coral scores against white and black.

Contrast of Light Coral with white and black
AgainstRatioAA normalAA largeAAA normalAAA large
White (#ffffff) 2.59:1 ✕ Fail ✕ Fail ✕ Fail ✕ Fail
Black (#000000) 8.10:1 ✓ Pass ✓ Pass ✓ Pass ✓ Pass
Aa White text on Light Coral2.59:1
Aa Black text on Light Coral8.10:1

Light Coral and color blindness

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

Protanopia #98937F

Light Coral changes noticeably.

Deuteranopia #B4AA7E

Light Coral changes noticeably.

Tritanopia #FF7181

Light Coral shifts slightly.

Achromatopsia #A1A1A1

Light Coral changes noticeably.

Gradients with Light Coral

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

Light Coral to a lighter tint

background: linear-gradient(135deg, #f08080 0%, #f9cccc 100%);

Light Coral to its analogous neighbour

background: linear-gradient(135deg, #f08080 0%, #f0b880 100%);

Light Coral to its complement

background: linear-gradient(135deg, #f08080 0%, #80f0f0 100%);

Colors similar to Light Coral

How each close match differs from Light Coral.

More red colors →

Use Light Coral in code

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

/* Tailwind v4 theme color */
@theme {
  --color-light-coral: #f08080;
}

Light Coral questions

What is the hex code for Light Coral?

The hex code for Light Coral is #F08080. In RGB that is rgb(240, 128, 128), and in HSL it is hsl(0, 79%, 72%).

What is the complementary color of Light Coral?

On the RGB (screen) color wheel, the complement of Light Coral is #80F0F0, which is close to Pale Turquoise. On the artist’s RYB wheel it is #80F080, close to Pale Green.

Should I use white or black text on Light Coral?

Black text. It has a contrast ratio of 8.10:1 against Light Coral, which is WCAG AAA. The other option scores 2.59:1.

Is Light Coral accessible as a text color on white?

No. Light Coral on white scores 2.59:1, which is below the WCAG minimum of 3:1 even for large text.

What are darker and lighter shades of Light Coral?

Mixing Light Coral with black gives #C06666, #904D4D, #603333, #301A1A (20% to 80% black). Mixing it with white gives #F39999, #F6B3B3, #F9CCCC, #FCE6E6 (20% to 80% white).

More color tools