#7F124F

Closest named color: Red Purple (#820747). oklch(40.1% 0.151 352.8), rgb(127, 18, 79).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (40%)
Chromavivid (0.151)
Temperaturewarm
Nearest nameRed Purple (#820747)
Black text2.10:1
White text9.99:1

Values

HEX#7F124F
RGBrgb(127, 18, 79)
HSLhsl(326, 75%, 28%)
OKLCHoklch(40.1% 0.151 352.8)

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 #7F124F 9.99:1 AAA Lc -96.0 Preferred for body text
Black text on #7F124F 2.10:1 Fails Lc 12.2 Not readable
#7F124F text on white 9.99:1 AAA Lc 91.7 Preferred for body text
#7F124F text on black 2.10:1 Fails Lc -10.7 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

    #FEF1F6

    oklch(97% 0.015 352)

  2. Step 100

    100

    #FDE1EC

    oklch(93.6% 0.034 352)

  3. Step 200

    200

    #FCC9DD

    oklch(88.6% 0.063 353)

  4. Step 300

    300

    #FAA2C7

    oklch(81% 0.113 353.1)

  5. Step 400

    400

    #F269AB

    oklch(70.7% 0.181 352.7)

  6. Step 500

    500

    #E93196

    oklch(63.2% 0.232 352.8)

  7. Step 600

    600

    #CD007F

    oklch(55.6% 0.23 352.9)

  8. Step 700

    700

    #AD006B

    oklch(49% 0.203 352.6)

  9. Step 800

    800

    #8F0057

    oklch(42.6% 0.176 352.9)

  10. Step 900

    900 (this color)

    #7F124F

    oklch(40.1% 0.151 352.8)

  11. Step 950

    950

    #460A2B

    oklch(26.9% 0.095 352.1)

Export this scale for Tailwind in the Tailwind colors tool

#7F124F 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)#2A36500.170
Deuteranopia (no green cones)#48494D0.150
Tritanopia (no blue cones)#89022F0.055
Achromatopsia (no color)#4242420.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F124F

    #7F124F

    oklch(40.1% 0.151 352.8)

  • #005544

    #005544

    oklch(40.1% 0.077 173.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F124F

    #7F124F

    oklch(40.1% 0.151 352.8)

  • #6C2076

    #6C2076

    oklch(40.1% 0.152 322.8)

  • #870F1D

    #870F1D

    oklch(40.1% 0.151 22.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F124F

    #7F124F

    oklch(40.1% 0.151 352.8)

  • #005803

    #005803

    oklch(39.9% 0.134 142.8)

  • #005258

    #005258

    oklch(40% 0.068 203.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F124F

    #7F124F

    oklch(40.1% 0.151 352.8)

  • #494C00

    #494C00

    oklch(40% 0.089 112.4)

  • #004F6D

    #004F6D

    oklch(40.2% 0.083 232.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F124F

    #7F124F

    oklch(40.1% 0.151 352.8)

  • #5D4300

    #5D4300

    oklch(40.1% 0.082 83.4)

  • #005544

    #005544

    oklch(40.1% 0.077 173.2)

  • #174098

    #174098

    oklch(40.1% 0.152 262.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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