#7F1B59

Closest named color: Red Purple (#820747). oklch(41.1% 0.148 347.7), rgb(127, 27, 89).

Aa

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

About this color

#7F1B59 is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.148 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.032 away. White text reads best on it, at 9.53:1.

Hue familyReds
Lightnessdark (41%)
Chromavivid (0.148)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.20:1
White text9.53:1

Values

HEX#7F1B59
RGBrgb(127, 27, 89)
HSLhsl(323, 65%, 30%)
OKLCHoklch(41.1% 0.148 347.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 #7F1B59 9.53:1 AAA Lc -95.3 Preferred for body text
Black text on #7F1B59 2.20:1 Fails Lc 13.1 Not readable
#7F1B59 text on white 9.53:1 AAA Lc 90.9 Preferred for body text
#7F1B59 text on black 2.20:1 Fails Lc -11.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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F7E3ED

    oklch(93.5% 0.025 345.8)

  3. Step 200

    200

    #F2CDDF

    oklch(88.5% 0.048 347.2)

  4. Step 300

    300

    #EBAACB

    oklch(80.9% 0.087 347.4)

  5. Step 400

    400

    #DE7BB0

    oklch(70.8% 0.137 347.8)

  6. Step 500

    500

    #D2549D

    oklch(63.1% 0.177 347.5)

  7. Step 600

    600

    #BD3387

    oklch(55.6% 0.192 347.8)

  8. Step 700

    700

    #A32473

    oklch(49.2% 0.178 347.7)

  9. Step 800

    800 (this color)

    #7F1B59

    oklch(41.1% 0.148 347.7)

  10. Step 900

    900

    #6A214C

    oklch(37.5% 0.115 347.7)

  11. Step 950

    950

    #3F152D

    oklch(27.1% 0.073 347.7)

Export this scale for Tailwind in the Tailwind colors tool

#7F1B59 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)#2A3A5B0.165
Deuteranopia (no green cones)#484C570.145
Tritanopia (no blue cones)#8817380.058
Achromatopsia (no color)#4545450.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F1B59

    #7F1B59

    oklch(41.1% 0.148 347.7)

  • #005942

    #005942

    oklch(41.2% 0.084 167.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F1B59

    #7F1B59

    oklch(41.1% 0.148 347.7)

  • #6A287E

    #6A287E

    oklch(41.2% 0.148 317.4)

  • #89162B

    #89162B

    oklch(41.2% 0.148 17.7)

Open the analogous palette in the generator

Split complementary

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

  • #7F1B59

    #7F1B59

    oklch(41.1% 0.148 347.7)

  • #225900

    #225900

    oklch(41% 0.126 137.6)

  • #005658

    #005658

    oklch(41.1% 0.07 197.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F1B59

    #7F1B59

    oklch(41.1% 0.148 347.7)

  • #504E00

    #504E00

    oklch(41.2% 0.089 108)

  • #00536D

    #00536D

    oklch(41.3% 0.08 227.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F1B59

    #7F1B59

    oklch(41.1% 0.148 347.7)

  • #644400

    #644400

    oklch(41.2% 0.086 78.2)

  • #005942

    #005942

    oklch(41.2% 0.084 167.9)

  • #034698

    #034698

    oklch(41% 0.147 257.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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