#7F155A

Closest named color: Velvet (#750851). oklch(40.7% 0.154 346.6), rgb(127, 21, 90).

Aa

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

About this color

#7F155A is a dark, vivid red. In OKLCH its lightness is 41%, its chroma 0.154 and its hue 347°. Its hue sits on the warm side of the wheel. The nearest named color is Velvet (#750851), ΔE 0.030 away. White text reads best on it, at 9.73:1.

Hue familyReds
Lightnessdark (41%)
Chromavivid (0.154)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.15:1
White text9.73:1

Values

HEX#7F155A
RGBrgb(127, 21, 90)
HSLhsl(321, 72%, 29%)
OKLCHoklch(40.7% 0.154 346.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 #7F155A 9.73:1 AAA Lc -95.5 Preferred for body text
Black text on #7F155A 2.15:1 Fails Lc 12.8 Not readable
#7F155A text on white 9.73:1 AAA Lc 91.2 Preferred for body text
#7F155A text on black 2.15:1 Fails Lc -11.2 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

    #F8E3ED

    oklch(93.6% 0.026 347.1)

  3. Step 200

    200

    #F3CCE0

    oklch(88.4% 0.051 345.9)

  4. Step 300

    300

    #ECA9CC

    oklch(80.8% 0.09 346.7)

  5. Step 400

    400

    #E079B3

    oklch(70.8% 0.144 346.5)

  6. Step 500

    500

    #D451A0

    oklch(63.2% 0.185 346.5)

  7. Step 600

    600

    #BF2E8A

    oklch(55.6% 0.2 346.8)

  8. Step 700

    700

    #A41E75

    oklch(49.1% 0.186 346.7)

  9. Step 800

    800 (this color)

    #7F155A

    oklch(40.7% 0.154 346.6)

  10. Step 900

    900

    #6C1F4E

    oklch(37.7% 0.121 346.9)

  11. Step 950

    950

    #3F142E

    oklch(27% 0.076 346.1)

Export this scale for Tailwind in the Tailwind colors tool

#7F155A 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)#26395C0.173
Deuteranopia (no green cones)#464A580.149
Tritanopia (no blue cones)#8811360.064
Achromatopsia (no color)#4444440.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F155A

    #7F155A

    oklch(40.7% 0.154 346.6)

  • #005840

    #005840

    oklch(40.8% 0.084 166.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F155A

    #7F155A

    oklch(40.7% 0.154 346.6)

  • #692480

    #692480

    oklch(40.7% 0.155 316.4)

  • #8A0D2A

    #8A0D2A

    oklch(40.8% 0.155 16.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F155A

    #7F155A

    oklch(40.7% 0.154 346.6)

  • #255700

    #255700

    oklch(40.6% 0.122 136.6)

  • #005556

    #005556

    oklch(40.7% 0.069 196.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F155A

    #7F155A

    oklch(40.7% 0.154 346.6)

  • #504C00

    #504C00

    oklch(40.7% 0.087 106.2)

  • #00526A

    #00526A

    oklch(40.8% 0.078 225.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F155A

    #7F155A

    oklch(40.7% 0.154 346.6)

  • #634200

    #634200

    oklch(40.6% 0.085 76.6)

  • #005840

    #005840

    oklch(40.8% 0.084 166.8)

  • #004694

    #004694

    oklch(40.7% 0.142 256.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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