Skip to content
Vectorlight.net

#d3227f

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

HEX
#d3227f
RGB
211, 34, 127
HSL
328.47°, 72.24%, 48.04%
OKLCH
0.58 0.22 355.45
Names
—
Lists

Codes

FormatValue
HEX#d3227f
RGBrgb(211 34 127)
HSLhsl(328.47 72.24% 48.04%)
OKLCHoklch(0.58 0.22 355.45)
CMYKcmyk(0% 83.89% 39.81% 17.25%)
Android#ffd3227f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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="#d3227f"
Gradient stop
<stop stop-color="#d3227f"/>
CSS variable + fill
:root { --c: #d3227f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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