#7F1C5C

Closest named color: Red Purple (#820747). oklch(41.4% 0.148 346), rgb(127, 28, 92).

Aa

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

About this color

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

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

Values

HEX#7F1C5C
RGBrgb(127, 28, 92)
HSLhsl(321, 64%, 30%)
OKLCHoklch(41.4% 0.148 346)

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 #7F1C5C 9.44:1 AAA Lc -95.1 Preferred for body text
Black text on #7F1C5C 2.22:1 Fails Lc 13.3 Not readable
#7F1C5C text on white 9.44:1 AAA Lc 90.7 Preferred for body text
#7F1C5C text on black 2.22:1 Fails Lc -11.6 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

    #F7E4ED

    oklch(93.7% 0.024 347.2)

  3. Step 200

    200

    #F2CDE0

    oklch(88.5% 0.048 345.8)

  4. Step 300

    300

    #EAAACC

    oklch(80.8% 0.086 346.1)

  5. Step 400

    400

    #DD7BB3

    oklch(70.8% 0.138 345.9)

  6. Step 500

    500

    #D154A0

    oklch(63.1% 0.178 345.9)

  7. Step 600

    600

    #BC338B

    oklch(55.6% 0.193 345.8)

  8. Step 700

    700

    #A22476

    oklch(49.2% 0.179 346)

  9. Step 800

    800 (this color)

    #7F1C5C

    oklch(41.4% 0.148 346)

  10. Step 900

    900

    #6A224E

    oklch(37.7% 0.115 346.3)

  11. Step 950

    950

    #3E152E

    oklch(27% 0.073 345.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F1C5C 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)#293B5E0.166
Deuteranopia (no green cones)#474C5A0.145
Tritanopia (no blue cones)#8819390.062
Achromatopsia (no color)#4646460.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F1C5C

    #7F1C5C

    oklch(41.4% 0.148 346)

  • #005A40

    #005A40

    oklch(41.4% 0.087 165.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F1C5C

    #7F1C5C

    oklch(41.4% 0.148 346)

  • #692980

    #692980

    oklch(41.3% 0.148 315.9)

  • #8A162F

    #8A162F

    oklch(41.4% 0.149 15.7)

Open the analogous palette in the generator

Split complementary

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

  • #7F1C5C

    #7F1C5C

    oklch(41.4% 0.148 346)

  • #285900

    #285900

    oklch(41.3% 0.123 136)

  • #005758

    #005758

    oklch(41.4% 0.071 196.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F1C5C

    #7F1C5C

    oklch(41.4% 0.148 346)

  • #524E00

    #524E00

    oklch(41.4% 0.089 106.3)

  • #00546C

    #00546C

    oklch(41.5% 0.079 225.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F1C5C

    #7F1C5C

    oklch(41.4% 0.148 346)

  • #664400

    #664400

    oklch(41.5% 0.087 76.5)

  • #005A40

    #005A40

    oklch(41.4% 0.087 165.5)

  • #004995

    #004995

    oklch(41.4% 0.14 255.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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