Coral Hex Code #FF7F50
Coral is a light, strong orange with the hex code #FF7F50. In RGB it is 255, 127, 80, and in HSL it is 16°, 100%, 66%. It is one of the 148 named colors in CSS, so you can write “coral” instead of the hex code.
- HEX
- #FF7F50
- RGB
- rgb(255, 127, 80)
- HSL
- hsl(16, 100%, 66%)
- HSV
- hsv(16°, 69%, 100%)
- CMYK
- cmyk(0%, 50%, 69%, 0%)
- CSS name
- coral
CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.
About Coral
On a white background Coral has a contrast ratio of 2.50:1 (Fail), and on black 8.40: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.
Orange is energetic and friendly. It works well for calls to action and highlights because it stands out against blue and neutral backgrounds without the alarm of red.
Shades and tints of Coral
Tints mix Coral with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.
Color harmonies for Coral
These schemes are calculated from Coral on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.
On the artist’s RYB wheel, the complement of Coral is #50FFF4, close to the named color Cyan.
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 Coral scores against white and black.
| Against | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White (#ffffff) | 2.50:1 | ✕ Fail | ✕ Fail | ✕ Fail | ✕ Fail |
| Black (#000000) | 8.40:1 | ✓ Pass | ✓ Pass | ✓ Pass | ✓ Pass |
Coral and color blindness
These are approximate previews of how Coral can look with the main types of color vision deficiency.
Coral changes noticeably.
Coral changes noticeably.
Coral changes noticeably.
Coral changes noticeably.
Gradients with Coral
Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.
Coral to a lighter tint
background: linear-gradient(135deg, #ff7f50 0%, #ffccb9 100%); Coral to its analogous neighbour
background: linear-gradient(135deg, #ff7f50 0%, #ffd650 100%); Coral to its complement
background: linear-gradient(135deg, #ff7f50 0%, #50d0ff 100%); Colors similar to Coral
How each close match differs from Coral.
Use Coral in code
.element {
color: #ff7f50;
background-color: #ff7f50;
border-color: coral; /* coral is a valid CSS color name */
} :root {
--color-coral: #ff7f50;
} <!-- Tailwind arbitrary values -->
<div class="bg-[#ff7f50] text-[#ff7f50] border-[#ff7f50]"></div>
/* Tailwind v4 theme color */
@theme {
--color-coral: #ff7f50;
} Coral questions
What is the hex code for Coral?
The hex code for Coral is #FF7F50. In RGB that is rgb(255, 127, 80), and in HSL it is hsl(16, 100%, 66%).
What is the complementary color of Coral?
On the RGB (screen) color wheel, the complement of Coral is #50D0FF, which is close to Light Sky Blue. On the artist’s RYB wheel it is #50FFF4, close to Cyan.
Should I use white or black text on Coral?
Black text. It has a contrast ratio of 8.40:1 against Coral, which is WCAG AAA. The other option scores 2.50:1.
Is Coral accessible as a text color on white?
No. Coral on white scores 2.50:1, which is below the WCAG minimum of 3:1 even for large text.
What are darker and lighter shades of Coral?
Mixing Coral with black gives #CC6640, #994C30, #663320, #331910 (20% to 80% black). Mixing it with white gives #FF9973, #FFB296, #FFCCB9, #FFE5DC (20% to 80% white).