#7D1F51

Closest named color: Red Purple (#820747). oklch(40.8% 0.137 352.4), rgb(125, 31, 81).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (41%)
Chromamoderately saturated (0.137)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.18:1
White text9.60:1

Values

HEX#7D1F51
RGBrgb(125, 31, 81)
HSLhsl(328, 60%, 31%)
OKLCHoklch(40.8% 0.137 352.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 #7D1F51 9.60:1 AAA Lc -95.6 Preferred for body text
Black text on #7D1F51 2.18:1 Fails Lc 12.8 Not readable
#7D1F51 text on white 9.60:1 AAA Lc 91.2 Preferred for body text
#7D1F51 text on black 2.18:1 Fails Lc -11.1 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

    #FCF3F6

    oklch(97.2% 0.01 354.9)

  2. Step 100

    100

    #F7E4EB

    oklch(93.6% 0.023 353.2)

  3. Step 200

    200

    #F2CEDC

    oklch(88.6% 0.044 352.6)

  4. Step 300

    300

    #EAACC6

    oklch(81% 0.08 352.1)

  5. Step 400

    400

    #DD7DA8

    oklch(70.7% 0.128 352.6)

  6. Step 500

    500

    #D15893

    oklch(63.1% 0.165 352.5)

  7. Step 600

    600

    #BC397D

    oklch(55.6% 0.179 352.6)

  8. Step 700

    700

    #A12A6A

    oklch(49% 0.166 352.1)

  9. Step 800

    800 (this color)

    #7D1F51

    oklch(40.8% 0.137 352.4)

  10. Step 900

    900

    #6A2447

    oklch(37.7% 0.107 352.5)

  11. Step 950

    950

    #3E162A

    oklch(26.9% 0.068 351.4)

Export this scale for Tailwind in the Tailwind colors tool

#7D1F51 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)#2F3A520.154
Deuteranopia (no green cones)#4A4B4F0.136
Tritanopia (no blue cones)#8717350.049
Achromatopsia (no color)#4545450.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #7D1F51

    #7D1F51

    oklch(40.8% 0.137 352.4)

  • #005745

    #005745

    oklch(40.7% 0.079 172.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7D1F51

    #7D1F51

    oklch(40.8% 0.137 352.4)

  • #6B2974

    #6B2974

    oklch(40.8% 0.137 322.7)

  • #841E25

    #841E25

    oklch(40.8% 0.137 22.3)

Open the analogous palette in the generator

Split complementary

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

  • #7D1F51

    #7D1F51

    oklch(40.8% 0.137 352.4)

  • #045B02

    #045B02

    oklch(40.9% 0.137 142.4)

  • #00555A

    #00555A

    oklch(40.9% 0.07 201.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7D1F51

    #7D1F51

    oklch(40.8% 0.137 352.4)

  • #4B4E00

    #4B4E00

    oklch(40.7% 0.09 112.3)

  • #00516F

    #00516F

    oklch(40.8% 0.083 231.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7D1F51

    #7D1F51

    oklch(40.8% 0.137 352.4)

  • #604500

    #604500

    oklch(40.9% 0.084 83.1)

  • #005745

    #005745

    oklch(40.7% 0.079 172.5)

  • #1E4493

    #1E4493

    oklch(40.8% 0.138 262.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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