Skip to content
Vectorlight.net

#f278ca

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

HEX
#f278ca
RGB
242, 120, 202
HSL
319.67°, 82.43%, 70.98%
OKLCH
0.74 0.18 341.46
Names
—
Lists

Codes

FormatValue
HEX#f278ca
RGBrgb(242 120 202)
HSLhsl(319.67 82.43% 70.98%)
OKLCHoklch(0.74 0.18 341.46)
CMYKcmyk(0% 50.41% 16.53% 5.1%)
Android#fff278ca

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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