#8F1227

Closest named color: Red Wine (#8C0034). oklch(42% 0.157 19.8), rgb(143, 18, 39).

Aa

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

About this color

#8F1227 is a dark, vivid red. In OKLCH its lightness is 42%, its chroma 0.157 and its hue 20°. Its hue sits on the warm side of the wheel. The nearest named color is Red Wine (#8C0034), ΔE 0.028 away. White text reads best on it, at 9.19:1.

Hue familyReds
Lightnessdark (42%)
Chromavivid (0.157)
Temperaturewarm
Nearest nameRed Wine (#8C0034)
Black text2.28:1
White text9.19:1

Values

HEX#8F1227
RGBrgb(143, 18, 39)
HSLhsl(350, 78%, 32%)
OKLCHoklch(42% 0.157 19.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 #8F1227 9.19:1 AAA Lc -94.0 Preferred for body text
Black text on #8F1227 2.28:1 Fails Lc 14.5 Not readable
#8F1227 text on white 9.19:1 AAA Lc 89.5 Fine for body text
#8F1227 text on black 2.28:1 Fails Lc -12.8 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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FBE3E3

    oklch(93.5% 0.026 17.6)

  3. Step 200

    200

    #F9CCCB

    oklch(88.4% 0.051 19.7)

  4. Step 300

    300

    #F6A9A8

    oklch(80.9% 0.091 20.1)

  5. Step 400

    400

    #EE777A

    oklch(70.7% 0.147 20)

  6. Step 500

    500

    #E44D59

    oklch(63.1% 0.186 19.8)

  7. Step 600

    600

    #CF243E

    oklch(55.5% 0.203 19.9)

  8. Step 700

    700

    #B31131

    oklch(49.1% 0.189 19.6)

  9. Step 800

    800 (this color)

    #8F1227

    oklch(42% 0.157 19.8)

  10. Step 900

    900

    #751C25

    oklch(37.7% 0.122 20)

  11. Step 950

    950

    #451316

    oklch(27.1% 0.077 20.4)

Export this scale for Tailwind in the Tailwind colors tool

#8F1227 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)#3B37270.174
Deuteranopia (no green cones)#5A51230.158
Tritanopia (no blue cones)#9E001C0.032
Achromatopsia (no color)#4848480.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F1227

    #8F1227

    oklch(42% 0.157 19.8)

  • #00585C

    #00585C

    oklch(41.9% 0.071 200.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F1227

    #8F1227

    oklch(42% 0.157 19.8)

  • #861759

    #861759

    oklch(42.1% 0.157 350)

  • #7B3600

    #7B3600

    oklch(41.9% 0.112 49.6)

Open the analogous palette in the generator

Split complementary

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

  • #8F1227

    #8F1227

    oklch(42% 0.157 19.8)

  • #005B46

    #005B46

    oklch(41.9% 0.083 170.2)

  • #005571

    #005571

    oklch(42% 0.083 229)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F1227

    #8F1227

    oklch(42% 0.157 19.8)

  • #195D00

    #195D00

    oklch(41.9% 0.135 139.8)

  • #0C47A0

    #0C47A0

    oklch(42.1% 0.156 259.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F1227

    #8F1227

    oklch(42% 0.157 19.8)

  • #515100

    #515100

    oklch(42.1% 0.092 109.8)

  • #00585C

    #00585C

    oklch(41.9% 0.071 200.2)

  • #4F359A

    #4F359A

    oklch(41.9% 0.156 289.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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