#942158

Closest named color: Berry (#990F4B). oklch(45.3% 0.157 356.6), rgb(148, 33, 88).

Aa

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

About this color

#942158 is a medium-dark, vivid red. In OKLCH its lightness is 45%, its chroma 0.157 and its hue 357°. Its hue sits on the warm side of the wheel. The nearest named color is Berry (#990F4B), ΔE 0.024 away. White text reads best on it, at 8.02:1.

Hue familyReds
Lightnessmedium-dark (45%)
Chromavivid (0.157)
Temperaturewarm
Nearest nameBerry (#990F4B)
Black text2.61:1
White text8.02:1

Values

HEX#942158
RGBrgb(148, 33, 88)
HSLhsl(331, 64%, 35%)
OKLCHoklch(45.3% 0.157 356.6)

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 #942158 8.02:1 AAA Lc -91.3 Preferred for body text
Black text on #942158 2.61:1 Fails Lc 17.5 Dividers and decoration only
#942158 text on white 8.02:1 AAA Lc 86.6 Fine for body text
#942158 text on black 2.61:1 Fails Lc -15.5 Dividers and decoration only

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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #FAE3EA

    oklch(93.6% 0.027 357.2)

  3. Step 200

    200

    #F6CCDA

    oklch(88.5% 0.051 356.2)

  4. Step 300

    300

    #F1A8C2

    oklch(80.9% 0.092 356.3)

  5. Step 400

    400

    #E776A3

    oklch(70.7% 0.148 356.4)

  6. Step 500

    500

    #DC4C8C

    oklch(63.1% 0.188 356.5)

  7. Step 600

    600

    #C72676

    oklch(55.6% 0.204 356.5)

  8. Step 700

    700

    #AB1463

    oklch(49% 0.189 356.4)

  9. Step 800

    800 (this color)

    #942158

    oklch(45.3% 0.157 356.6)

  10. Step 900

    900

    #701C43

    oklch(37.7% 0.123 356.4)

  11. Step 950

    950

    #421227

    oklch(26.9% 0.078 356.6)

Export this scale for Tailwind in the Tailwind colors tool

#942158 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)#3943590.177
Deuteranopia (no green cones)#5958550.158
Tritanopia (no blue cones)#A010390.052
Achromatopsia (no color)#5050500.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #942158

    #942158

    oklch(45.3% 0.157 356.6)

  • #006555

    #006555

    oklch(45.3% 0.084 176.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #942158

    #942158

    oklch(45.3% 0.157 356.6)

  • #802D83

    #802D83

    oklch(45.3% 0.157 326.4)

  • #9B2221

    #9B2221

    oklch(45.4% 0.157 26.5)

Open the analogous palette in the generator

Split complementary

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

  • #942158

    #942158

    oklch(45.3% 0.157 356.6)

  • #006921

    #006921

    oklch(45.3% 0.136 146.6)

  • #00626C

    #00626C

    oklch(45.3% 0.078 206.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #942158

    #942158

    oklch(45.3% 0.157 356.6)

  • #535D00

    #535D00

    oklch(45.4% 0.104 116.8)

  • #005D85

    #005D85

    oklch(45.3% 0.098 236.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #942158

    #942158

    oklch(45.3% 0.157 356.6)

  • #6D5200

    #6D5200

    oklch(45.4% 0.093 86.5)

  • #006555

    #006555

    oklch(45.3% 0.084 176.8)

  • #2E4DAC

    #2E4DAC

    oklch(45.4% 0.156 266.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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