#7F1527

Closest named color: Wine Red (#7B0323). oklch(39.1% 0.139 18.1), rgb(127, 21, 39).

Aa

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

About this color

#7F1527 is a dark, moderately saturated red. In OKLCH its lightness is 39%, its chroma 0.139 and its hue 18°. Its hue sits on the warm side of the wheel. The nearest named color is Wine Red (#7B0323), ΔE 0.021 away. White text reads best on it, at 10.29:1.

Hue familyReds
Lightnessdark (39%)
Chromamoderately saturated (0.139)
Temperaturewarm
Nearest nameWine Red (#7B0323)
Black text2.03:1
White text10.29:1

Values

HEX#7F1527
RGBrgb(127, 21, 39)
HSLhsl(350, 72%, 29%)
OKLCHoklch(39.1% 0.139 18.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 #7F1527 10.29:1 AAA Lc -96.7 Preferred for body text
Black text on #7F1527 2.03:1 Fails Lc 11.5 Not readable
#7F1527 text on white 10.29:1 AAA Lc 92.5 Preferred for body text
#7F1527 text on black 2.03:1 Fails Lc -10.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 900.

  1. Step 50

    50

    #FFF2F2

    oklch(97.1% 0.014 17.4)

  2. Step 100

    100

    #FEE2E2

    oklch(93.6% 0.031 17.7)

  3. Step 200

    200

    #FDCACB

    oklch(88.4% 0.058 17)

  4. Step 300

    300

    #FDA5A7

    oklch(80.9% 0.105 18.1)

  5. Step 400

    400

    #F76F78

    oklch(70.8% 0.167 18.3)

  6. Step 500

    500

    #EE3B56

    oklch(63% 0.213 18)

  7. Step 600

    600

    #D6003E

    oklch(55.5% 0.222 18)

  8. Step 700

    700

    #B60033

    oklch(49.2% 0.197 18.1)

  9. Step 800

    800

    #960028

    oklch(42.7% 0.171 18.3)

  10. Step 900

    900 (this color)

    #7F1527

    oklch(39.1% 0.139 18.1)

  11. Step 950

    950

    #480D15

    oklch(26.9% 0.088 18.1)

Export this scale for Tailwind in the Tailwind colors tool

#7F1527 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)#3532270.155
Deuteranopia (no green cones)#5048240.140
Tritanopia (no blue cones)#8C001D0.029
Achromatopsia (no color)#4040400.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F1527

    #7F1527

    oklch(39.1% 0.139 18.1)

  • #005052

    #005052

    oklch(39.1% 0.067 197.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F1527

    #7F1527

    oklch(39.1% 0.139 18.1)

  • #761952

    #761952

    oklch(39.1% 0.139 348)

  • #712F00

    #712F00

    oklch(39.1% 0.107 48)

Open the analogous palette in the generator

Split complementary

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

  • #7F1527

    #7F1527

    oklch(39.1% 0.139 18.1)

  • #00523D

    #00523D

    oklch(39% 0.079 168.4)

  • #004C65

    #004C65

    oklch(38.9% 0.076 228.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F1527

    #7F1527

    oklch(39.1% 0.139 18.1)

  • #1D5300

    #1D5300

    oklch(39% 0.121 138.2)

  • #06418E

    #06418E

    oklch(39.1% 0.14 258.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F1527

    #7F1527

    oklch(39.1% 0.139 18.1)

  • #4A4800

    #4A4800

    oklch(39.1% 0.084 107.9)

  • #005052

    #005052

    oklch(39.1% 0.067 197.7)

  • #45328A

    #45328A

    oklch(39.1% 0.14 288.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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