#7F2A28

Closest named color: Red Brown (#8B2E16). oklch(41.2% 0.118 25.1), rgb(127, 42, 40).

Aa

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

About this color

#7F2A28 is a dark, moderately saturated red. In OKLCH its lightness is 41%, its chroma 0.118 and its hue 25°. Its hue sits on the warm side of the wheel. The nearest named color is Red Brown (#8B2E16), ΔE 0.035 away. White text reads best on it, at 9.27:1.

Hue familyReds
Lightnessdark (41%)
Chromamoderately saturated (0.118)
Temperaturewarm
Nearest nameRed Brown (#8B2E16)
Black text2.26:1
White text9.27:1

Values

HEX#7F2A28
RGBrgb(127, 42, 40)
HSLhsl(1, 52%, 33%)
OKLCHoklch(41.2% 0.118 25.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 #7F2A28 9.27:1 AAA Lc -95.0 Preferred for body text
Black text on #7F2A28 2.26:1 Fails Lc 13.4 Not readable
#7F2A28 text on white 9.27:1 AAA Lc 90.6 Preferred for body text
#7F2A28 text on black 2.26:1 Fails Lc -11.7 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

    #FCF3F2

    oklch(97.1% 0.01 25.1)

  2. Step 100

    100

    #F7E5E3

    oklch(93.6% 0.02 25.2)

  3. Step 200

    200

    #F2D0CC

    oklch(88.5% 0.039 25.8)

  4. Step 300

    300

    #EAB0AA

    oklch(80.9% 0.069 25.4)

  5. Step 400

    400

    #DD847D

    oklch(70.6% 0.111 25.1)

  6. Step 500

    500

    #D1635C

    oklch(63.1% 0.141 25.6)

  7. Step 600

    600

    #BC4643

    oklch(55.5% 0.153 24.9)

  8. Step 700

    700

    #A23734

    oklch(49.1% 0.142 25.4)

  9. Step 800

    800 (this color)

    #7F2A28

    oklch(41.2% 0.118 25.1)

  10. Step 900

    900

    #6A2A27

    oklch(37.6% 0.093 25.2)

  11. Step 950

    950

    #3E1A17

    oklch(27% 0.057 26.4)

Export this scale for Tailwind in the Tailwind colors tool

#7F2A28 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)#413C270.126
Deuteranopia (no green cones)#564E260.116
Tritanopia (no blue cones)#8C162A0.036
Achromatopsia (no color)#4747470.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F2A28

    #7F2A28

    oklch(41.2% 0.118 25.1)

  • #00565D

    #00565D

    oklch(41.3% 0.07 204.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F2A28

    #7F2A28

    oklch(41.2% 0.118 25.1)

  • #79294E

    #79294E

    oklch(41.1% 0.118 354.9)

  • #743900

    #743900

    oklch(41.3% 0.102 55.1)

Open the analogous palette in the generator

Split complementary

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

  • #7F2A28

    #7F2A28

    oklch(41.2% 0.118 25.1)

  • #005849

    #005849

    oklch(41.1% 0.077 175.9)

  • #005273

    #005273

    oklch(41.3% 0.087 234.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F2A28

    #7F2A28

    oklch(41.2% 0.118 25.1)

  • #115B1C

    #115B1C

    oklch(41.3% 0.119 145)

  • #2B468A

    #2B468A

    oklch(41.2% 0.118 265.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F2A28

    #7F2A28

    oklch(41.2% 0.118 25.1)

  • #4A5000

    #4A5000

    oklch(41.2% 0.093 114.6)

  • #00565D

    #00565D

    oklch(41.3% 0.07 204.4)

  • #513A83

    #513A83

    oklch(41.2% 0.118 295.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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