Salmon hex and RGB values
The CSS keyword salmon gives you #FA8072, or rgb(250, 128, 114).
Salmon can separate a section from the rest of a light page. Use a measured dark text color and retain a written label for any status message.
Compare black and white text
| Text / background | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| #000000 / #FA8072 | 8.40:1 | Pass | Pass | Pass | Pass |
| #FFFFFF / #FA8072 | 2.50:1 | Fail | Fail | Fail | Fail |
Black text has the higher contrast on salmon: 8.40:1. The table compares both options against all four text thresholds, using the unrounded values for pass or fail.
Try salmon in a layout
The CSS sample below uses black text on #FA8072. Preview a 16 px label and a 24 px heading to compare normal and large text. Swap the colors to try salmon as the text color; the ratio stays the same.
.sample {
background: #FA8072;
color: #000000;
}Copy the exact color
Use the converter to copy HEX, RGB or HSL. If you edit in HSL, the final value is rounded to eight-bit sRGB so the preview and exported color agree. For text over an image, gradient or translucent layer, check the finished design separately.