Skip to content
Let’s chat ↗

THE COLOR LIBRARY / Warm

Coral color codes.

The CSS coral color code is #FF7F50. Its RGB value is rgb(255, 127, 80) and its HSL value is hsl(16.11, 100%, 65.69%). Start with the exact reference, then choose a shade for the job.

A color name describes a family in everyday language. This page uses the standardized CSS keyword as its reference; your brand’s coral may be different.

Explore the shades ↓
CSS / coralCoral#FF7F50

COPY. PASTE. MAKE IT YOURS.

Coral in HEX, RGB, and HSL

HEX#FF7F50
RGBrgb(255, 127, 80)
HSLhsl(16.11, 100%, 65.69%)

HEX and RGB encode the same sRGB reference. HSL is calculated from it and rounded to two decimals for display. These are screen color values, not a CMYK print specification.

ONE COLOR. DIFFERENT ROLES.

Explore coral tints and shades

Select a swatch to see its codes and compare text contrast.

UI COLOR SPECIMEN

Make the next step clear.

A label, a surface, and room to breathe.

Selected: Reference

Selected color

Reference · #FF7F50

rgb(255, 127, 80)hsl(16.11, 100%, 65.69%)

The specimen picks whichever of black or white has higher contrast. It demonstrates a pair, not a complete accessible component.

Illustrative scale: tints mix the reference with white, shades with black, by the stated percentage in encoded sRGB channels. This is not a perceptually uniform scale. Black tints and white shades remain useful; mixing black with black or white with white repeats the reference.

Text contrast on coral

The table follows your selected swatch, currently #FF7F50. Decisions use the full calculated ratio; displayed ratios are rounded.

Text against the selected coral surface
Text colorRatioAA ordinary textAA large text
Black #0000008.40:1Pass · 4.5:1Pass · 3:1
White #FFFFFF2.50:1Fail · 4.5:1Fail · 3:1

Large text is at least 18pt, or 14pt bold. These numeric checks apply to opaque, solid color pairs. Other criteria, states, backgrounds, and exceptions need review. Read W3C’s contrast guidance.

CSS coral is #FF7F50. A brand may use a different coral; copy the actual token value rather than replacing it with the CSS keyword.

Check a custom color pair ↗

IN A REAL INTERFACE

How to use coral in product design

Give it one clear role

Coral can provide a warm brand accent for an action or a compact highlight. Separate brand expression from destructive feedback so users do not have to interpret the same color in conflicting ways.

A UI example to try

A coral onboarding action can sit beside neutral secondary links. Review the label, focus outline, and hover treatment as separate pairs rather than approving the button from its default screenshot.

Work through a real screen

Use coral on a brand-led call to action with the real label and surrounding alternatives. Compare it with destructive controls and warning messages to ensure the roles remain clear. If white text does not meet the applicable contrast requirement, choose a tested darker action shade or a different foreground treatment.

Compare nearby colors by purpose

Compare coral with orange for warmth and red for stronger status associations. Do not change a destructive action to coral solely to soften its appearance; the consequence still needs explicit wording and an appropriate interaction.

  1. Choose the role. Decide whether coral is a surface, foreground, accent, or status. Name the semantic token after that purpose.
  2. Test the actual pair. Compare its foreground and background at the intended size. Test hover, selected, focus, and supported themes independently.
  3. Document the decision. Keep the approved code, usage rule, and contrasting companion together. Preserve labels and non-color cues when communicating a state.

Copy a coral CSS palette

These numeric names are illustrative palette tokens, not a standard scale. Connect approved values to semantic tokens such as --surface-highlight or --text-primary after testing their pairs.

:root {
  --coral-100: #FFE5DC;
  --coral-300: #FFB296;
  --coral-500: #FF7F50;
  --coral-700: #BF5F3C;
  --coral-900: #804028;
}
Download CSS palette ↓

Turn palette values into semantic tokens ↗

Common questions about coral

What is the HEX code for coral?

The CSS named color coral is #FF7F50. Use that exact value when you want the standardized reference; use your own documented token when you mean a particular brand shade.

Is coral accessible?

A color by itself cannot pass or fail accessibility. The foreground/background pair, content size, interaction state, and meaning all matter. Use the table above for the selected solid-color pair, then review the complete interface.

Explore related colors