#7E1758

Closest named color: Velvet (#750851). oklch(40.6% 0.151 347.5), rgb(126, 23, 88).

Aa

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

About this color

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

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

Values

HEX#7E1758
RGBrgb(126, 23, 88)
HSLhsl(322, 69%, 29%)
OKLCHoklch(40.6% 0.151 347.5)

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 #7E1758 9.76:1 AAA Lc -95.7 Preferred for body text
Black text on #7E1758 2.15:1 Fails Lc 12.6 Not readable
#7E1758 text on white 9.76:1 AAA Lc 91.3 Preferred for body text
#7E1758 text on black 2.15:1 Fails Lc -11.0 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

    #F3CDDF

    oklch(88.6% 0.049 347.9)

  4. Step 300

    300

    #ECAACB

    oklch(81% 0.088 347.8)

  5. Step 400

    400

    #DF7AB1

    oklch(70.8% 0.14 347.4)

  6. Step 500

    500

    #D3539D

    oklch(63.1% 0.179 347.7)

  7. Step 600

    600

    #BE3188

    oklch(55.6% 0.195 347.5)

  8. Step 700

    700

    #A32173

    oklch(49% 0.181 347.5)

  9. Step 800

    800 (this color)

    #7E1758

    oklch(40.6% 0.151 347.5)

  10. Step 900

    900

    #6B204D

    oklch(37.6% 0.118 347.3)

  11. Step 950

    950

    #3F142D

    oklch(26.9% 0.075 347.3)

Export this scale for Tailwind in the Tailwind colors tool

#7E1758 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)#28395A0.168
Deuteranopia (no green cones)#464A560.147
Tritanopia (no blue cones)#8712360.060
Achromatopsia (no color)#4444440.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E1758

    #7E1758

    oklch(40.6% 0.151 347.5)

  • #005740

    #005740

    oklch(40.6% 0.083 167.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E1758

    #7E1758

    oklch(40.6% 0.151 347.5)

  • #69257D

    #69257D

    oklch(40.6% 0.151 317.6)

  • #881129

    #881129

    oklch(40.6% 0.151 17.7)

Open the analogous palette in the generator

Split complementary

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

  • #7E1758

    #7E1758

    oklch(40.6% 0.151 347.5)

  • #225800

    #225800

    oklch(40.7% 0.125 137.5)

  • #005456

    #005456

    oklch(40.5% 0.069 197.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E1758

    #7E1758

    oklch(40.6% 0.151 347.5)

  • #4F4C00

    #4F4C00

    oklch(40.6% 0.087 107.1)

  • #00516A

    #00516A

    oklch(40.6% 0.078 227.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E1758

    #7E1758

    oklch(40.6% 0.151 347.5)

  • #624200

    #624200

    oklch(40.5% 0.085 77.5)

  • #005740

    #005740

    oklch(40.6% 0.083 167.5)

  • #004596

    #004596

    oklch(40.6% 0.146 257.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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