#7E0C54

Closest named color: Velvet (#750851). oklch(39.8% 0.157 349.1), rgb(126, 12, 84).

Aa

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

About this color

#7E0C54 is a dark, vivid red. In OKLCH its lightness is 40%, its chroma 0.157 and its hue 349°. Its hue sits on the warm side of the wheel. The nearest named color is Velvet (#750851), ΔE 0.021 away. White text reads best on it, at 10.15:1.

Hue familyReds
Lightnessdark (40%)
Chromavivid (0.157)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.06:1
White text10.15:1

Values

HEX#7E0C54
RGBrgb(126, 12, 84)
HSLhsl(322, 83%, 27%)
OKLCHoklch(39.8% 0.157 349.1)

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 #7E0C54 10.15:1 AAA Lc -96.2 Preferred for body text
Black text on #7E0C54 2.06:1 Fails Lc 12.0 Not readable
#7E0C54 text on white 10.15:1 AAA Lc 91.9 Preferred for body text
#7E0C54 text on black 2.06: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

    #FEF1F7

    oklch(97% 0.016 347.6)

  2. Step 100

    100

    #FDE1ED

    oklch(93.6% 0.034 350)

  3. Step 200

    200

    #FCC8E0

    oklch(88.5% 0.066 349.1)

  4. Step 300

    300

    #FAA1CD

    oklch(81% 0.118 349)

  5. Step 400

    400

    #F267B3

    oklch(70.7% 0.188 349)

  6. Step 500

    500

    #E92AA0

    oklch(63.1% 0.242 349.1)

  7. Step 600

    600

    #CB0088

    oklch(55.6% 0.233 349.1)

  8. Step 700

    700

    #AC0073

    oklch(49.2% 0.206 349)

  9. Step 800

    800

    #8E005E

    oklch(42.7% 0.179 349.1)

  10. Step 900

    900 (this color)

    #7E0C54

    oklch(39.8% 0.157 349.1)

  11. Step 950

    950

    #46082E

    oklch(26.9% 0.1 348.6)

Export this scale for Tailwind in the Tailwind colors tool

#7E0C54 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)#2435560.178
Deuteranopia (no green cones)#4548520.154
Tritanopia (no blue cones)#8800310.062
Achromatopsia (no color)#4141410.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E0C54

    #7E0C54

    oklch(39.8% 0.157 349.1)

  • #005440

    #005440

    oklch(39.7% 0.079 169.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E0C54

    #7E0C54

    oklch(39.8% 0.157 349.1)

  • #691E7B

    #691E7B

    oklch(39.8% 0.158 319)

  • #880322

    #880322

    oklch(39.8% 0.158 19.2)

Open the analogous palette in the generator

Split complementary

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

  • #7E0C54

    #7E0C54

    oklch(39.8% 0.157 349.1)

  • #1A5600

    #1A5600

    oklch(39.8% 0.126 139.2)

  • #005255

    #005255

    oklch(39.8% 0.068 199.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E0C54

    #7E0C54

    oklch(39.8% 0.157 349.1)

  • #4B4A00

    #4B4A00

    oklch(39.7% 0.086 108.9)

  • #004E68

    #004E68

    oklch(39.6% 0.078 229)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E0C54

    #7E0C54

    oklch(39.8% 0.157 349.1)

  • #5E4100

    #5E4100

    oklch(39.8% 0.082 79.9)

  • #005440

    #005440

    oklch(39.7% 0.079 169.8)

  • #004198

    #004198

    oklch(39.9% 0.154 259)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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