#981F54

Closest named color: Berry (#990F4B). oklch(45.7% 0.161 359.7), rgb(152, 31, 84).

Aa

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

About this color

#981F54 is a medium-dark, vivid red. In OKLCH its lightness is 46%, its chroma 0.161 and its hue 360°. Its hue sits on the warm side of the wheel. The nearest named color is Berry (#990F4B), ΔE 0.018 away. White text reads best on it, at 7.89:1.

Hue familyReds
Lightnessmedium-dark (46%)
Chromavivid (0.161)
Temperaturewarm
Nearest nameBerry (#990F4B)
Black text2.65:1
White text7.89:1

Values

HEX#981F54
RGBrgb(152, 31, 84)
HSLhsl(334, 66%, 36%)
OKLCHoklch(45.7% 0.161 359.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 #981F54 7.89:1 AAA Lc -90.9 Preferred for body text
Black text on #981F54 2.65:1 Fails Lc 18.0 Dividers and decoration only
#981F54 text on white 7.89:1 AAA Lc 86.1 Fine for body text
#981F54 text on black 2.65: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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #FAE3E9

    oklch(93.6% 0.026 359.9)

  3. Step 200

    200

    #F8CBD8

    oklch(88.5% 0.053 359)

  4. Step 300

    300

    #F4A7BE

    oklch(80.9% 0.095 360)

  5. Step 400

    400

    #EA749D

    oklch(70.7% 0.151 359.7)

  6. Step 500

    500

    #DF4985

    oklch(63% 0.192 359.7)

  7. Step 600

    600

    #CB1F6F

    oklch(55.7% 0.209 359.8)

  8. Step 700

    700

    #AF0A5D

    oklch(49.2% 0.195 359.7)

  9. Step 800

    800 (this color)

    #981F54

    oklch(45.7% 0.161 359.7)

  10. Step 900

    900

    #721A3F

    oklch(37.7% 0.125 359.8)

  11. Step 950

    950

    #431125

    oklch(26.9% 0.08 359.3)

Export this scale for Tailwind in the Tailwind colors tool

#981F54 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)#3B43550.182
Deuteranopia (no green cones)#5C5A510.164
Tritanopia (no blue cones)#A504370.049
Achromatopsia (no color)#5151510.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #981F54

    #981F54

    oklch(45.7% 0.161 359.7)

  • #006659

    #006659

    oklch(45.7% 0.083 180.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #981F54

    #981F54

    oklch(45.7% 0.161 359.7)

  • #852B81

    #852B81

    oklch(45.7% 0.16 329.7)

  • #9D2217

    #9D2217

    oklch(45.6% 0.161 29.7)

Open the analogous palette in the generator

Split complementary

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

  • #981F54

    #981F54

    oklch(45.7% 0.161 359.7)

  • #006A2D

    #006A2D

    oklch(45.8% 0.127 149.7)

  • #00636F

    #00636F

    oklch(45.8% 0.079 209.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #981F54

    #981F54

    oklch(45.7% 0.161 359.7)

  • #505F00

    #505F00

    oklch(45.6% 0.108 119.8)

  • #005D8B

    #005D8B

    oklch(45.6% 0.105 240.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #981F54

    #981F54

    oklch(45.7% 0.161 359.7)

  • #6C5400

    #6C5400

    oklch(45.8% 0.094 89.5)

  • #006659

    #006659

    oklch(45.7% 0.083 180.1)

  • #364BAF

    #364BAF

    oklch(45.7% 0.161 269.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #981F54 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.