#7F2146

Closest named color: Red Purple (#820747). oklch(41% 0.132 1), rgb(127, 33, 70).

Aa

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

About this color

#7F2146 is a dark, moderately saturated red. In OKLCH its lightness is 41%, its chroma 0.132 and its hue 1°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.029 away. White text reads best on it, at 9.50:1.

Hue familyReds
Lightnessdark (41%)
Chromamoderately saturated (0.132)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.20:1
White text9.50:1

Values

HEX#7F2146
RGBrgb(127, 33, 70)
HSLhsl(336, 59%, 31%)
OKLCHoklch(41% 0.132 1)

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 #7F2146 9.50:1 AAA Lc -95.4 Preferred for body text
Black text on #7F2146 2.20:1 Fails Lc 13.0 Not readable
#7F2146 text on white 9.50:1 AAA Lc 91.0 Preferred for body text
#7F2146 text on black 2.20: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

    #FCF3F5

    oklch(97.2% 0.01 2)

  2. Step 100

    100

    #F8E4E9

    oklch(93.6% 0.023 0.5)

  3. Step 200

    200

    #F3CED7

    oklch(88.5% 0.043 1.6)

  4. Step 300

    300

    #EBACBE

    oklch(80.8% 0.077 0.2)

  5. Step 400

    400

    #DF7E9C

    oklch(70.7% 0.124 0.9)

  6. Step 500

    500

    #D35A84

    oklch(63.2% 0.158 0.9)

  7. Step 600

    600

    #BE3B6D

    oklch(55.6% 0.172 1.1)

  8. Step 700

    700

    #A32C5B

    oklch(49% 0.159 1)

  9. Step 800

    800 (this color)

    #7F2146

    oklch(41% 0.132 1)

  10. Step 900

    900

    #6B253E

    oklch(37.7% 0.103 1.2)

  11. Step 950

    950

    #3F1724

    oklch(27% 0.064 2)

Export this scale for Tailwind in the Tailwind colors tool

#7F2146 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)#353A470.148
Deuteranopia (no green cones)#4E4C440.133
Tritanopia (no blue cones)#8A13300.039
Achromatopsia (no color)#4646460.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2146

    #7F2146

    oklch(41% 0.132 1)

  • #00574C

    #00574C

    oklch(40.9% 0.074 180.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2146

    #7F2146

    oklch(41% 0.132 1)

  • #70286A

    #70286A

    oklch(40.9% 0.132 331.1)

  • #832417

    #832417

    oklch(41% 0.132 31)

Open the analogous palette in the generator

Split complementary

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

  • #7F2146

    #7F2146

    oklch(41% 0.132 1)

  • #005A28

    #005A28

    oklch(40.9% 0.111 150.8)

  • #005460

    #005460

    oklch(40.9% 0.071 211.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2146

    #7F2146

    oklch(41% 0.132 1)

  • #435200

    #435200

    oklch(41.1% 0.099 121)

  • #004F79

    #004F79

    oklch(40.9% 0.096 241.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2146

    #7F2146

    oklch(41% 0.132 1)

  • #5B4800

    #5B4800

    oklch(41% 0.084 91.5)

  • #00574C

    #00574C

    oklch(40.9% 0.074 180.4)

  • #314190

    #314190

    oklch(40.9% 0.131 270.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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