#871228

Closest named color: Red Wine (#8C0034). oklch(40.4% 0.149 18.2), rgb(135, 18, 40).

Aa

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

About this color

#871228 is a dark, vivid red. In OKLCH its lightness is 40%, its chroma 0.149 and its hue 18°. Its hue sits on the warm side of the wheel. The nearest named color is Red Wine (#8C0034), ΔE 0.025 away. White text reads best on it, at 9.77:1.

Hue familyReds
Lightnessdark (40%)
Chromavivid (0.149)
Temperaturewarm
Nearest nameRed Wine (#8C0034)
Black text2.14:1
White text9.77:1

Values

HEX#871228
RGBrgb(135, 18, 40)
HSLhsl(349, 76%, 30%)
OKLCHoklch(40.4% 0.149 18.2)

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 #871228 9.77:1 AAA Lc -95.4 Preferred for body text
Black text on #871228 2.14:1 Fails Lc 12.9 Not readable
#871228 text on white 9.77:1 AAA Lc 91.0 Preferred for body text
#871228 text on black 2.14:1 Fails Lc -11.3 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

    #FDF2F2

    oklch(97% 0.012 17.4)

  2. Step 100

    100

    #FAE4E3

    oklch(93.6% 0.024 20.7)

  3. Step 200

    200

    #F8CDCD

    oklch(88.5% 0.049 18.1)

  4. Step 300

    300

    #F4AAAB

    oklch(80.9% 0.088 18.3)

  5. Step 400

    400

    #EA797F

    oklch(70.6% 0.14 18)

  6. Step 500

    500

    #E0515F

    oklch(63.1% 0.178 18.1)

  7. Step 600

    600

    #CC2C45

    oklch(55.6% 0.194 18.4)

  8. Step 700

    700

    #B01C37

    oklch(49.2% 0.18 18.3)

  9. Step 800

    800 (this color)

    #871228

    oklch(40.4% 0.149 18.2)

  10. Step 900

    900

    #731F29

    oklch(37.8% 0.117 18.2)

  11. Step 950

    950

    #441418

    oklch(27.1% 0.074 18.7)

Export this scale for Tailwind in the Tailwind colors tool

#871228 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)#3834280.165
Deuteranopia (no green cones)#544C240.151
Tritanopia (no blue cones)#95001C0.031
Achromatopsia (no color)#4444440.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #871228

    #871228

    oklch(40.4% 0.149 18.2)

  • #005456

    #005456

    oklch(40.5% 0.069 197.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #871228

    #871228

    oklch(40.4% 0.149 18.2)

  • #7D1756

    #7D1756

    oklch(40.3% 0.149 348.3)

  • #763200

    #763200

    oklch(40.5% 0.109 48.4)

Open the analogous palette in the generator

Split complementary

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

  • #871228

    #871228

    oklch(40.4% 0.149 18.2)

  • #005740

    #005740

    oklch(40.6% 0.083 167.5)

  • #00506A

    #00506A

    oklch(40.3% 0.079 228.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #871228

    #871228

    oklch(40.4% 0.149 18.2)

  • #1F5700

    #1F5700

    oklch(40.3% 0.125 138.2)

  • #024497

    #024497

    oklch(40.5% 0.149 258.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #871228

    #871228

    oklch(40.4% 0.149 18.2)

  • #4E4C00

    #4E4C00

    oklch(40.5% 0.087 108)

  • #005456

    #005456

    oklch(40.5% 0.069 197.6)

  • #493393

    #493393

    oklch(40.4% 0.15 288.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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