coral — #FF7F50
#FF7F50
rgb(255, 127, 80) · hsl(16, 100%, 66%) · CSS keyword coral
Can you put text on it?
| Contrast | Body text | Large text | |
|---|---|---|---|
| coral on white | 2.5:1 | — | — |
| coral on black | 8.4:1 | AA | AA |
As a background, coral takes black text: 8.4:1 against 2.5:1 the other way. A colour picker will give you the hex and stop there, which is why so many palettes look right and fail an accessibility audit.
Using it
color: coral;
color: #ff7f50;
color: rgb(255 127 80);
All three are the same colour. The keyword is one of the 141 CSS named colours — a list settled in CSS 2.1 and added to exactly once since, when rebeccapurple was standardised in 2014.
Colours close to coral
- salmon — #FA8072
- lightcoral — #F08080
- tomato — #FF6347
- darksalmon — #E9967A
- peru — #CD853F
- darkorange — #FF8C00
Frequently asked questions
What is the hex code for coral?
The hex code for coral is #FF7F50 — RGB 255, 127, 80.
Can I use coral for text?
Not on a white background. coral reaches only 2.5:1, and WCAG AA asks for 4.5:1. It works as a background or a border, not as ink.
Should text on coral be black or white?
Black — 8.4:1 against 2.5:1 the other way.
Other named colours
- cornflowerblue — #6495ED
- cornsilk — #FFF8DC
- crimson — #DC143C
- cyan — #00FFFF
- darkblue — #00008B
- darkcyan — #008B8B
- darkgoldenrod — #B8860B
- darkgray — #A9A9A9
- darkgreen — #006400
- darkkhaki — #BDB76B
- darkmagenta — #8B008B
- darkolivegreen — #556B2F
#FF7F50 in full — tints, shades and harmonies · All named colours · Colour reference