Coral
Hex #FF7F50, rgb(255 127 80). An orange CSS named color.
Open in palette generatorCoral color codes
Click any value to copy it.
- HEX
- RGB
- HSL
- HSV
- HWB
- CMYK
- OKLCH
- OKLab
- Lab
- LCH
- CSS keyword
About Coral
Coral is a light saturated orange with the hex code #FF7F50. In RGB it is made of 255 red, 127 green and 80 blue; in HSL its hue is 16°, with 100% saturation and 66% lightness. Its perceptual lightness (OKLCH L) is 73.5%.
It is a CSS named color, so you can write "coral" anywhere CSS accepts a color. Against white it has a contrast ratio of 2.50:1 and against black 8.40:1, so black text reads better on it and passes WCAG AA for normal text.
Tints, shades and tones
Coral mixed step by step with white, black and middle gray (#808080).
Tints (with white)
Shades (with black)
Tones (with gray)
Coral 50-950 scale
A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.
Colors that go with Coral
Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.
Complementary
Analogous
Split complementary
Monochromatic
Contrast and readability
WCAG 2 contrast of Coral with white and black. The readable text color on Coral is black.
On white2.50:1
- AA fail
- AA Large fail
- AAA fail
- UI 3:1 fail
APCA Lc 48
On black8.40:1
- AA pass
- AA Large pass
- AAA pass
- UI 3:1 pass
APCA Lc -53
Test any pair in the contrast checker.
Color blindness preview
How Coral appears with each type of color vision deficiency (simulated with the Machado model).
- Protanopia#A2924B
- Deuteranopia#C1AF4D
- Tritanopia#FF6574
- Protanomaly#C1914B
- Deuteranomaly#D0A34D
- Tritanomaly#FF7562
- Achromatopsia#A4A4A4
Colors similar to Coral
The closest named colors by perceptual difference (OKLab).
Use Coral in CSS and Tailwind
.coral {
color: coral; /* #FF7F50 */
background-color: rgb(255 127 80);
border-color: oklch(73.5% 0.168 40.2);
}/* Tailwind CSS v4: bg-coral-500, text-coral-700... */
@theme {
--color-coral-50: #FFF8F6;
--color-coral-100: #FFEAE3;
--color-coral-200: #FFD5C6;
--color-coral-300: #FFB398;
--color-coral-400: #FF7F50;
--color-coral-500: #EF5913;
--color-coral-600: #CF4800;
--color-coral-700: #A73800;
--color-coral-800: #862C00;
--color-coral-900: #6D2200;
--color-coral-950: #2C0800;
}
<!-- or the exact color, no config -->
<div class="bg-[#FF7F50] text-[#000000]">…</div>