AfoliOpen Afoli →

Cranberry color #9E003A

Cranberry is a color name from the xkcd color survey for the hex code #9E003A — RGB 158, 0, 58, HSL 338°, 100%, 31%.

Open in Afoli Colour tools →

#9E003ACranberry

Color codes

HEX
#9E003A
RGB
rgb(158, 0, 58)
HSL
hsl(338, 100%, 31%)
CMYK
0%, 100%, 63%, 38%
OKLCH
oklch(44.6% 0.178 11.5)

Tints and shades

#FFF1F2#FFCAD0#FFA0AD#FF6F89#E35470#C63859#A91642#860030#610020#3E0012#1F0005

Color harmonies

Complementary
#9E003A#00615F
Analogous
#8F1470#9E003A#8F3200
Triadic
#9E003A#3A6100#00559A
Split complementary
#9E003A#006542#005E74
Tetradic
#9E003A#5F5500#00615F#4A3CB2

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Cranberry text on white8.35 : 186AAA — any text
Cranberry text on black2.51 : 1-16Fails for text
White text on Cranberry8.35 : 1-91AAA — any text
Black text on Cranberry2.51 : 118Fails for text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Palettes with this color

Frequently asked questions

What is the hex code of Cranberry?

Cranberry has the hex code #9E003A, which is RGB 158, 0, 58 and HSL 338°, 100%, 31%.

Which text color reads best on Cranberry?

White text: contrast 8.35 : 1 (black text: 2.51 : 1).

Which colors go well with Cranberry?

Its complementary color is #00615F; analogous colors are #8F1470 and #8F3200; a triadic set adds #3A6100 and #00559A.

Similar colors

Sources and licences

Updated November 21, 2026