Coral
Coral is a light, vivid color from the orange family. Hex code #FF7F50.
Color codes
- CSS name
coral - HEX
#FF7F50 - RGB
rgb(255 127 80) - HSL
hsl(16 100% 66%) - HSB / HSV
hsb(16, 69%, 100%) - OKLCH
oklch(73.5% 0.168 40.2) - CMYK
cmyk(0%, 50%, 69%, 0%)
White text
2.49:1 · fails WCAG
Black text
8.40:1 · passes WCAG AAA
Shades
Complementary
Analogous
Triadic
About this color
Coral in CSS and design
Coral is a light, vivid color from the orange family. Coral is one of the extended color keywords, which CSS adopted from the X11 color names used on Unix workstations.
Use it in CSS by name or by any of its codes; these all give the same color:
color: coral;
color: #FF7F50;
color: rgb(255 127 80);
color: hsl(16 100% 66%);For text on coral, black reads best. Check other combinations with the contrast checker, or browse all CSS color names.
More tools
Work with this color
- Color picker and converterPick a color and get HEX, RGB, HSL, HSB, CMYK and OKLCH, plus shades and harmonies.
- Contrast checkerCheck text and background colors against WCAG AA and AAA, and fix failing ones.
- CSS color namesAll 148 named colors with hex codes, shades, contrast and matching palettes.
- Palette generatorBuild a color palette from harmony rules, with shades and CSS variables.
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), in HSL hsl(16 100% 66%). For print, cmyk(0%, 50%, 69%, 0%) is a starting point, but CMYK depends on paper and ink, so check with your printer.
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.
Which colors go with coral?
Its complementary color is #32BBDF, on the opposite side of the color wheel. For a calmer look, combine it with its analogous neighbors #F87D93 and #E5961F. The palette generator builds more combinations.