#7F0C52

Closest named color: Red Purple (#820747). oklch(39.9% 0.157 350.6), rgb(127, 12, 82).

Aa

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

About this color

#7F0C52 is a dark, vivid red. In OKLCH its lightness is 40%, its chroma 0.157 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 10.11:1.

Hue familyReds
Lightnessdark (40%)
Chromavivid (0.157)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.07:1
White text10.11:1

Values

HEX#7F0C52
RGBrgb(127, 12, 82)
HSLhsl(323, 83%, 27%)
OKLCHoklch(39.9% 0.157 350.6)

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 #7F0C52 10.11:1 AAA Lc -96.1 Preferred for body text
Black text on #7F0C52 2.07:1 Fails Lc 12.1 Not readable
#7F0C52 text on white 10.11:1 AAA Lc 91.8 Preferred for body text
#7F0C52 text on black 2.07:1 Fails Lc -10.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 900.

  1. Step 50

    50

    #FEF1F7

    oklch(97% 0.016 347.6)

  2. Step 100

    100

    #FDE1ED

    oklch(93.6% 0.034 350)

  3. Step 200

    200

    #FCC8DF

    oklch(88.5% 0.066 350.2)

  4. Step 300

    300

    #FAA1CA

    oklch(80.9% 0.116 350.9)

  5. Step 400

    400

    #F366B0

    oklch(70.7% 0.189 350.4)

  6. Step 500

    500

    #EA299C

    oklch(63.1% 0.241 350.6)

  7. Step 600

    600

    #CC0084

    oklch(55.6% 0.231 350.8)

  8. Step 700

    700

    #AC006F

    oklch(49% 0.204 350.6)

  9. Step 800

    800

    #8F005B

    oklch(42.8% 0.178 350.9)

  10. Step 900

    900 (this color)

    #7F0C52

    oklch(39.9% 0.157 350.6)

  11. Step 950

    950

    #47082D

    oklch(27.1% 0.1 350.3)

Export this scale for Tailwind in the Tailwind colors tool

#7F0C52 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)#2535540.179
Deuteranopia (no green cones)#4649500.156
Tritanopia (no blue cones)#8900300.060
Achromatopsia (no color)#4242420.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F0C52

    #7F0C52

    oklch(39.9% 0.157 350.6)

  • #005541

    #005541

    oklch(40% 0.079 170)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F0C52

    #7F0C52

    oklch(39.9% 0.157 350.6)

  • #6A1E79

    #6A1E79

    oklch(39.8% 0.156 320.5)

  • #88051F

    #88051F

    oklch(39.9% 0.157 20.8)

Open the analogous palette in the generator

Split complementary

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

  • #7F0C52

    #7F0C52

    oklch(39.9% 0.157 350.6)

  • #125700

    #125700

    oklch(39.9% 0.13 140.6)

  • #005256

    #005256

    oklch(39.9% 0.068 200.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F0C52

    #7F0C52

    oklch(39.9% 0.157 350.6)

  • #4A4B00

    #4A4B00

    oklch(39.9% 0.087 110.6)

  • #004E6A

    #004E6A

    oklch(39.8% 0.08 231)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F0C52

    #7F0C52

    oklch(39.9% 0.157 350.6)

  • #5E4100

    #5E4100

    oklch(39.8% 0.082 79.9)

  • #005541

    #005541

    oklch(40% 0.079 170)

  • #08409A

    #08409A

    oklch(40% 0.157 260.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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