#7A1F4C

Closest named color: Red Purple (#820747). oklch(40.1% 0.132 354.6), rgb(122, 31, 76).

Aa

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

About this color

#7A1F4C is a dark, moderately saturated red. In OKLCH its lightness is 40%, its chroma 0.132 and its hue 355°. 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.86:1.

Hue familyReds
Lightnessdark (40%)
Chromamoderately saturated (0.132)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.12:1
White text9.86:1

Values

HEX#7A1F4C
RGBrgb(122, 31, 76)
HSLhsl(330, 59%, 30%)
OKLCHoklch(40.1% 0.132 354.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 #7A1F4C 9.86:1 AAA Lc -96.2 Preferred for body text
Black text on #7A1F4C 2.12:1 Fails Lc 12.1 Not readable
#7A1F4C text on white 9.86:1 AAA Lc 91.9 Preferred for body text
#7A1F4C text on black 2.12:1 Fails Lc -10.5 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

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #FBE2EB

    oklch(93.6% 0.03 353.9)

  3. Step 200

    200

    #F8CBDB

    oklch(88.5% 0.055 354.9)

  4. Step 300

    300

    #F4A6C4

    oklch(80.9% 0.099 354.8)

  5. Step 400

    400

    #EA72A6

    oklch(70.7% 0.158 354.6)

  6. Step 500

    500

    #E04591

    oklch(63.2% 0.202 354.4)

  7. Step 600

    600

    #CB147B

    oklch(55.6% 0.22 354.4)

  8. Step 700

    700

    #AE0067

    oklch(49.1% 0.202 354.6)

  9. Step 800

    800

    #8E0A54

    oklch(42.7% 0.169 354.7)

  10. Step 900

    900 (this color)

    #7A1F4C

    oklch(40.1% 0.132 354.6)

  11. Step 950

    950

    #431029

    oklch(26.9% 0.083 354)

Export this scale for Tailwind in the Tailwind colors tool

#7A1F4C 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)#30394D0.147
Deuteranopia (no green cones)#49494A0.131
Tritanopia (no blue cones)#8416320.045
Achromatopsia (no color)#4343430.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A1F4C

    #7A1F4C

    oklch(40.1% 0.132 354.6)

  • #005545

    #005545

    oklch(40.1% 0.076 174.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A1F4C

    #7A1F4C

    oklch(40.1% 0.132 354.6)

  • #69286F

    #69286F

    oklch(40.1% 0.132 324.2)

  • #801F21

    #801F21

    oklch(40% 0.132 24.5)

Open the analogous palette in the generator

Split complementary

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

  • #7A1F4C

    #7A1F4C

    oklch(40.1% 0.132 354.6)

  • #005811

    #005811

    oklch(40% 0.127 144.6)

  • #005259

    #005259

    oklch(40% 0.068 204.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A1F4C

    #7A1F4C

    oklch(40.1% 0.132 354.6)

  • #474D00

    #474D00

    oklch(40.1% 0.091 114.8)

  • #004E6E

    #004E6E

    oklch(40% 0.084 234.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A1F4C

    #7A1F4C

    oklch(40.1% 0.132 354.6)

  • #5C4300

    #5C4300

    oklch(39.9% 0.082 84.4)

  • #005545

    #005545

    oklch(40.1% 0.076 174.3)

  • #23428E

    #23428E

    oklch(40.2% 0.132 264.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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