#7B0242

Closest named color: Wine (#80013F). oklch(38% 0.153 357.9), rgb(123, 2, 66).

Aa

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

About this color

#7B0242 is a dark, vivid red. In OKLCH its lightness is 38%, its chroma 0.153 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Wine (#80013F), ΔE 0.013 away. White text reads best on it, at 10.88:1.

Hue familyReds
Lightnessdark (38%)
Chromavivid (0.153)
Temperaturewarm
Nearest nameWine (#80013F)
Black text1.92:1
White text10.88:1

Values

HEX#7B0242
RGBrgb(123, 2, 66)
HSLhsl(328, 97%, 25%)
OKLCHoklch(38% 0.153 357.9)

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 #7B0242 10.88:1 AAA Lc -97.3 Preferred for body text
Black text on #7B0242 1.92:1 Fails Lc 10.8 Not readable
#7B0242 text on white 10.88:1 AAA Lc 93.2 Preferred for body text
#7B0242 text on black 1.92:1 Fails Lc -9.3 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

    #FFF1F5

    oklch(97% 0.016 358)

  2. Step 100

    100

    #FEE1EA

    oklch(93.6% 0.034 357)

  3. Step 200

    200

    #FDC8D9

    oklch(88.4% 0.064 357.4)

  4. Step 300

    300

    #FDA1C0

    oklch(80.9% 0.115 358.2)

  5. Step 400

    400

    #F667A0

    oklch(70.7% 0.183 358)

  6. Step 500

    500

    #EE2A89

    oklch(63.1% 0.235 358)

  7. Step 600

    600

    #CF0073

    oklch(55.5% 0.226 357.8)

  8. Step 700

    700

    #B00060

    oklch(49.2% 0.2 358.2)

  9. Step 800

    800

    #91004F

    oklch(42.7% 0.174 357.7)

  10. Step 900

    900 (this color)

    #7B0242

    oklch(38% 0.153 357.9)

  11. Step 950

    950

    #480826

    oklch(26.9% 0.097 358.1)

Export this scale for Tailwind in the Tailwind colors tool

#7B0242 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)#262F430.176
Deuteranopia (no green cones)#46443F0.154
Tritanopia (no blue cones)#8600240.055
Achromatopsia (no color)#3D3D3D0.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B0242

    #7B0242

    oklch(38% 0.153 357.9)

  • #004E42

    #004E42

    oklch(37.9% 0.07 177.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B0242

    #7B0242

    oklch(38% 0.153 357.9)

  • #6A156A

    #6A156A

    oklch(38% 0.153 328.1)

  • #810307

    #810307

    oklch(38.1% 0.153 27.9)

Open the analogous palette in the generator

Split complementary

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

  • #7B0242

    #7B0242

    oklch(38% 0.153 357.9)

  • #00511C

    #00511C

    oklch(37.9% 0.11 148)

  • #004C54

    #004C54

    oklch(38.1% 0.065 206.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B0242

    #7B0242

    oklch(38% 0.153 357.9)

  • #3F4800

    #3F4800

    oklch(38% 0.088 117.6)

  • #004869

    #004869

    oklch(38.1% 0.083 237.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B0242

    #7B0242

    oklch(38% 0.153 357.9)

  • #543F00

    #543F00

    oklch(38% 0.078 87.2)

  • #004E42

    #004E42

    oklch(37.9% 0.07 177.8)

  • #213692

    #213692

    oklch(37.9% 0.153 268.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7B0242.

Similar named colors

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

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