Cranberry Color — HEX, RGB, HSL & CMYK Codes

#9e003a
Format Value
HEX #9e003a
RGB rgb(158, 0, 58)
HSL hsl(338, 100%, 31%)
CMYK cmyk(0%, 100%, 63.3%, 38%)
HSV hsv(338, 100%, 62%)

cranberry color harmonies

Tints & shades of cranberry

Tints (lighter)

#a7174c #b02e5e #b84670 #c15d82 #ca7494 #d38ba5 #dca2b7 #e5b9c9 #edd1db #f6e8ed

Shades (darker)

#900035 #81002f #73002a #650025 #560020 #48001a #390015 #2b0010 #1d000b #0e0005

Contrast & accessibility

The quick brown fox

On white · 8.35:1 · AAA

The quick brown fox

On black · 2.51:1 · Fail

Recommended text color: #ffffff

Use cranberry in code

CSS color: #9e003a;
SCSS $color: #9e003a;
Tailwind bg-[#9e003a]
Swift UIColor(red: 0.620, green: 0.000, blue: 0.227, alpha: 1)
Android Color.parseColor("#9e003a")
Flutter Color(0xFF9E003A)

Colors similar to cranberry

Browse all Pink colors →

What is the HEX code for cranberry?

The CSS color cranberry in HEX format is #9e003a. Use this value directly in CSS, SVG, and most design tools.

How do I use cranberry in CSS?

To apply cranberry in CSS:

  • Text color: color: #9e003a;
  • Background: background-color: #9e003a;
  • Border: border-color: #9e003a;

What are all the color format values for cranberry?

FormatValue
HEX#9e003a
RGBrgb(158, 0, 58)
HSLhsl(338, 100%, 31%)
CMYKcmyk(0%, 100%, 63.3%, 38%)

How do I convert cranberry to HEX?

Select cranberry from the color name list in our color converter. The HEX value — #9e003a — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does cranberry belong to?

cranberry belongs to the pink color family. It is a medium, vivid color with HSL values: hue 338°, saturation 100%, lightness 31%.

How do I create lighter and darker shades of cranberry?

Lighter variant (lightness 46%): #eb0056. Darker variant (lightness 16%): #52001e. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.