#7F212F

Closest named color: Wine Red (#7B0323). oklch(40.3% 0.128 16.8), rgb(127, 33, 47).

Aa

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

About this color

#7F212F is a dark, moderately saturated red. In OKLCH its lightness is 40%, its chroma 0.128 and its hue 17°. Its hue sits on the warm side of the wheel. The nearest named color is Wine Red (#7B0323), ΔE 0.037 away. White text reads best on it, at 9.71:1.

Hue familyReds
Lightnessdark (40%)
Chromamoderately saturated (0.128)
Temperaturewarm
Nearest nameWine Red (#7B0323)
Black text2.16:1
White text9.71:1

Values

HEX#7F212F
RGBrgb(127, 33, 47)
HSLhsl(351, 59%, 31%)
OKLCHoklch(40.3% 0.128 16.8)

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 #7F212F 9.71:1 AAA Lc -95.8 Preferred for body text
Black text on #7F212F 2.16:1 Fails Lc 12.5 Not readable
#7F212F text on white 9.71:1 AAA Lc 91.5 Preferred for body text
#7F212F text on black 2.16:1 Fails Lc -10.9 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 800.

  1. Step 50

    50

    #FCF3F3

    oklch(97.1% 0.01 17.3)

  2. Step 100

    100

    #F8E4E5

    oklch(93.5% 0.022 14.1)

  3. Step 200

    200

    #F4CFCF

    oklch(88.6% 0.042 18)

  4. Step 300

    300

    #EDAEB0

    oklch(81% 0.074 16.7)

  5. Step 400

    400

    #E18086

    oklch(70.7% 0.12 16.6)

  6. Step 500

    500

    #D55C68

    oklch(63% 0.153 16.6)

  7. Step 600

    600

    #C13E50

    oklch(55.6% 0.166 16.5)

  8. Step 700

    700

    #A62F40

    oklch(49.1% 0.154 17)

  9. Step 800

    800 (this color)

    #7F212F

    oklch(40.3% 0.128 16.8)

  10. Step 900

    900

    #6D272E

    oklch(37.8% 0.1 17.3)

  11. Step 950

    950

    #40181B

    oklch(27.1% 0.062 17.6)

Export this scale for Tailwind in the Tailwind colors tool

#7F212F 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)#3A382F0.141
Deuteranopia (no green cones)#524B2C0.129
Tritanopia (no blue cones)#8C06270.033
Achromatopsia (no color)#4444440.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F212F

    #7F212F

    oklch(40.3% 0.128 16.8)

  • #005455

    #005455

    oklch(40.4% 0.069 196.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F212F

    #7F212F

    oklch(40.3% 0.128 16.8)

  • #762456

    #762456

    oklch(40.4% 0.127 346.7)

  • #773000

    #773000

    oklch(40.3% 0.112 46.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F212F

    #7F212F

    oklch(40.3% 0.128 16.8)

  • #00563F

    #00563F

    oklch(40.2% 0.082 167.3)

  • #005069

    #005069

    oklch(40.2% 0.078 227.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F212F

    #7F212F

    oklch(40.3% 0.128 16.8)

  • #245600

    #245600

    oklch(40.2% 0.121 136.7)

  • #0F468B

    #0F468B

    oklch(40.2% 0.128 256.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F212F

    #7F212F

    oklch(40.3% 0.128 16.8)

  • #4E4B00

    #4E4B00

    oklch(40.3% 0.086 107.1)

  • #005455

    #005455

    oklch(40.4% 0.069 196.2)

  • #463989

    #463989

    oklch(40.4% 0.128 286.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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