#8A1247

Closest named color: Mulberry (#920A4E). oklch(41.8% 0.156 1.3), rgb(138, 18, 71).

Aa

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

About this color

#8A1247 is a dark, vivid red. In OKLCH its lightness is 42%, its chroma 0.156 and its hue 1°. Its hue sits on the warm side of the wheel. The nearest named color is Mulberry (#920A4E), ΔE 0.020 away. White text reads best on it, at 9.29:1.

Hue familyReds
Lightnessdark (42%)
Chromavivid (0.156)
Temperaturewarm
Nearest nameMulberry (#920A4E)
Black text2.25:1
White text9.29:1

Values

HEX#8A1247
RGBrgb(138, 18, 71)
HSLhsl(334, 77%, 31%)
OKLCHoklch(41.8% 0.156 1.3)

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 #8A1247 9.29:1 AAA Lc -94.3 Preferred for body text
Black text on #8A1247 2.25:1 Fails Lc 14.1 Not readable
#8A1247 text on white 9.29:1 AAA Lc 89.9 Fine for body text
#8A1247 text on black 2.25:1 Fails Lc -12.4 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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #FAE3E9

    oklch(93.6% 0.026 359.9)

  3. Step 200

    200

    #F7CCD7

    oklch(88.5% 0.05 1.1)

  4. Step 300

    300

    #F3A8BD

    oklch(80.9% 0.092 1)

  5. Step 400

    400

    #E9769B

    oklch(70.8% 0.147 1.1)

  6. Step 500

    500

    #DE4C82

    oklch(63.1% 0.187 1.3)

  7. Step 600

    600

    #C9256C

    oklch(55.6% 0.203 1.1)

  8. Step 700

    700

    #AE135A

    oklch(49.2% 0.189 1.3)

  9. Step 800

    800 (this color)

    #8A1247

    oklch(41.8% 0.156 1.3)

  10. Step 900

    900

    #711C3D

    oklch(37.6% 0.121 1.4)

  11. Step 950

    950

    #431224

    oklch(27% 0.078 1.1)

Export this scale for Tailwind in the Tailwind colors tool

#8A1247 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)#3238480.178
Deuteranopia (no green cones)#524F440.159
Tritanopia (no blue cones)#97002B0.049
Achromatopsia (no color)#4747470.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A1247

    #8A1247

    oklch(41.8% 0.156 1.3)

  • #005A4F

    #005A4F

    oklch(41.9% 0.076 180.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A1247

    #8A1247

    oklch(41.8% 0.156 1.3)

  • #791F72

    #791F72

    oklch(41.8% 0.157 331.4)

  • #8E1705

    #8E1705

    oklch(41.8% 0.156 31.5)

Open the analogous palette in the generator

Split complementary

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

  • #8A1247

    #8A1247

    oklch(41.8% 0.156 1.3)

  • #005D2B

    #005D2B

    oklch(41.9% 0.112 151.4)

  • #005763

    #005763

    oklch(41.9% 0.073 210.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A1247

    #8A1247

    oklch(41.8% 0.156 1.3)

  • #445400

    #445400

    oklch(41.7% 0.101 121.5)

  • #00527D

    #00527D

    oklch(41.9% 0.098 241.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A1247

    #8A1247

    oklch(41.8% 0.156 1.3)

  • #5E4A00

    #5E4A00

    oklch(41.8% 0.085 90.9)

  • #005A4F

    #005A4F

    oklch(41.9% 0.076 180.8)

  • #313FA0

    #313FA0

    oklch(41.8% 0.157 271.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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