Raspberry color: hex codes, shades and palettes

Palettes built around raspberry. Click any swatch to copy its hex code.

A deep pink-red, brighter than wine and darker than rose. It has enough blue in it to stay cool despite being a red.

Raspberry hex, RGB, HSL and OKLCH

#8E2F52
HEX
#8E2F52
RGB
rgb(142, 47, 82)
HSL
hsl(338, 50%, 37%)
OKLCH
oklch(45.5% 0.132 1.2)
On white
7.84:1
On black
2.68:1

Shades of raspberry

Eleven steps from one base color, generated in OKLCH so each step is an equal perceived step rather than an equal numeric one. Click a swatch to copy it.

Contrast and readability

Raspberry on white measures 7.84:1 and on black 2.68:1. WCAG AA asks for 4.5:1 on normal text and 3:1 on large text and UI components, so the higher of those two decides which background it belongs on. In the scale above, 500 is the first to clear 4.5:1 on white, at 5.67:1.

The contrast checker reports every level for a given pair and suggests the nearest passing shade on the same hue. The color picker builds this same scale from any color you paste in.

Related colors:rose, pink, hot pink, blush, magenta, fuchsia. See every shade on the colors index.