#A0042F

Closest named color: Cranberry (#9E003A). oklch(44.9% 0.178 17.1), rgb(160, 4, 47).

Aa

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

About this color

#A0042F is a dark, vivid red. In OKLCH its lightness is 45%, its chroma 0.178 and its hue 17°. Its hue sits on the warm side of the wheel. The nearest named color is Cranberry (#9E003A), ΔE 0.017 away. White text reads best on it, at 8.22:1.

Hue familyReds
Lightnessdark (45%)
Chromavivid (0.178)
Temperaturewarm
Nearest nameCranberry (#9E003A)
Black text2.55:1
White text8.22:1

Values

HEX#A0042F
RGBrgb(160, 4, 47)
HSLhsl(343, 95%, 32%)
OKLCHoklch(44.9% 0.178 17.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 #A0042F 8.22:1 AAA Lc -90.9 Preferred for body text
Black text on #A0042F 2.55:1 Fails Lc 17.9 Dividers and decoration only
#A0042F text on white 8.22:1 AAA Lc 86.1 Fine for body text
#A0042F text on black 2.55:1 Fails Lc -16.0 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

    #FFF2F2

    oklch(97.1% 0.014 17.4)

  2. Step 100

    100

    #FEE2E3

    oklch(93.6% 0.031 15.3)

  3. Step 200

    200

    #FDCACB

    oklch(88.4% 0.058 17)

  4. Step 300

    300

    #FCA5A8

    oklch(80.8% 0.103 17.3)

  5. Step 400

    400

    #F66F7B

    oklch(70.7% 0.166 16.9)

  6. Step 500

    500

    #EE3C59

    oklch(63.2% 0.212 17.1)

  7. Step 600

    600

    #D60041

    oklch(55.6% 0.222 17)

  8. Step 700

    700

    #B50036

    oklch(49.1% 0.196 16.9)

  9. Step 800

    800 (this color)

    #A0042F

    oklch(44.9% 0.178 17.1)

  10. Step 900

    900

    #7A1025

    oklch(37.7% 0.138 17.4)

  11. Step 950

    950

    #480D16

    oklch(26.9% 0.088 17.1)

Export this scale for Tailwind in the Tailwind colors tool

#A0042F 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)#3F3B2F0.199
Deuteranopia (no green cones)#63592A0.180
Tritanopia (no blue cones)#B0001B0.041
Achromatopsia (no color)#4F4F4F0.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #A0042F

    #A0042F

    oklch(44.9% 0.178 17.1)

  • #006264

    #006264

    oklch(45% 0.077 197.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A0042F

    #A0042F

    oklch(44.9% 0.178 17.1)

  • #941268

    #941268

    oklch(45% 0.178 346.9)

  • #8A3A00

    #8A3A00

    oklch(45% 0.124 47.3)

Open the analogous palette in the generator

Split complementary

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

  • #A0042F

    #A0042F

    oklch(44.9% 0.178 17.1)

  • #00654A

    #00654A

    oklch(45% 0.092 166.8)

  • #005E7A

    #005E7A

    oklch(44.9% 0.087 226.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A0042F

    #A0042F

    oklch(44.9% 0.178 17.1)

  • #2A6500

    #2A6500

    oklch(44.9% 0.136 137.1)

  • #0051AB

    #0051AB

    oklch(45% 0.16 257)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A0042F

    #A0042F

    oklch(44.9% 0.178 17.1)

  • #5B5800

    #5B5800

    oklch(44.9% 0.096 107.4)

  • #006264

    #006264

    oklch(45% 0.077 197.2)

  • #543AB0

    #543AB0

    oklch(45% 0.178 287.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #A0042F.

Similar named colors

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

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