#840A30

Closest named color: Red Wine (#8C0034). oklch(39.6% 0.151 12.1), rgb(132, 10, 48).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (40%)
Chromavivid (0.151)
Temperaturewarm
Nearest nameRed Wine (#8C0034)
Black text2.06:1
White text10.15:1

Values

HEX#840A30
RGBrgb(132, 10, 48)
HSLhsl(341, 86%, 28%)
OKLCHoklch(39.6% 0.151 12.1)

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 #840A30 10.15:1 AAA Lc -96.0 Preferred for body text
Black text on #840A30 2.06:1 Fails Lc 12.2 Not readable
#840A30 text on white 10.15:1 AAA Lc 91.7 Preferred for body text
#840A30 text on black 2.06:1 Fails Lc -10.6 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

    #FFF2F3

    oklch(97.2% 0.014 12)

  2. Step 100

    100

    #FFE1E4

    oklch(93.5% 0.033 10.9)

  3. Step 200

    200

    #FFC9CE

    oklch(88.5% 0.062 12.2)

  4. Step 300

    300

    #FFA2AD

    oklch(80.8% 0.111 12.2)

  5. Step 400

    400

    #FC6782

    oklch(70.7% 0.182 12)

  6. Step 500

    500

    #F42963

    oklch(63.1% 0.232 12)

  7. Step 600

    600

    #D5004F

    oklch(55.7% 0.222 12.2)

  8. Step 700

    700

    #B40042

    oklch(49.1% 0.196 12)

  9. Step 800

    800

    #950035

    oklch(42.7% 0.171 12.1)

  10. Step 900

    900 (this color)

    #840A30

    oklch(39.6% 0.151 12.1)

  11. Step 950

    950

    #4A0819

    oklch(26.9% 0.096 12.5)

Export this scale for Tailwind in the Tailwind colors tool

#840A30 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)#3232300.171
Deuteranopia (no green cones)#504A2D0.155
Tritanopia (no blue cones)#91001D0.037
Achromatopsia (no color)#4141410.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #840A30

    #840A30

    oklch(39.6% 0.151 12.1)

  • #005250

    #005250

    oklch(39.6% 0.068 191.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #840A30

    #840A30

    oklch(39.6% 0.151 12.1)

  • #78155D

    #78155D

    oklch(39.6% 0.152 341.9)

  • #782A00

    #782A00

    oklch(39.6% 0.119 42.4)

Open the analogous palette in the generator

Split complementary

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

  • #840A30

    #840A30

    oklch(39.6% 0.151 12.1)

  • #005538

    #005538

    oklch(39.7% 0.087 161.9)

  • #004F63

    #004F63

    oklch(39.7% 0.073 222.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #840A30

    #840A30

    oklch(39.6% 0.151 12.1)

  • #2F5200

    #2F5200

    oklch(39.6% 0.11 132)

  • #004784

    #004784

    oklch(39.6% 0.119 252.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #840A30

    #840A30

    oklch(39.6% 0.151 12.1)

  • #504800

    #504800

    oklch(39.7% 0.083 102.2)

  • #005250

    #005250

    oklch(39.6% 0.068 191.9)

  • #3E3494

    #3E3494

    oklch(39.7% 0.151 281.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #840A30 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.