Find Color Codes

Raspberry Color Codes

Raspberry is a mid-tone, vivid pink with the hex code #E30B5D, RGB values of 227, 11, 93 and an HSL value of hsl(337, 91%, 47%).

HEX#E30B5D
RGB227, 11, 93
HSLhsl(337, 91%, 47%)
HSV337°, 95%, 89%
CMYK0%, 95%, 59%, 11%
LAB48.72, 75.20, 15.89
CIELCHuv48.72, 134.01, 1.41°
Nearest Pantone
PMS 213 C ΔE 6.5 · approximate
Nearest CSS name
crimson ΔE 18.3

Source Wikipedia, List of colors

Raspberry Color Hex Code

The Raspberry color hex code is #E30B5D. Those six digits are three pairs, E3 for red, 0B for green and 5D for blue, which is the same triplet a browser reads from the CSS value below.

#E30B5D

Raspberry Color RGB Code

The Raspberry RGB code is rgb(227, 11, 93). Red carries the most light at 227 of 255, which is what puts this color where it sits on the wheel.

rgb(227, 11, 93)

Raspberry Color HSV Code

The Raspberry HSV code is 337°, 95%, 89%. Read it as a hue of 337 degrees, 95% saturation and 89% value, which is the form most color pickers use because moving one number changes one thing.

337°, 95%, 89%

Raspberry Color CIELChuv Code

The Raspberry CIELCHuv code is 48.72, 134.01, 1.41°. Unlike hex or RGB this one is perceptual: lightness 49 means mid-toned to the eye rather than to the screen, and chroma 134 is how far it sits from grey.

48.72, 134.01, 1.41°

Tonal scale

What are Raspberry Color Palettes?

A shade mixes toward black, a tint toward white, a tone toward grey. Every step keeps the hue and is copy-ready.

Shades, toward black

Tints, toward white

Tones, toward grey

Open in the shades & tints generator →

Palettes

What are Raspberry Color Palette Codes?

Each of these is a hue rotation from #E30B5D. They are generated, not curated, so they are exact.

Complementary

Half a turn away is #0BE391, a light, vivid spring green. This is the widest separation the wheel offers, and the reason complementary pairs are the default for anything that must stand out. Both are saturated, so give the complement much less area than the base or the two will fight.

Analogous

Either side sit #E30BC9 and #E3250B, 30 degrees out. Low tension by construction: useful when you need several related tones that still feel like one choice.

Triadic

#5DE30B and #0B5DE3 complete an even 120 degree split. Three fully independent hues, so one has to lead: keep this base dominant and let the other two appear in small quantities.

Split-complementary

Instead of the direct complement, this takes the two hues either side of it: #0BE325 and #0BC9E3. Almost the same contrast, without the edge shimmer a true complementary pair produces at high saturation.

Tetradic

Two complementary pairs forming a rectangle: this base with #0BE391, and #C9E30B with #250BE3. The richest of the five and the hardest to balance, so treat this base as the lead and hold the other three well back.

See these on the color wheel →

Accessibility

Contrast checker: is Raspberry accessible?

Measured against white and against black, with a separate verdict for each element type. Small text, large text and UI components have different thresholds, so one pass or fail for the whole color would be wrong roughly a third of the time.

White background

4.70:1

4.70

contrast ratio on white background

ElementAAAAA
Small text needs 4.5:1 / 7:1 Passes Fails
Large text needs 3:1 / 4.5:1 Passes Passes
UI component needs 3:1 Passes n/a

Black background

4.47:1

4.47

contrast ratio on black background

ElementAAAAA
Small text needs 4.5:1 / 7:1 Fails Fails
Large text needs 3:1 / 4.5:1 Passes Fails
UI component needs 3:1 Passes n/a

Raspberry clears WCAG AA against white at 4.70:1, so it is safe for body copy as well as headings. Text placed on it should be white, which gives 4.70:1. It is a highly saturated color, so it will dominate anything it sits beside. Give it space rather than surrounding it with other strong colors.

Color vision

How Raspberry looks with color blindness

Around 300 million people see color differently from the way it is specified. Each card shows the actual color beside how it appears, and how common that form of vision is.

Protanopia

About 1% of men
actual

#B1AF52

Raspberry changes substantially here. ΔE 95.0

No working red cones. Reds darken sharply and drift toward the same muddy olive as green.

Deuteranopia

About 1% of men
actual

#B8C24F

Raspberry changes substantially here. ΔE 105.5

No working green cones. With the milder deuteranomaly at nearer 6% of men, this is by far the most common form, and the one worth designing around.

Tritanopia

About 1 in 10,000
actual

#DE4745

Raspberry changes substantially here. ΔE 25.5

No working blue cones. Blues shift toward green and yellows toward pink. Rare, and unlike the others it is not sex-linked, so it affects men and women equally.

Achromatopsia

About 1 in 30,000
actual

#747474

Raspberry changes substantially here. ΔE 76.9

No color vision at all. Also a fair proxy for how the color survives a greyscale print or a failing screen.

To a deuteranope, the most common form, Raspberry reads as #B8C24F. That is a shift of ΔE 105.5, so it is a different color to roughly one man in sixteen. It sits in the red end of the spectrum, which is exactly where red-green deficiency does its damage. Never pair it with a green of similar lightness to signal a difference in meaning: to a large minority the two become one color. The widest shift is under deuteranopia, at ΔE 105.5. The rule this leads to needs no simulator: never let color be the only thing carrying a message. Add a label, an icon, or a clear difference in lightness, and the problem disappears for everyone.

Snippets

Using Raspberry in code

:root {
  --raspberry: #E30B5D;
}

.example {
  color: var(--raspberry);
}