#8C2F4F

Closest named color: Berry (#990F4B). oklch(45.1% 0.129 2.6), rgb(140, 47, 79).

Aa

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

About this color

#8C2F4F is a medium-dark, moderately saturated red. In OKLCH its lightness is 45%, its chroma 0.129 and its hue 3°. Its hue sits on the warm side of the wheel. The nearest named color is Berry (#990F4B), ΔE 0.042 away. White text reads best on it, at 7.97:1.

Hue familyReds
Lightnessmedium-dark (45%)
Chromamoderately saturated (0.129)
Temperaturewarm
Nearest nameBerry (#990F4B)
Black text2.63:1
White text7.97:1

Values

HEX#8C2F4F
RGBrgb(140, 47, 79)
HSLhsl(339, 50%, 37%)
OKLCHoklch(45.1% 0.129 2.6)

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 #8C2F4F 7.97:1 AAA Lc -91.6 Preferred for body text
Black text on #8C2F4F 2.63:1 Fails Lc 17.2 Dividers and decoration only
#8C2F4F text on white 7.97:1 AAA Lc 86.9 Fine for body text
#8C2F4F text on black 2.63:1 Fails Lc -15.2 Dividers and decoration only

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

    #FCF3F5

    oklch(97.2% 0.01 2)

  2. Step 100

    100

    #F7E4E8

    oklch(93.5% 0.021 3.1)

  3. Step 200

    200

    #F2CED6

    oklch(88.4% 0.042 3)

  4. Step 300

    300

    #EBADBC

    oklch(80.9% 0.075 2.9)

  5. Step 400

    400

    #DE7F9A

    oklch(70.7% 0.121 2.4)

  6. Step 500

    500

    #D25B81

    oklch(63.1% 0.154 2.6)

  7. Step 600

    600

    #BD3D6A

    oklch(55.5% 0.167 2.8)

  8. Step 700

    700

    #A32E59

    oklch(49.2% 0.156 2.5)

  9. Step 800

    800 (this color)

    #8C2F4F

    oklch(45.1% 0.129 2.6)

  10. Step 900

    900

    #6B263D

    oklch(37.8% 0.101 2.5)

  11. Step 950

    950

    #3F1724

    oklch(27% 0.064 2)

Export this scale for Tailwind in the Tailwind colors tool

#8C2F4F 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)#4245500.143
Deuteranopia (no green cones)#5A574D0.130
Tritanopia (no blue cones)#98243C0.036
Achromatopsia (no color)#5151510.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C2F4F

    #8C2F4F

    oklch(45.1% 0.129 2.6)

  • #006459

    #006459

    oklch(45.2% 0.081 182)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C2F4F

    #8C2F4F

    oklch(45.1% 0.129 2.6)

  • #7D3574

    #7D3574

    oklch(45% 0.129 332.5)

  • #8F3321

    #8F3321

    oklch(45.1% 0.129 33)

Open the analogous palette in the generator

Split complementary

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

  • #8C2F4F

    #8C2F4F

    oklch(45.1% 0.129 2.6)

  • #006733

    #006733

    oklch(45% 0.117 152.5)

  • #00616F

    #00616F

    oklch(45.2% 0.079 211.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C2F4F

    #8C2F4F

    oklch(45.1% 0.129 2.6)

  • #4B5E00

    #4B5E00

    oklch(45% 0.109 122.3)

  • #005B8C

    #005B8C

    oklch(45.2% 0.108 242.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C2F4F

    #8C2F4F

    oklch(45.1% 0.129 2.6)

  • #675300

    #675300

    oklch(45% 0.092 92.7)

  • #006459

    #006459

    oklch(45.2% 0.081 182)

  • #3F4D9C

    #3F4D9C

    oklch(45.2% 0.129 272.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8C2F4F 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.