#A00840

Closest named color: Cranberry (#9E003A). oklch(45.4% 0.177 9.7), rgb(160, 8, 64).

Aa

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

About this color

#A00840 is a medium-dark, vivid red. In OKLCH its lightness is 45%, its chroma 0.177 and its hue 10°. Its hue sits on the warm side of the wheel. The nearest named color is Cranberry (#9E003A), ΔE 0.010 away. White text reads best on it, at 8.06:1.

Hue familyReds
Lightnessmedium-dark (45%)
Chromavivid (0.177)
Temperaturewarm
Nearest nameCranberry (#9E003A)
Black text2.60:1
White text8.06:1

Values

HEX#A00840
RGBrgb(160, 8, 64)
HSLhsl(338, 90%, 33%)
OKLCHoklch(45.4% 0.177 9.7)

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 #A00840 8.06:1 AAA Lc -90.6 Preferred for body text
Black text on #A00840 2.60:1 Fails Lc 18.2 Dividers and decoration only
#A00840 text on white 8.06:1 AAA Lc 85.8 Fine for body text
#A00840 text on black 2.60:1 Fails Lc -16.2 Dividers and decoration only

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

    #FFF2F3

    oklch(97.2% 0.014 12)

  2. Step 100

    100

    #FDE2E5

    oklch(93.6% 0.03 10)

  3. Step 200

    200

    #FCCAD1

    oklch(88.5% 0.057 8.9)

  4. Step 300

    300

    #FBA4B2

    oklch(80.8% 0.104 9.1)

  5. Step 400

    400

    #F46E89

    oklch(70.6% 0.166 9.8)

  6. Step 500

    500

    #EB3B6D

    oklch(63% 0.212 9.4)

  7. Step 600

    600

    #D40056

    oklch(55.6% 0.223 9.6)

  8. Step 700

    700

    #B30047

    oklch(49% 0.196 9.8)

  9. Step 800

    800 (this color)

    #A00840

    oklch(45.4% 0.177 9.7)

  10. Step 900

    900

    #790F31

    oklch(37.7% 0.139 9.6)

  11. Step 950

    950

    #470D1D

    oklch(26.9% 0.087 9.2)

Export this scale for Tailwind in the Tailwind colors tool

#A00840 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)#3C3D410.201
Deuteranopia (no green cones)#615A3C0.181
Tritanopia (no blue cones)#B000250.049
Achromatopsia (no color)#5050500.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #A00840

    #A00840

    oklch(45.4% 0.177 9.7)

  • #006460

    #006460

    oklch(45.4% 0.078 190)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A00840

    #A00840

    oklch(45.4% 0.177 9.7)

  • #901A75

    #901A75

    oklch(45.4% 0.177 339.6)

  • #953000

    #953000

    oklch(45.5% 0.144 39.6)

Open the analogous palette in the generator

Split complementary

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

  • #A00840

    #A00840

    oklch(45.4% 0.177 9.7)

  • #006741

    #006741

    oklch(45.3% 0.103 159.5)

  • #006176

    #006176

    oklch(45.5% 0.083 219.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A00840

    #A00840

    oklch(45.4% 0.177 9.7)

  • #406300

    #406300

    oklch(45.5% 0.122 129.6)

  • #005899

    #005899

    oklch(45.3% 0.127 249.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A00840

    #A00840

    oklch(45.4% 0.177 9.7)

  • #635700

    #635700

    oklch(45.5% 0.095 100)

  • #006460

    #006460

    oklch(45.4% 0.078 190)

  • #4840B5

    #4840B5

    oklch(45.3% 0.178 279.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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