Skip to content
Vectorlight.net

white (#ffffff)

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#ffffff
RGB
255, 255, 255
HSL
0°, 0%, 100%
OKLCH
1 0 89.88
Names
white

Codes

FormatValue
HEX#ffffff
RGBrgb(255 255 255)
HSLhsl(0 0% 100%)
OKLCHoklch(1 0 89.88)
CMYKcmyk(0% 0% 0% 0%)
Android#ffffffff

Names & lists

white CSS named

Web-safe: Yes

Tailwind: No

Contrast

Aa
1.00:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
21.00:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#ffffff"
Gradient stop
<stop stop-color="#ffffff"/>
CSS variable + fill
:root { --c: #ffffff; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #ffffff;
background-color: #ffffff;
bg-[#ffffff]