#7F1552

Closest named color: Red Purple (#820747). oklch(40.4% 0.15 351.3), rgb(127, 21, 82).

Aa

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

About this color

#7F1552 is a dark, vivid red. In OKLCH its lightness is 40%, its chroma 0.150 and its hue 351°. Its hue sits on the warm side of the wheel. The nearest named color is Red Purple (#820747), ΔE 0.020 away. White text reads best on it, at 9.85:1.

Hue familyReds
Lightnessdark (40%)
Chromavivid (0.150)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.13:1
White text9.85:1

Values

HEX#7F1552
RGBrgb(127, 21, 82)
HSLhsl(325, 72%, 29%)
OKLCHoklch(40.4% 0.15 351.3)

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 #7F1552 9.85:1 AAA Lc -95.8 Preferred for body text
Black text on #7F1552 2.13:1 Fails Lc 12.5 Not readable
#7F1552 text on white 9.85:1 AAA Lc 91.5 Preferred for body text
#7F1552 text on black 2.13:1 Fails Lc -10.9 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

    #F8E3EC

    oklch(93.5% 0.026 349.8)

  3. Step 200

    200

    #F4CDDD

    oklch(88.6% 0.048 351.5)

  4. Step 300

    300

    #EDAAC7

    oklch(80.9% 0.087 351.5)

  5. Step 400

    400

    #E179AB

    oklch(70.7% 0.141 351.1)

  6. Step 500

    500

    #D55296

    oklch(63.1% 0.179 351.2)

  7. Step 600

    600

    #C12F80

    oklch(55.6% 0.195 351.6)

  8. Step 700

    700

    #A6206D

    oklch(49.2% 0.181 351.2)

  9. Step 800

    800 (this color)

    #7F1552

    oklch(40.4% 0.15 351.3)

  10. Step 900

    900

    #6C2049

    oklch(37.6% 0.117 350.9)

  11. Step 950

    950

    #40142B

    oklch(27% 0.075 350.8)

Export this scale for Tailwind in the Tailwind colors tool

#7F1552 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)#2A37540.169
Deuteranopia (no green cones)#484A500.149
Tritanopia (no blue cones)#8909320.056
Achromatopsia (no color)#4343430.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F1552

    #7F1552

    oklch(40.4% 0.15 351.3)

  • #005643

    #005643

    oklch(40.3% 0.079 171.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F1552

    #7F1552

    oklch(40.4% 0.15 351.3)

  • #6B2378

    #6B2378

    oklch(40.4% 0.149 321.2)

  • #871222

    #871222

    oklch(40.3% 0.149 21.2)

Open the analogous palette in the generator

Split complementary

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

  • #7F1552

    #7F1552

    oklch(40.4% 0.15 351.3)

  • #0D5900

    #0D5900

    oklch(40.4% 0.134 141.3)

  • #005358

    #005358

    oklch(40.3% 0.068 201.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F1552

    #7F1552

    oklch(40.4% 0.15 351.3)

  • #4B4D00

    #4B4D00

    oklch(40.5% 0.089 111.5)

  • #00506D

    #00506D

    oklch(40.5% 0.082 231.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F1552

    #7F1552

    oklch(40.4% 0.15 351.3)

  • #5F4300

    #5F4300

    oklch(40.3% 0.083 81.5)

  • #005643

    #005643

    oklch(40.3% 0.079 171.2)

  • #134298

    #134298

    oklch(40.5% 0.15 261.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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