CSS color names · Oranges

Coral color: hex #ff7f50, RGB and HSL

Coral is the CSS keyword coral, hex #ff7f50, rgb(255, 127, 80), hsl(16, 100%, 66%). It is a medium, fully saturated orange in the oranges family. Below: the colors that go with it, its tints and shades, how it reads as text, and a complete interface palette built from it.

CSS name
coral
Hex
#ff7f50
RGB
rgb(255, 127, 80)
HSL
hsl(16, 100%, 66%)
On white
2.5:1 — fails AA; use as a fill, not text
On black
8.4:1 — passes AA for body text
.example {
  color: coral;          /* keyword */
  color: #ff7f50;          /* hex */
  color: rgb(255, 127, 80); /* rgb */
  color: hsl(16, 100%, 66%); /* hsl */
}

What colors go with coral

Each match keeps coral's saturation and lightness and rotates only the hue, so the relationship is the wheel's and nothing else. Any of these can be an accent beside coral as the primary; the harmony guides explain which rule suits which interface.

Complementary

The opposite hue, 180° away — the strongest contrast, best kept to one accent per screen.

#50d0ff

Split-complementary

The two neighbors of the complement, at 150° and 210° — most of the contrast with less tension, and two accents instead of one.

#50ffd6
#5079ff

Triadic

Two hues at 120° and 240° — three evenly spaced signals, the scheme charts and category colors want.

#50ff7f
#7f50ff

Analogous

The neighbors at −30° and +30° — calm and cohesive, with emphasis coming from weight and size rather than hue.

#ff5079
#ffd650

Tints and shades of coral

Tints add lightness toward white; shades remove it toward black. The hue and saturation stay fixed, so every step still reads as coral — these are the hover, pressed, disabled and surface variants a single brand color needs.

Tints (lighter)

#ff946d
#ffaa8a
#ffbfa8
#ffd4c5
#ffeae2

Shades (darker)

#ff5618
#df3c00
#a82d00
#701e00
#380f00

A UI color palette built from coral

The eight semantic roles an interface actually uses, derived from coral as the primary with the split-complementary rule: secondary and accent rotate around the wheel, and the five neutrals take the hue at lightness steps tuned for light and dark mode. This is the same derivation the palette generator runs — open it there to change the rule, drag the anchors, or export the set as CSS variables.

Light mode
primary
#ff7f50
secondary
#50ffd6
accent
#5079ff
background
#fdfcfc
surface
#f7f4f3
text
#221511
muted
#8f6556
border
#ece3df
Dark mode
primary
#ff7f50
secondary
#50ffd6
accent
#5079ff
background
#1b120e
surface
#281a15
text
#f6f4f3
muted
#b89d94
border
#493027

Using coral in an interface

Orange is the classic accent for a blue or teal interface: it is the complement, and it reads as an object rather than a surface. Keep it to buttons, badges and single highlights; as a background it competes with everything on top of it. Whichever role coral takes, define it once as a token rather than repeating the keyword: the semantic palette guide covers the eight roles, and the guides to complementary, triadic and the other color schemes explain how to weight the matches above.

What is the hex code for Coral?
Coral is #ff7f50. In CSS the keyword coral, the hex #ff7f50, rgb(255, 127, 80) and hsl(16, 100%, 66%) all paint the same color.
What colors go with Coral?
Its complement is #50d0ff, the split-complementary pair is #50ffd6 and #5079ff, the triadic partners are #50ff7f and #7f50ff, and the analogous neighbors are #ff5079 and #ffd650. In an interface, use Coral for most colored elements and one of these for a single accent, at roughly an 80/20 split.
What is the opposite of Coral on the color wheel?
The opposite (complementary) color is #50d0ff, the same saturation and lightness rotated 180° around the HSL wheel. Complementary pairs give the strongest contrast, which is why the complement should be used sparingly rather than at equal weight.
Can I use Coral for text?
Coral as text on white has a contrast ratio of 2.5:1, which fails WCAG AA for body text (4.5:1) and for large text (3:1). On black it is 8.4:1, which passes for body text. Use it as text on dark surfaces, or as a fill with dark text on top.

Similar named colors

More oranges

We'd like to use Google cookies to understand how Nodlume is used and to measure our advertising. Nothing loads until you choose, and declining does not affect anything in the app.