Skip to content
Vectorlight.net

#d240af

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

HEX
#d240af
RGB
210, 64, 175
HSL
314.38°, 61.86%, 53.73%
OKLCH
0.62 0.21 339.04
Names
—
Lists

Codes

FormatValue
HEX#d240af
RGBrgb(210 64 175)
HSLhsl(314.38 61.86% 53.73%)
OKLCHoklch(0.62 0.21 339.04)
CMYKcmyk(0% 69.52% 16.67% 17.65%)
Android#ffd240af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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