#7C1158

Closest named color: Velvet (#750851). oklch(39.8% 0.155 346.2), rgb(124, 17, 88).

Aa

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

About this color

#7C1158 is a dark, vivid red. In OKLCH its lightness is 40%, its chroma 0.155 and its hue 346°. 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.10:1.

Hue familyReds
Lightnessdark (40%)
Chromavivid (0.155)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.07:1
White text10.10:1

Values

HEX#7C1158
RGBrgb(124, 17, 88)
HSLhsl(320, 76%, 28%)
OKLCHoklch(39.8% 0.155 346.2)

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 #7C1158 10.10:1 AAA Lc -96.2 Preferred for body text
Black text on #7C1158 2.07:1 Fails Lc 12.0 Not readable
#7C1158 text on white 10.10:1 AAA Lc 92.0 Preferred for body text
#7C1158 text on black 2.07:1 Fails Lc -10.4 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

    #FEF1F8

    oklch(97% 0.017 343.6)

  2. Step 100

    100

    #FCE1EE

    oklch(93.5% 0.034 347.1)

  3. Step 200

    200

    #FAC9E2

    oklch(88.6% 0.064 346.4)

  4. Step 300

    300

    #F7A2D0

    oklch(80.9% 0.115 346.3)

  5. Step 400

    400

    #EF69B8

    oklch(70.8% 0.186 346.5)

  6. Step 500

    500

    #E530A6

    oklch(63.1% 0.238 346.4)

  7. Step 600

    600

    #C9008F

    oklch(55.6% 0.235 346.2)

  8. Step 700

    700

    #AA0078

    oklch(49% 0.207 346.3)

  9. Step 800

    800

    #8D0063

    oklch(42.8% 0.181 346.3)

  10. Step 900

    900 (this color)

    #7C1158

    oklch(39.8% 0.155 346.2)

  11. Step 950

    950

    #450A30

    oklch(27% 0.098 346.3)

Export this scale for Tailwind in the Tailwind colors tool

#7C1158 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)#23365A0.174
Deuteranopia (no green cones)#4348560.151
Tritanopia (no blue cones)#850C340.064
Achromatopsia (no color)#4242420.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C1158

    #7C1158

    oklch(39.8% 0.155 346.2)

  • #00553D

    #00553D

    oklch(39.9% 0.083 166.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C1158

    #7C1158

    oklch(39.8% 0.155 346.2)

  • #66217D

    #66217D

    oklch(39.8% 0.155 316.3)

  • #870729

    #870729

    oklch(39.9% 0.155 16.2)

Open the analogous palette in the generator

Split complementary

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

  • #7C1158

    #7C1158

    oklch(39.8% 0.155 346.2)

  • #255500

    #255500

    oklch(40% 0.12 136.3)

  • #005253

    #005253

    oklch(39.8% 0.068 196.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C1158

    #7C1158

    oklch(39.8% 0.155 346.2)

  • #4D4A00

    #4D4A00

    oklch(39.9% 0.086 107)

  • #004F67

    #004F67

    oklch(39.9% 0.077 226.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C1158

    #7C1158

    oklch(39.8% 0.155 346.2)

  • #604000

    #604000

    oklch(39.8% 0.083 76.8)

  • #00553D

    #00553D

    oklch(39.9% 0.083 166.1)

  • #00448F

    #00448F

    oklch(39.8% 0.138 256.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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