Skip to content
Vectorlight.net

#ce312b

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

HEX
#ce312b
RGB
206, 49, 43
HSL
2.21°, 65.46%, 48.82%
OKLCH
0.56 0.19 27.76
Names
—
Lists

Codes

FormatValue
HEX#ce312b
RGBrgb(206 49 43)
HSLhsl(2.21 65.46% 48.82%)
OKLCHoklch(0.56 0.19 27.76)
CMYKcmyk(0% 76.21% 79.13% 19.22%)
Android#ffce312b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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