#7F1B3B

Closest named color: Wine (#80013F). oklch(40% 0.135 7.1), rgb(127, 27, 59).

Aa

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

About this color

#7F1B3B is a dark, moderately saturated red. In OKLCH its lightness is 40%, its chroma 0.135 and its hue 7°. Its hue sits on the warm side of the wheel. The nearest named color is Wine (#80013F), ΔE 0.028 away. White text reads best on it, at 9.89:1.

Hue familyReds
Lightnessdark (40%)
Chromamoderately saturated (0.135)
Temperaturewarm
Nearest nameWine (#80013F)
Black text2.12:1
White text9.89:1

Values

HEX#7F1B3B
RGBrgb(127, 27, 59)
HSLhsl(341, 65%, 30%)
OKLCHoklch(40% 0.135 7.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 #7F1B3B 9.89:1 AAA Lc -96.0 Preferred for body text
Black text on #7F1B3B 2.12:1 Fails Lc 12.2 Not readable
#7F1B3B text on white 9.89:1 AAA Lc 91.8 Preferred for body text
#7F1B3B text on black 2.12:1 Fails Lc -10.6 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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FDE2E6

    oklch(93.6% 0.03 7.5)

  3. Step 200

    200

    #FBCAD3

    oklch(88.4% 0.057 6)

  4. Step 300

    300

    #F9A5B5

    oklch(80.8% 0.101 7.1)

  5. Step 400

    400

    #F26F8F

    oklch(70.6% 0.163 6.9)

  6. Step 500

    500

    #E93F74

    oklch(63.2% 0.208 7)

  7. Step 600

    600

    #D3005C

    oklch(55.6% 0.223 7.2)

  8. Step 700

    700

    #B3004D

    oklch(49.2% 0.197 7.2)

  9. Step 800

    800

    #94003F

    oklch(42.8% 0.171 6.9)

  10. Step 900

    900 (this color)

    #7F1B3B

    oklch(40% 0.135 7.1)

  11. Step 950

    950

    #460E1F

    oklch(26.9% 0.085 6.9)

Export this scale for Tailwind in the Tailwind colors tool

#7F1B3B 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)#34363C0.153
Deuteranopia (no green cones)#4F4A390.137
Tritanopia (no blue cones)#8B00290.035
Achromatopsia (no color)#4343430.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F1B3B

    #7F1B3B

    oklch(40% 0.135 7.1)

  • #00544E

    #00544E

    oklch(40.1% 0.07 186.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F1B3B

    #7F1B3B

    oklch(40% 0.135 7.1)

  • #722262

    #722262

    oklch(40% 0.136 336.8)

  • #802200

    #802200

    oklch(40% 0.134 37)

Open the analogous palette in the generator

Split complementary

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

  • #7F1B3B

    #7F1B3B

    oklch(40% 0.135 7.1)

  • #005732

    #005732

    oklch(40.2% 0.096 156.7)

  • #005161

    #005161

    oklch(40.1% 0.072 217)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F1B3B

    #7F1B3B

    oklch(40% 0.135 7.1)

  • #385100

    #385100

    oklch(39.9% 0.103 127.2)

  • #004B7D

    #004B7D

    oklch(40.1% 0.105 246.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F1B3B

    #7F1B3B

    oklch(40% 0.135 7.1)

  • #544700

    #544700

    oklch(39.9% 0.082 97.2)

  • #00544E

    #00544E

    oklch(40.1% 0.07 186.5)

  • #383B8F

    #383B8F

    oklch(40.1% 0.136 276.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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