Skip to content
Vectorlight.net

#f28cc8

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

HEX
#f28cc8
RGB
242, 140, 200
HSL
324.71°, 79.69%, 74.9%
OKLCH
0.77 0.14 344.77
Names
—
Lists

Codes

FormatValue
HEX#f28cc8
RGBrgb(242 140 200)
HSLhsl(324.71 79.69% 74.9%)
OKLCHoklch(0.77 0.14 344.77)
CMYKcmyk(0% 42.15% 17.36% 5.1%)
Android#fff28cc8

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.24:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.36: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="#f28cc8"
Gradient stop
<stop stop-color="#f28cc8"/>
CSS variable + fill
:root { --c: #f28cc8; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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