# Coral Color Code: #FF7F50 Hex, RGB & Palettes

The CSS coral reference is #FF7F50, rgb(255, 127, 80), or hsl(16.11, 100%, 65.69%). Brand shades may differ. HEX and RGB encode the same sRGB reference; HSL is rounded to two decimals. These are screen values, not a CMYK print specification.

## Tints and shades

Illustrative mixes with white or black in encoded sRGB channels, not a perceptually uniform scale.

| Shade | HEX | RGB | HSL | Black text contrast | White text contrast |
| --- | --- | --- | --- | --- | --- |
| Tint 80% | #FFE5DC | rgb(255, 229, 220) | hsl(15.43, 100%, 93.14%) | 17.49:1 | 1.20:1 |
| Tint 40% | #FFB296 | rgb(255, 178, 150) | hsl(16, 100%, 79.41%) | 12.06:1 | 1.74:1 |
| Reference | #FF7F50 | rgb(255, 127, 80) | hsl(16.11, 100%, 65.69%) | 8.40:1 | 2.50:1 |
| Shade 25% | #BF5F3C | rgb(191, 95, 60) | hsl(16.03, 52.19%, 49.22%) | 4.92:1 | 4.27:1 |
| Shade 50% | #804028 | rgb(128, 64, 40) | hsl(16.36, 52.38%, 32.94%) | 2.68:1 | 7.83:1 |

## Text contrast

AA ordinary text requires at least 4.5:1; large text requires at least 3:1. Large text is at least 18pt, or 14pt bold. Use unrounded ratios for decisions. Color pairs alone cannot certify accessibility; review criteria, states, context, and exceptions.

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

## How to use coral in product design

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 a foreground, surface, accent, or status role and name a semantic token after its purpose.
2. Test the actual pair, text size, interaction states, and themes.
3. Document the approved value and companion colors. Keep labels and non-color cues for states.

## CSS palette

Illustrative numeric tokens; connect tested pairs to semantic roles.

```css
:root {
  --coral-100: #FFE5DC;
  --coral-300: #FFB296;
  --coral-500: #FF7F50;
  --coral-700: #BF5F3C;
  --coral-900: #804028;
}
```

## What is the HEX code for coral?

The CSS named color coral is #FF7F50. Use a documented brand token when you mean another shade.

## Is coral accessible?

A color alone cannot pass or fail accessibility. Evaluate the pair, content size, interaction state, and meaning in the complete interface.

## Related colors

- [orange color codes](https://designproject.io/resources/colors/orange/)

- [pink color codes](https://designproject.io/resources/colors/pink/)

- [red color codes](https://designproject.io/resources/colors/red/)

## Sources and next steps

By The Design Project. UI examples and generated scales are illustrative.

- [MDN CSS named colors](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/named-color)
- [W3C contrast guidance](https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html)
- [UI color palette guide](https://designproject.io/resources/guides/create-ui-color-palette/)
- [Semantic color tokens](https://designproject.io/resources/guides/create-semantic-color-tokens/)
- [Color contrast checker](https://designproject.io/resources/guides/check-color-contrast/)
- [Design glossary](https://designproject.io/resources/glossary/)

Canonical: https://designproject.io/resources/colors/coral/

## Keep learning

- [How to create a UI color palette, step by step](https://designproject.io/resources/guides/create-ui-color-palette/)
- [Product design glossary: 44 terms explained](https://designproject.io/resources/glossary/)
- [How to create semantic color tokens for UI](https://designproject.io/resources/guides/create-semantic-color-tokens/)
