colors
Back to gallery

Resilient Cranberry

#af4791
Notes

Resilient Cranberry (#AF4791) is a true magenta with an earthy character. It leans grounded and natural, the kind of color that plays well with wood, clay, linen, and warm neutrals. Its HSL profile (317°, 42%, 48%) places it in the balanced band at a mid lightness. It works across type, buttons, and borders, saturated enough to feel deliberate but balanced enough to not fight the rest of the palette. For a confident two-color system, pair it with its complementary green. For something softer, pull in its analogous neighbors on either side of the wheel.

HEX
#af4791
RGB
rgb(175, 71, 145)
HSL
hsl(317, 42%, 48%)
HWB
hwb(317 28% 31%)
OKLCH
oklch(56.0% 0.160 340.3)
P3
color(display-p3 0.6372 0.3038 0.5561)
HSV
hsv(317, 59%, 69%)
LAB
lab(46.53% 51.00 -20.10)
LCH
lch(46.53% 54.82 338.49)
CMYK
cmyk(0%, 59%, 17%, 31%)

Etymology

Resilient
adjective

Latin resiliēns, springing-back — present-participle of resilīre. As a color modifier, resilient implies a saturated-and-recovering-and-flexible quality where the hue maintains its strength under visual pressure. Sits at the bold-and-resilient end of the grid, parallel to tough and hardy in usage.

Cranberry
noun

North American Vaccinium macrocarpon — a Ericaceae low-creeping wetland shrub whose deep-magenta drupe is the iconic Thanksgiving fruit and the base of cranberry juice and jellied cranberry sauce. Cranberry color refers to a freshly cooked Vaccinium macrocarpon compote in a Massachusetts kitchen: a saturated, slightly cool deep magenta with the matte finish of anthocyanin-rich cranberry-fruit pulp.

Closest matches

The nearest named color in three reference sources, ranked by perceptual distance (ΔE76 in CIELAB). ΔE < 1 is imperceptible to most viewers; ΔE > 10 is clearly different. When two sources point to the same hex they’re merged into one tile; click any to open that color’s page.

Variations

Click any swatch to explore

Harmonies

Accessibility

Color-vision simulation

How this color appears to viewers with the four major color-vision-deficiency types. Computed via the Machado (2009) physiologically-based model. If a tile matches the original, the color reads the same to that viewer.

#af4791
Original
#4d6493
Protanopia
#6b748e
Deuteranopia
#b94966
Tritanopia
#626262
Achromatopsia
WCAG contrast

The color used as foreground text against pure white and pure black, with the contrast ratio and WCAG 2.1 grade. Aim for AA (4.5:1) for body text and AA Large (3:1) for 18 pt+ headlines; AAA (7:1) is the gold standard for long-form reading surfaces.

The quick brown foxSample body text at normal size. The wcag minimum for body contrast is 4.5:1 (AA) or 7:1 (AAA).
AAon White
5.08:1
The quick brown foxSample body text at normal size. The wcag minimum for body contrast is 4.5:1 (AA) or 7:1 (AAA).
AA Largeon Black
4.13:1

Wide gamut

Display P3 representation

The CSS Color 4 wide-gamut form of this color. Both swatches render the same color on every display — the P3 form only diverges from sRGB when a designer pushes channels outside sRGB's reach.

sRGB hex
sRGB hex
##AF4791
Display P3
Display P3
color(display-p3 0.6372 0.3038 0.5561)
P3 has subtle headroomOKLCH chroma 0.160

Moderately saturated colors gain a small bump in P3 — the difference is usually visible side-by-side on wide-gamut hardware but won't change the character of the color.

Related Colors

Canvas