Coral
Coral is a light, vivid color from the orange family. Hex code #FF7F50.
Coral color codes
- CSS name
coral - HEX
#FF7F50 - RGB
rgb(255, 127, 80) - HSL
hsl(16, 100%, 66%) - OKLCH
oklch(73.5% 0.168 40.2)
HSB and CMYK values
- HSB / HSV
hsb(16, 69%, 100%) - CMYK
C0 M50 Y69 K0
White text
2.49:1 · fails WCAG
Black text
8.40:1 · passes WCAG AAA
Shades of coral
A darker shade of coral is #D15524 (400), and a lighter one is #FBC7B5 (100).
Colors that go with coral
Complementary
Analogous
Triadic
The complementary color of coral is #50D0FF, close to light sky blue.
Click a color to copy its hex code.
Colors similar to coral
- Salmon#FA8072
More red
- Tomato#FF6347
Slightly darker, more red
- Dark orange#FF8C00
Slightly lighter, more yellow
- Light coral#F08080
More red, more muted
- Dark salmon#E9967A
Slightly lighter, more muted
- Light salmon#FFA07A
Lighter, more muted
Each compared with coral.
About this color
Coral in CSS and design
Coral is one of the extended color keywords, which mostly go back to the X11 color names of Unix systems. These four lines all give the same coral:
color: coral;
color: #FF7F50;
color: rgb(255, 127, 80);
color: hsl(16, 100%, 66%);What to know about coral
In Merriam-Webster, coral is both the marine coral and a color, defined as a deep pink. CSS coral (#FF7F50) leans orange instead, with a hue of 16°. Coral vs salmon: salmon (#FA8072) is pinker and a little softer, at almost exactly the same lightness, so black text reaches 8.40:1 on coral and 8.39:1 on salmon.
Frequently asked questions
What is the hex code for coral?
#FF7F50. In CSS you can also use the keyword coral, which works in every browser.
What is coral in RGB and HSL?
In RGB it is rgb(255, 127, 80) and in HSL hsl(16, 100%, 66%). In CMYK it is about C0 M50 Y69 K0, though printed colors vary with paper and ink.
Should I use black or white text on coral?
Black text works better: it has a contrast ratio of 8.40:1 and passes WCAG AAA. White text reaches 2.49:1.
What is the complementary color of coral?
#50D0FF, close to light sky blue. It sits opposite coral on the color wheel: the hue turned 180 degrees, with the same saturation and lightness.
Which colors go with coral?
For strong contrast, pair it with its complementary color #50D0FF. For a calmer look, combine it with its analogous neighbors #FF5079 and #FFD750. The palette generator builds more combinations.