#940240
Closest named color: Purple Red (#990147). oklch(42.9% 0.171 6.5), rgb(148, 2, 64).
Aa
White text reads best on this color (8.96:1).
About this color
#940240 is a dark, vivid red. In OKLCH its lightness is 43%, its chroma 0.171 and its hue 7°. Its hue sits on the warm side of the wheel. The nearest named color is Purple Red (#990147), ΔE 0.015 away. White text reads best on it, at 8.96:1.
| Hue family | Reds |
| Lightness | dark (43%) |
| Chroma | vivid (0.171) |
| Temperature | warm |
| Nearest name | Purple Red (#990147) |
| Black text | 2.34:1 |
| White text | 8.96:1 |
Values
| HEX | #940240 |
| RGB | rgb(148, 2, 64) |
| HSL | hsl(335, 97%, 29%) |
| OKLCH | oklch(42.9% 0.171 6.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 #940240 | 8.96:1 | AAA | Lc -92.9 | Preferred for body text |
| Black text on #940240 | 2.34:1 | Fails | Lc 15.7 | Dividers and decoration only |
| #940240 text on white | 8.96:1 | AAA | Lc 88.3 | Fine for body text |
| #940240 text on black | 2.34:1 | Fails | Lc -13.9 | Not readable |
Tints and shades
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
#FEF2F4
oklch(97.1% 0.013 5.8)
-
Step 100
100
#FCE2E7
oklch(93.5% 0.029 4.5)
-
Step 200
200
#FBCBD3
oklch(88.6% 0.055 7)
-
Step 300
300
#F8A6B6
oklch(80.9% 0.099 6.7)
-
Step 400
400
#F17190
oklch(70.8% 0.16 6.9)
-
Step 500
500
#E74175
oklch(63.1% 0.204 6.6)
-
Step 600
600
#D2045E
oklch(55.5% 0.221 6.4)
-
Step 700
700
#B2004E
oklch(49% 0.197 6.6)
-
Step 800
800 (this color)
#940240
oklch(42.9% 0.171 6.5)
-
Step 900
900
#761436
oklch(37.6% 0.133 6.3)
-
Step 950
950
#460F20
oklch(27% 0.084 6.2)
#940240 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) | #353841 | 0.194 |
| Deuteranopia (no green cones) | #58533D | 0.175 |
| Tritanopia (no blue cones) | #A20024 | 0.051 |
| Achromatopsia (no color) | #494949 | 0.172 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #940240
#940240
oklch(42.9% 0.171 6.5)
- #005C56
#005C56
oklch(42.8% 0.075 187.1)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #940240, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purple Red #990147 ΔE 0.015
- Berry #990F4B ΔE 0.021
- Mulberry #920A4E ΔE 0.022
- Cranberry #9E003A ΔE 0.024
- Red Wine #8C0034 ΔE 0.024
- Red Purple #820747 ΔE 0.042
- Dark Fuchsia #9D0759 ΔE 0.043
- Wine #80013F ΔE 0.045
Use #940240 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.