#7F1B56

Closest named color: Red Purple (#820747). oklch(41% 0.146 349.5), rgb(127, 27, 86).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (41%)
Chromavivid (0.146)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.19:1
White text9.57:1

Values

HEX#7F1B56
RGBrgb(127, 27, 86)
HSLhsl(325, 65%, 30%)
OKLCHoklch(41% 0.146 349.5)

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 #7F1B56 9.57:1 AAA Lc -95.4 Preferred for body text
Black text on #7F1B56 2.19:1 Fails Lc 13.0 Not readable
#7F1B56 text on white 9.57:1 AAA Lc 91.0 Preferred for body text
#7F1B56 text on black 2.19:1 Fails Lc -11.3 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

    #FCF2F6

    oklch(97% 0.012 351)

  2. Step 100

    100

    #F8E4EC

    oklch(93.7% 0.024 351.3)

  3. Step 200

    200

    #F3CDDE

    oklch(88.5% 0.048 349.4)

  4. Step 300

    300

    #EBAAC9

    oklch(80.8% 0.086 349)

  5. Step 400

    400

    #DF7BAD

    oklch(70.8% 0.136 349.8)

  6. Step 500

    500

    #D25499

    oklch(63% 0.175 349.3)

  7. Step 600

    600

    #BE3484

    oklch(55.7% 0.19 349.5)

  8. Step 700

    700

    #A3246F

    oklch(49.1% 0.176 349.6)

  9. Step 800

    800 (this color)

    #7F1B56

    oklch(41% 0.146 349.5)

  10. Step 900

    900

    #6B224A

    oklch(37.7% 0.113 350)

  11. Step 950

    950

    #3F152C

    oklch(27% 0.072 349)

Export this scale for Tailwind in the Tailwind colors tool

#7F1B56 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)#2C3A580.163
Deuteranopia (no green cones)#494B540.143
Tritanopia (no blue cones)#8915360.056
Achromatopsia (no color)#4545450.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F1B56

    #7F1B56

    oklch(41% 0.146 349.5)

  • #005843

    #005843

    oklch(40.9% 0.081 169.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F1B56

    #7F1B56

    oklch(41% 0.146 349.5)

  • #6B277B

    #6B277B

    oklch(41% 0.147 319.4)

  • #881828

    #881828

    oklch(41.1% 0.146 19.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F1B56

    #7F1B56

    oklch(41% 0.146 349.5)

  • #1A5A00

    #1A5A00

    oklch(41.1% 0.131 139.5)

  • #005659

    #005659

    oklch(41.2% 0.07 198.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F1B56

    #7F1B56

    oklch(41% 0.146 349.5)

  • #4E4E00

    #4E4E00

    oklch(41% 0.089 109.8)

  • #00526E

    #00526E

    oklch(41.1% 0.082 229.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F1B56

    #7F1B56

    oklch(41% 0.146 349.5)

  • #634400

    #634400

    oklch(41.1% 0.085 79.1)

  • #005843

    #005843

    oklch(40.9% 0.081 169.6)

  • #0F4598

    #0F4598

    oklch(41% 0.147 259.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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