Cranberry #9E003A
Cranberry is a dark, vivid red with hex code #9E003A and RGB rgb(158, 0, 58).
Aa
White text reads best on this color (8.35:1).
About this color
#9E003A is a dark, vivid red. In OKLCH its lightness is 45%, its chroma 0.178 and its hue 12°. Its hue sits on the warm side of the wheel. It is the named color Cranberry. White text reads best on it, at 8.35:1.
| Hue family | Reds |
| Lightness | dark (45%) |
| Chroma | vivid (0.178) |
| Temperature | warm |
| Nearest name | Cranberry |
| Black text | 2.51:1 |
| White text | 8.35:1 |
Colors that go with Cranberry
Matches found by rotating Cranberry around the OKLCH hue wheel, each labelled with the closest name in our list.
Complementary
The opposite hue (180°).
Analogous
Neighbouring hues, 30° either side.
Triadic
Three hues spaced 120° apart.
Color palettes with Cranberry
Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Cranberry, closest first.
Similar named colors
The eight named colors closest to Cranberry, with their ΔE distance.
- Purple Red #990147 ΔE 0.024
- Berry #990F4B ΔE 0.027
- Rouge #AB1239 ΔE 0.034
- Red Wine #8C0034 ΔE 0.040
- Mulberry #920A4E ΔE 0.041
- Violet Red #A50055 ΔE 0.043
- Carmine #9D0216 ΔE 0.043
- Raspberry #B00149 ΔE 0.043
More about Cranberry
How to make Cranberry
A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.
- 4 parts red
- 3 parts purple
- 1 part brown
Recipe result: #952E3F, a difference of ΔE 0.045 from Cranberry. That is close; add a little more of one paint to match.
Codes for Cranberry in every format
| HEX | #9E003A |
| RGB | rgb(158, 0, 58) |
| HSL | hsl(338, 100%, 31%) |
| OKLCH | oklch(44.6% 0.178 11.5) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #9E003A | 8.35:1 | AAA | Lc -91.2 | Preferred for body text |
| Black text on #9E003A | 2.51:1 | Fails | Lc 17.6 | Dividers and decoration only |
| #9E003A text on white | 8.35:1 | AAA | Lc 86.4 | Fine for body text |
| #9E003A text on black | 2.51:1 | Fails | Lc -15.7 | Dividers and decoration only |
Shades and tints of Cranberry
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.
-
Step 50
50
#FFF2F3
oklch(97.2% 0.014 12)
-
Step 100
100
#FDE2E5
oklch(93.6% 0.03 10)
-
Step 200
200
#FDCACF
oklch(88.5% 0.058 11.7)
-
Step 300
300
#FCA4AF
oklch(80.9% 0.105 11.5)
-
Step 400
400
#F56E86
oklch(70.7% 0.166 11.4)
-
Step 500
500
#ED3B68
oklch(63.2% 0.213 11.5)
-
Step 600
600
#D40051
oklch(55.5% 0.222 11.4)
-
Step 700
700
#B40043
oklch(49.1% 0.196 11.6)
-
Step 800
800 (this color)
#9E003A
oklch(44.6% 0.178 11.5)
-
Step 900
900
#790F2E
oklch(37.6% 0.138 11.5)
-
Step 950
950
#480D1B
oklch(27.1% 0.088 11.8)
Cranberry with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #3B3B3B | 0.201 |
| Deuteranopia (no green cones) | #605836 | 0.182 |
| Tritanopia (no blue cones) | #AE0020 | 0.049 |
| Achromatopsia (no color) | #4E4E4E | 0.180 |
Use Cranberry in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.