#F5F5F5 Color Details, Palettes & Contrast

All the conversions, harmonies, and accessibility checks you need to design with confidence.

RGB:rgb(245, 245, 245)
HSL:hsl(0, 0%, 96%)
HEX
#F5F5F5
RGB
245, 245, 245
HSL
0°, 0%, 96%
HSV
0°, 0%, 96%
CMYK
0%, 0%, 0%, 4%

Color Conversion

Generate values across multiple color models in one place.

#F5F5F5

Tints & shades

Explore how #F5F5F5 behaves when you mix it with white or black. These swatches are perfect for hover states, shadows, and backgrounds.

Hover to copy any hex value and reuse it across your interface.

Shades

0–100%
0%#F5F5F5
10%#DCDCDC
20%#C4C4C4
30%#ABABAB
40%#939393
50%#7A7A7A
60%#626262
70%#494949
80%#313131
90%#181818
100%#000000

Tints

0–100%
0%#F5F5F5
10%#F6F6F6
20%#F7F7F7
30%#F8F8F8
40%#F9F9F9
50%#FAFAFA
60%#FBFBFB
70%#FCFCFC
80%#FDFDFD
90%#FEFEFE
100%#FFFFFF

Common use cases

  • UI component states (hover, active, disabled)
  • Creating depth with shadows and highlights
  • Building consistent color systems

Design system

Design system tip

These variations form the foundation of a cohesive palette. Export them to keep marketing, product, and engineering aligned.

Export palette

Color harmonies

Build balanced palettes instantly with harmonies generated from #F5F5F5.

Click any swatch to open its own detail page and keep exploring.

How to use

Pick one dominant color, then let supporting hues act as accents for typography, surfaces, and call-to-action buttons.

Why it matters

Balanced harmonies communicate intent—calm, energetic, premium—without overwhelming your layout.

Complementary

Opposite hues that create impact and bold contrast.

Suggested for

High-impact CTAs, logos, and hero sections

Analogous

Neighboring hues for natural, fluid gradients.

Suggested for

Nature-inspired, calming dashboards

Triadic

Three evenly spaced hues for playful balance.

Suggested for

Playful branding and editorial layouts

Tetradic

Two complementary pairs that deliver rich variety.

Suggested for

Illustrations and marketing experiments

Monochromatic

Lighter and darker siblings inside the same hue family.

Suggested for

Minimalist interfaces and premium UI states

Accessibility contrast

Check how readable #F5F5F5 is with common text colors so every visitor enjoys a clear experience.

Use AA as the baseline for body copy and AAA for premium accessibility.

Sample text on black text
Text color#000000
Background#F5F5F5
Contrast ratio19.26:1
WCAG levelAAA
Sample text on white text
Text color#FFFFFF
Background#F5F5F5
Contrast ratio1.09:1
WCAG levelFail
Recommended text preview
Text color#000000
Background#F5F5F5
Contrast ratio19.26:1
WCAG levelAAA

Technical Formats

Advanced color formats used in design systems.

HEX
#F5F5F5
RGB
rgb(245, 245, 245)
HSL
hsl(0, 0%, 96.08%)
HSV
hsv(0 0.00% 96.08%)
LAB
lab(96.54 0.00 0.00)
LCH
lch(96.54 0.00 0)
OKLAB
oklab(0.97 0.0000 0.0000)
OKLCH
oklch(0.97 0.0000 0)
Display P3
color(display-p3 0.9607843137254904 0.9607843137254902 0.9607843137254902)
CSS Color Level 4
color(srgb 0.9607843137254902 0.9607843137254902 0.9607843137254902)
XYZ
color(xyz-d65 0.8679 0.9131 0.9944)
CMYK
cmyk(0.00% 0.00% 0.00% 3.92%)

Practical Formats

Variables, config files, and code snippets.

CSS Variable
--color-brand-primary: #F5F5F5;
CSS RGB Variable
--color-brand-primary-rgb: 245, 245, 245;
SCSS Variable
$color-brand-primary: #F5F5F5;
Tailwind Config
"brand-primary": "#F5F5F5"
JavaScript
const brandprimary = "#F5F5F5";
Design Token JSON
{
  "color": {
    "brand-primary": {
      "value": "#F5F5F5",
      "type": "color"
    }
  }
}
SVG Fill
<rect fill="#F5F5F5" />
Android XML
<color name="brand_primary">#F5F5F5</color>
iOS Swift
UIColor(red: 0.961, green: 0.961, blue: 0.961, alpha: 1.0)
HSL CSS Variable
--color-brand-primary-hsl: 0.00 0.00% 96.08%;

Color Analysis

Deep dive into color properties and accessibility.

Closest Color Name
whitesmoke
Temperature
Warm
Hue Family
Red
Relative Luminance
0.9131
Saturation Level
Muted
Lightness Level
Very light

Blindness Simulator

How this color appears under color vision deficiencies.

Protanopia

Red-blind simulation

#F5F5F5

Deuteranopia

Green-blind simulation

#F5F5F5

Tritanopia

Blue-blind simulation

#F5F5F5

Achromatopsia

No-color simulation

#F5F5F5

Creative Aspects

Palettes, gradients, and moods.

Complementary

#F5F5F5#F5F5F5

Analogous

#F5F5F5#F5F5F5#F5F5F5

Triadic

#F5F5F5#F5F5F5#F5F5F5

Tetradic

#F5F5F5#F5F5F5#F5F5F5#F5F5F5

Monochromatic

#FFFFFF#FAFAFA#F5F5F5#C2C2C2#929292

Tints

#FFFFFF#FCFCFC#FAFAFA#F7F7F7#F5F5F5

Shades

#F5F5F5#B2B2B2#737373#393939#000000

Gradient Flow

#F5F5F5#F5F5F5#F5F5F5#F5F5F5#F5F5F5

Design guidance

Balance

Treat #F5F5F5 as a highlight. Pair it with neutrals and one supporting hue to avoid visual overload.

Contrast

Test combinations with real content. Higher contrast improves scanning, readability, and conversions.

Harmony

Use lighter tints for surfaces, the base color for primaries, and darker shades for hover or pressed states.

Need another color?

Jump back to the color picker to upload images, generate palettes, and explore new color relationships.

Pick Another Color