#940D47

Closest named color: Purple Red (#990147). oklch(43.5% 0.167 3.7), rgb(148, 13, 71).

Aa

White text reads best on this color (8.72:1).

About this color

#940D47 is a dark, vivid red. In OKLCH its lightness is 43%, its chroma 0.167 and its hue 4°. Its hue sits on the warm side of the wheel. The nearest named color is Purple Red (#990147), ΔE 0.011 away. White text reads best on it, at 8.72:1.

Hue familyReds
Lightnessdark (43%)
Chromavivid (0.167)
Temperaturewarm
Nearest namePurple Red (#990147)
Black text2.40:1
White text8.72:1

Values

HEX#940D47
RGBrgb(148, 13, 71)
HSLhsl(334, 84%, 32%)
OKLCHoklch(43.5% 0.167 3.7)

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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #940D47 8.72:1 AAA Lc -92.7 Preferred for body text
Black text on #940D47 2.40:1 Fails Lc 16.0 Dividers and decoration only
#940D47 text on white 8.72:1 AAA Lc 88.0 Fine for body text
#940D47 text on black 2.40:1 Fails Lc -14.1 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.

  1. Step 50

    50

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FCE2E8

    oklch(93.6% 0.03 2)

  3. Step 200

    200

    #FACBD5

    oklch(88.6% 0.055 4)

  4. Step 300

    300

    #F7A6BA

    oklch(80.9% 0.098 3.4)

  5. Step 400

    400

    #EE7296

    oklch(70.7% 0.156 3.6)

  6. Step 500

    500

    #E4447C

    oklch(63% 0.2 3.7)

  7. Step 600

    600

    #CF1165

    oklch(55.5% 0.217 3.7)

  8. Step 700

    700

    #B20054

    oklch(49.2% 0.198 3.9)

  9. Step 800

    800 (this color)

    #940D47

    oklch(43.5% 0.167 3.7)

  10. Step 900

    900

    #75163A

    oklch(37.7% 0.131 3.6)

  11. Step 950

    950

    #451022

    oklch(27% 0.082 3.8)

Export this scale for Tailwind in the Tailwind colors tool

#940D47 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#363B480.190
Deuteranopia (no green cones)#5854440.170
Tritanopia (no blue cones)#A2002A0.051
Achromatopsia (no color)#4B4B4B0.169

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #940D47

    #940D47

    oklch(43.5% 0.167 3.7)

  • #005F56

    #005F56

    oklch(43.6% 0.077 183.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #940D47

    #940D47

    oklch(43.5% 0.167 3.7)

  • #831D76

    #831D76

    oklch(43.5% 0.168 333.9)

  • #941E00

    #941E00

    oklch(43.5% 0.157 33.7)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #940D47

    #940D47

    oklch(43.5% 0.167 3.7)

  • #006233

    #006233

    oklch(43.5% 0.11 153.7)

  • #005C6A

    #005C6A

    oklch(43.6% 0.076 212.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #940D47

    #940D47

    oklch(43.5% 0.167 3.7)

  • #455A00

    #455A00

    oklch(43.4% 0.108 123.8)

  • #005687

    #005687

    oklch(43.6% 0.107 243.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #940D47

    #940D47

    oklch(43.5% 0.167 3.7)

  • #624F00

    #624F00

    oklch(43.4% 0.089 92.8)

  • #005F56

    #005F56

    oklch(43.6% 0.077 183.7)

  • #3841AB

    #3841AB

    oklch(43.5% 0.167 273.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #940D47, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #940D47 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.