#940142

Closest named color: Purple Red (#990147). oklch(42.9% 0.172 5.4), rgb(148, 1, 66).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (43%)
Chromavivid (0.172)
Temperaturewarm
Nearest namePurple Red (#990147)
Black text2.34:1
White text8.96:1

Values

HEX#940142
RGBrgb(148, 1, 66)
HSLhsl(333, 99%, 29%)
OKLCHoklch(42.9% 0.172 5.4)

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 #940142 8.96:1 AAA Lc -92.9 Preferred for body text
Black text on #940142 2.34:1 Fails Lc 15.7 Dividers and decoration only
#940142 text on white 8.96:1 AAA Lc 88.3 Fine for body text
#940142 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.

  1. Step 50

    50

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FCE2E7

    oklch(93.5% 0.029 4.5)

  3. Step 200

    200

    #FBCBD4

    oklch(88.6% 0.055 5.7)

  4. Step 300

    300

    #F8A5B7

    oklch(80.8% 0.1 5.4)

  5. Step 400

    400

    #F07092

    oklch(70.6% 0.16 5.4)

  6. Step 500

    500

    #E74178

    oklch(63.1% 0.205 5.4)

  7. Step 600

    600

    #D20161

    oklch(55.6% 0.223 5.2)

  8. Step 700

    700

    #B20051

    oklch(49.1% 0.197 5.2)

  9. Step 800

    800 (this color)

    #940142

    oklch(42.9% 0.172 5.4)

  10. Step 900

    900

    #761437

    oklch(37.6% 0.133 5.6)

  11. Step 950

    950

    #460F20

    oklch(27% 0.084 6.2)

Export this scale for Tailwind in the Tailwind colors tool

#940142 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)#3438430.195
Deuteranopia (no green cones)#58533F0.175
Tritanopia (no blue cones)#A200250.053
Achromatopsia (no color)#4949490.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #940142

    #940142

    oklch(42.9% 0.172 5.4)

  • #005D55

    #005D55

    oklch(43% 0.076 184.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #940142

    #940142

    oklch(42.9% 0.172 5.4)

  • #831773

    #831773

    oklch(42.9% 0.171 335.3)

  • #8F2200

    #8F2200

    oklch(42.9% 0.149 35.3)

Open the analogous palette in the generator

Split complementary

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

  • #940142

    #940142

    oklch(42.9% 0.172 5.4)

  • #006035

    #006035

    oklch(43% 0.106 155.3)

  • #00596A

    #00596A

    oklch(42.8% 0.076 216.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #940142

    #940142

    oklch(42.9% 0.172 5.4)

  • #415900

    #415900

    oklch(42.8% 0.109 125.6)

  • #005387

    #005387

    oklch(42.8% 0.11 245.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #940142

    #940142

    oklch(42.9% 0.172 5.4)

  • #5E4E00

    #5E4E00

    oklch(42.8% 0.088 95.4)

  • #005D55

    #005D55

    oklch(43% 0.076 184.7)

  • #3A3DAB

    #3A3DAB

    oklch(42.9% 0.172 275.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #940142 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.