#980040

Closest named color: Purple Red (#990147). oklch(43.6% 0.175 7.3), rgb(152, 0, 64).

Aa

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

About this color

#980040 is a dark, vivid red. In OKLCH its lightness is 44%, its chroma 0.175 and its hue 7°. Its hue sits on the warm side of the wheel. The nearest named color is Purple Red (#990147), ΔE 0.011 away. White text reads best on it, at 8.71:1.

Hue familyReds
Lightnessdark (44%)
Chromavivid (0.175)
Temperaturewarm
Nearest namePurple Red (#990147)
Black text2.40:1
White text8.71:1

Values

HEX#980040
RGBrgb(152, 0, 64)
HSLhsl(335, 100%, 30%)
OKLCHoklch(43.6% 0.175 7.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 #980040 8.71:1 AAA Lc -92.2 Preferred for body text
Black text on #980040 2.40:1 Fails Lc 16.5 Dividers and decoration only
#980040 text on white 8.71:1 AAA Lc 87.5 Fine for body text
#980040 text on black 2.40:1 Fails Lc -14.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 800.

  1. Step 50

    50

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FDE2E6

    oklch(93.6% 0.03 7.5)

  3. Step 200

    200

    #FCCAD2

    oklch(88.5% 0.058 7.5)

  4. Step 300

    300

    #FAA5B5

    oklch(81% 0.102 7.3)

  5. Step 400

    400

    #F26F8E

    oklch(70.6% 0.163 7.4)

  6. Step 500

    500

    #E93E73

    oklch(63.1% 0.208 7.2)

  7. Step 600

    600

    #D3005C

    oklch(55.6% 0.223 7.2)

  8. Step 700

    700

    #B3004D

    oklch(49.2% 0.197 7.2)

  9. Step 800

    800 (this color)

    #980040

    oklch(43.6% 0.175 7.3)

  10. Step 900

    900

    #781235

    oklch(37.8% 0.136 7.2)

  11. Step 950

    950

    #470E1F

    oklch(27.1% 0.087 7.3)

Export this scale for Tailwind in the Tailwind colors tool

#980040 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)#3639410.199
Deuteranopia (no green cones)#5B553D0.178
Tritanopia (no blue cones)#A700230.053
Achromatopsia (no color)#4B4B4B0.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #980040

    #980040

    oklch(43.6% 0.175 7.3)

  • #005F59

    #005F59

    oklch(43.7% 0.076 187.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #980040

    #980040

    oklch(43.6% 0.175 7.3)

  • #881673

    #881673

    oklch(43.6% 0.175 337.3)

  • #8F2800

    #8F2800

    oklch(43.5% 0.145 37.3)

Open the analogous palette in the generator

Split complementary

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

  • #980040

    #980040

    oklch(43.6% 0.175 7.3)

  • #00623A

    #00623A

    oklch(43.7% 0.103 157.3)

  • #005B6D

    #005B6D

    oklch(43.5% 0.078 217.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #980040

    #980040

    oklch(43.6% 0.175 7.3)

  • #405C00

    #405C00

    oklch(43.6% 0.113 127.3)

  • #00548D

    #00548D

    oklch(43.5% 0.116 247.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #980040

    #980040

    oklch(43.6% 0.175 7.3)

  • #5F5100

    #5F5100

    oklch(43.6% 0.09 97.6)

  • #005F59

    #005F59

    oklch(43.7% 0.076 187.3)

  • #403DAE

    #403DAE

    oklch(43.6% 0.174 277.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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