#940C52

Closest named color: Mulberry (#920A4E). oklch(43.8% 0.171 357.7), rgb(148, 12, 82).

Aa

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

About this color

#940C52 is a dark, vivid red. In OKLCH its lightness is 44%, its chroma 0.171 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Mulberry (#920A4E), ΔE 0.008 away. White text reads best on it, at 8.62:1.

Hue familyReds
Lightnessdark (44%)
Chromavivid (0.171)
Temperaturewarm
Nearest nameMulberry (#920A4E)
Black text2.43:1
White text8.62:1

Values

HEX#940C52
RGBrgb(148, 12, 82)
HSLhsl(329, 85%, 31%)
OKLCHoklch(43.8% 0.171 357.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 #940C52 8.62:1 AAA Lc -92.4 Preferred for body text
Black text on #940C52 2.43:1 Fails Lc 16.2 Dividers and decoration only
#940C52 text on white 8.62:1 AAA Lc 87.8 Fine for body text
#940C52 text on black 2.43:1 Fails Lc -14.4 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

    #FEF2F5

    oklch(97.1% 0.013 0.3)

  2. Step 100

    100

    #FBE2EA

    oklch(93.5% 0.029 356.3)

  3. Step 200

    200

    #F9CBD9

    oklch(88.6% 0.055 358.1)

  4. Step 300

    300

    #F6A5C1

    oklch(80.9% 0.101 357.3)

  5. Step 400

    400

    #ED71A1

    oklch(70.8% 0.16 357.6)

  6. Step 500

    500

    #E34289

    oklch(63.1% 0.205 357.9)

  7. Step 600

    600

    #CE0B73

    oklch(55.6% 0.222 357.9)

  8. Step 700

    700

    #AF0061

    oklch(49% 0.2 357.5)

  9. Step 800

    800 (this color)

    #940C52

    oklch(43.8% 0.171 357.7)

  10. Step 900

    900

    #741542

    oklch(37.7% 0.134 357.4)

  11. Step 950

    950

    #440F26

    oklch(26.9% 0.084 357.9)

Export this scale for Tailwind in the Tailwind colors tool

#940C52 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)#323C530.195
Deuteranopia (no green cones)#56544F0.172
Tritanopia (no blue cones)#A100300.059
Achromatopsia (no color)#4C4C4C0.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #940C52

    #940C52

    oklch(43.8% 0.171 357.7)

  • #006052

    #006052

    oklch(43.8% 0.08 178.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #940C52

    #940C52

    oklch(43.8% 0.171 357.7)

  • #802081

    #802081

    oklch(43.9% 0.171 327.6)

  • #9B0D10

    #9B0D10

    oklch(43.9% 0.172 27.7)

Open the analogous palette in the generator

Split complementary

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

  • #940C52

    #940C52

    oklch(43.8% 0.171 357.7)

  • #006423

    #006423

    oklch(43.9% 0.128 147.6)

  • #005D67

    #005D67

    oklch(43.7% 0.075 207.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #940C52

    #940C52

    oklch(43.8% 0.171 357.7)

  • #4E5900

    #4E5900

    oklch(43.9% 0.102 117.7)

  • #005881

    #005881

    oklch(43.7% 0.098 238.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #940C52

    #940C52

    oklch(43.8% 0.171 357.7)

  • #674E00

    #674E00

    oklch(43.8% 0.09 87.3)

  • #006052

    #006052

    oklch(43.8% 0.08 178.2)

  • #2A45AF

    #2A45AF

    oklch(43.9% 0.172 267.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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