#840534

Closest named color: Red Wine (#8C0034). oklch(39.5% 0.154 9.3), rgb(132, 5, 52).

Aa

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

About this color

#840534 is a dark, vivid red. In OKLCH its lightness is 39%, its chroma 0.154 and its hue 9°. Its hue sits on the warm side of the wheel. The nearest named color is Red Wine (#8C0034), ΔE 0.017 away. White text reads best on it, at 10.23:1.

Hue familyReds
Lightnessdark (39%)
Chromavivid (0.154)
Temperaturewarm
Nearest nameRed Wine (#8C0034)
Black text2.05:1
White text10.23:1

Values

HEX#840534
RGBrgb(132, 5, 52)
HSLhsl(338, 93%, 27%)
OKLCHoklch(39.5% 0.154 9.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 #840534 10.23:1 AAA Lc -96.0 Preferred for body text
Black text on #840534 2.05:1 Fails Lc 12.2 Not readable
#840534 text on white 10.23:1 AAA Lc 91.7 Preferred for body text
#840534 text on black 2.05:1 Fails Lc -10.7 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

    #FFE1E5

    oklch(93.5% 0.033 8.6)

  3. Step 200

    200

    #FFC9D0

    oklch(88.5% 0.062 9.7)

  4. Step 300

    300

    #FFA2B1

    oklch(80.9% 0.111 9.4)

  5. Step 400

    400

    #FC6587

    oklch(70.6% 0.185 9.4)

  6. Step 500

    500

    #F5246A

    oklch(63.2% 0.237 9.4)

  7. Step 600

    600

    #D40057

    oklch(55.7% 0.223 9.2)

  8. Step 700

    700

    #B30048

    oklch(49% 0.196 9.3)

  9. Step 800

    800

    #94003A

    oklch(42.6% 0.171 9.4)

  10. Step 900

    900 (this color)

    #840534

    oklch(39.5% 0.154 9.3)

  11. Step 950

    950

    #4A071C

    oklch(26.9% 0.097 9.1)

Export this scale for Tailwind in the Tailwind colors tool

#840534 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)#3031350.175
Deuteranopia (no green cones)#4F49310.157
Tritanopia (no blue cones)#91001D0.043
Achromatopsia (no color)#4141410.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #840534

    #840534

    oklch(39.5% 0.154 9.3)

  • #00524E

    #00524E

    oklch(39.6% 0.069 189.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #840534

    #840534

    oklch(39.5% 0.154 9.3)

  • #771460

    #771460

    oklch(39.5% 0.154 339.7)

  • #7B2500

    #7B2500

    oklch(39.5% 0.126 39.1)

Open the analogous palette in the generator

Split complementary

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

  • #840534

    #840534

    oklch(39.5% 0.154 9.3)

  • #005434

    #005434

    oklch(39.3% 0.09 159.4)

  • #004F60

    #004F60

    oklch(39.5% 0.071 218.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #840534

    #840534

    oklch(39.5% 0.154 9.3)

  • #345000

    #345000

    oklch(39.4% 0.104 129)

  • #00487E

    #00487E

    oklch(39.5% 0.11 249.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #840534

    #840534

    oklch(39.5% 0.154 9.3)

  • #514600

    #514600

    oklch(39.3% 0.082 99)

  • #00524E

    #00524E

    oklch(39.6% 0.069 189.1)

  • #3A3496

    #3A3496

    oklch(39.5% 0.155 279.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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