#8A0318

Closest named color: Dark Red (#8B0000). oklch(40.1% 0.16 23.5), rgb(138, 3, 24).

Aa

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

About this color

#8A0318 is a dark, vivid red. In OKLCH its lightness is 40%, its chroma 0.160 and its hue 24°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Red (#8B0000), ΔE 0.017 away. White text reads best on it, at 9.96:1.

Hue familyReds
Lightnessdark (40%)
Chromavivid (0.160)
Temperaturewarm
Nearest nameDark Red (#8B0000)
Black text2.10:1
White text9.96:1

Values

HEX#8A0318
RGBrgb(138, 3, 24)
HSLhsl(351, 96%, 28%)
OKLCHoklch(40.1% 0.16 23.5)

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 #8A0318 9.96:1 AAA Lc -95.3 Preferred for body text
Black text on #8A0318 2.10:1 Fails Lc 13.1 Not readable
#8A0318 text on white 9.96:1 AAA Lc 90.9 Preferred for body text
#8A0318 text on black 2.10:1 Fails Lc -11.5 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 900.

  1. Step 50

    50

    #FFF2F1

    oklch(97.1% 0.014 22.8)

  2. Step 100

    100

    #FFE2E0

    oklch(93.6% 0.032 22.5)

  3. Step 200

    200

    #FFCAC6

    oklch(88.4% 0.061 23.4)

  4. Step 300

    300

    #FFA59F

    oklch(81% 0.108 23.9)

  5. Step 400

    400

    #FF6867

    oklch(70.7% 0.185 23.4)

  6. Step 500

    500

    #FB1B38

    oklch(63% 0.245 23.5)

  7. Step 600

    600

    #D8002A

    oklch(55.6% 0.225 23.5)

  8. Step 700

    700

    #B70022

    oklch(49.2% 0.199 23.5)

  9. Step 800

    800

    #97001A

    oklch(42.7% 0.172 23.6)

  10. Step 900

    900 (this color)

    #8A0318

    oklch(40.1% 0.16 23.5)

  11. Step 950

    950

    #4D050C

    oklch(27% 0.102 23.1)

Export this scale for Tailwind in the Tailwind colors tool

#8A0318 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)#3731170.177
Deuteranopia (no green cones)#564C120.160
Tritanopia (no blue cones)#99000F0.034
Achromatopsia (no color)#4343430.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A0318

    #8A0318

    oklch(40.1% 0.16 23.5)

  • #005259

    #005259

    oklch(40% 0.068 204.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A0318

    #8A0318

    oklch(40.1% 0.16 23.5)

  • #82074E

    #82074E

    oklch(40% 0.16 353.7)

  • #703500

    #703500

    oklch(40% 0.101 53.4)

Open the analogous palette in the generator

Split complementary

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

  • #8A0318

    #8A0318

    oklch(40.1% 0.16 23.5)

  • #005544

    #005544

    oklch(40.1% 0.077 173.2)

  • #004F6E

    #004F6E

    oklch(40.3% 0.084 233.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A0318

    #8A0318

    oklch(40.1% 0.16 23.5)

  • #005809

    #005809

    oklch(39.9% 0.131 143.5)

  • #163E9C

    #163E9C

    oklch(40% 0.16 263.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A0318

    #8A0318

    oklch(40.1% 0.16 23.5)

  • #484D00

    #484D00

    oklch(40.2% 0.09 114)

  • #005259

    #005259

    oklch(40% 0.068 204.8)

  • #502C94

    #502C94

    oklch(40.1% 0.161 293.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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