⤺ color picker

#fef8fb Color Hex

Hex color #fef8fb, RGB(254, 248, 251) - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #fef8fb is a shade of red-magenta. In a RGB color space it is composed of 99.61% red, 97.25% green and 98.43% blue. In HSL notation it has 330° hue, 75% saturation and 98.4% lightness. The process color (CMYK) is combination of 0% cyan, 2.36% magenta, 1.18% yellow and 0.39% key (black). The closest short hexadecimal code of #fef8fb is #fff.

Color information

  • #fef8fb is a shade of red-magenta.
  • Red is dominant among the three primary colors (RGB).
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 2.36%
    • Yellow: 1.18%
    • Key color - black: 0.39%
  • In the HSL model coordinates are:
    • Hue: 330° degrees
    • Saturation: 75%
    • Lightness: 98.4%
  • The values in the RGB color space are:
    • Red: 254 (99.61%)
    • Green: 248 (97.25%)
    • Blue: 251 (98.43%)


C: 0%, M: 2.36%, Y: 1.18%, K: 0.39%
R: 254, G: 248, B: 251
H: 330°, S: 75%, L: 98.4%

Color harmonies

#fef8fb color HTML and CSS codes

Example CSS code:

.setFontColor { color: #fef8fb; }
.setBackgroundColor { background-color: #fef8fb; }

#fef8fb text/font color

How to set font color?

<p style="color:#fef8fb">Font color is #fef8fb.</p>

Font color is #fef8fb.

Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything. Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore

#fef8fb background color

How to set background color?

<div style="background-color:#fef8fb">Background color is #fef8fb.</div>

Background color is #fef8fb.

When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant