#7A1257

Closest named color: Velvet (#750851). oklch(39.5% 0.152 346.1), rgb(122, 18, 87).

Aa

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

About this color

#7A1257 is a dark, vivid red. In OKLCH its lightness is 39%, its chroma 0.152 and its hue 346°. Its hue sits on the warm side of the wheel. The nearest named color is Velvet (#750851), ΔE 0.018 away. White text reads best on it, at 10.23:1.

Hue familyReds
Lightnessdark (39%)
Chromavivid (0.152)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text2.05:1
White text10.23:1

Values

HEX#7A1257
RGBrgb(122, 18, 87)
HSLhsl(320, 74%, 27%)
OKLCHoklch(39.5% 0.152 346.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 #7A1257 10.23:1 AAA Lc -96.6 Preferred for body text
Black text on #7A1257 2.05:1 Fails Lc 11.6 Not readable
#7A1257 text on white 10.23:1 AAA Lc 92.3 Preferred for body text
#7A1257 text on black 2.05:1 Fails Lc -10.1 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

    #FEF2F8

    oklch(97.2% 0.015 345.5)

  2. Step 100

    100

    #FBE2EE

    oklch(93.6% 0.031 347.1)

  3. Step 200

    200

    #F9C9E2

    oklch(88.5% 0.063 345.8)

  4. Step 300

    300

    #F6A2D0

    oklch(80.8% 0.114 346)

  5. Step 400

    400

    #ED6AB8

    oklch(70.6% 0.182 346)

  6. Step 500

    500

    #E334A6

    oklch(63% 0.233 346.1)

  7. Step 600

    600

    #C9008F

    oklch(55.6% 0.235 346.2)

  8. Step 700

    700

    #AA0079

    oklch(49.1% 0.208 345.9)

  9. Step 800

    800

    #8D0063

    oklch(42.8% 0.181 346.3)

  10. Step 900

    900 (this color)

    #7A1257

    oklch(39.5% 0.152 346.1)

  11. Step 950

    950

    #450B30

    oklch(27.1% 0.096 346.4)

Export this scale for Tailwind in the Tailwind colors tool

#7A1257 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)#2336590.171
Deuteranopia (no green cones)#4247550.148
Tritanopia (no blue cones)#830E340.063
Achromatopsia (no color)#4141410.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A1257

    #7A1257

    oklch(39.5% 0.152 346.1)

  • #00543C

    #00543C

    oklch(39.5% 0.082 165.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A1257

    #7A1257

    oklch(39.5% 0.152 346.1)

  • #65217B

    #65217B

    oklch(39.5% 0.152 316.6)

  • #850929

    #850929

    oklch(39.6% 0.152 16.1)

Open the analogous palette in the generator

Split complementary

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

  • #7A1257

    #7A1257

    oklch(39.5% 0.152 346.1)

  • #255300

    #255300

    oklch(39.4% 0.117 136)

  • #005152

    #005152

    oklch(39.4% 0.067 196.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A1257

    #7A1257

    oklch(39.5% 0.152 346.1)

  • #4D4900

    #4D4900

    oklch(39.7% 0.085 106.1)

  • #004E65

    #004E65

    oklch(39.5% 0.075 225.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A1257

    #7A1257

    oklch(39.5% 0.152 346.1)

  • #5F3F00

    #5F3F00

    oklch(39.4% 0.083 76.4)

  • #00543C

    #00543C

    oklch(39.5% 0.082 165.9)

  • #00448C

    #00448C

    oklch(39.5% 0.134 255.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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