#981F42

Closest named color: Cranberry (#9E003A). oklch(45.2% 0.156 9.7), rgb(152, 31, 66).

Aa

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

About this color

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

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

Values

HEX#981F42
RGBrgb(152, 31, 66)
HSLhsl(343, 66%, 36%)
OKLCHoklch(45.2% 0.156 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 #981F42 8.04:1 AAA Lc -91.3 Preferred for body text
Black text on #981F42 2.60:1 Fails Lc 17.5 Dividers and decoration only
#981F42 text on white 8.04:1 AAA Lc 86.5 Fine for body text
#981F42 text on black 2.60:1 Fails Lc -15.6 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

    #FDF2F3

    oklch(97% 0.012 11)

  2. Step 100

    100

    #FBE3E6

    oklch(93.6% 0.027 9)

  3. Step 200

    200

    #F8CCD2

    oklch(88.5% 0.05 8.9)

  4. Step 300

    300

    #F5A8B3

    oklch(80.9% 0.092 9.9)

  5. Step 400

    400

    #EC768C

    oklch(70.7% 0.146 9.8)

  6. Step 500

    500

    #E24B70

    oklch(63.1% 0.188 9.6)

  7. Step 600

    600

    #CD2358

    oklch(55.6% 0.203 9.9)

  8. Step 700

    700

    #B11048

    oklch(49.1% 0.189 9.9)

  9. Step 800

    800 (this color)

    #981F42

    oklch(45.2% 0.156 9.7)

  10. Step 900

    900

    #731B33

    oklch(37.6% 0.122 9.4)

  11. Step 950

    950

    #44121E

    oklch(27% 0.077 9.5)

Export this scale for Tailwind in the Tailwind colors tool

#981F42 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)#4041430.175
Deuteranopia (no green cones)#5F593F0.160
Tritanopia (no blue cones)#A6002E0.038
Achromatopsia (no color)#5050500.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #981F42

    #981F42

    oklch(45.2% 0.156 9.7)

  • #00635F

    #00635F

    oklch(45.1% 0.078 189.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #981F42

    #981F42

    oklch(45.2% 0.156 9.7)

  • #8A2771

    #8A2771

    oklch(45.2% 0.157 339.7)

  • #933000

    #933000

    oklch(45.2% 0.142 40)

Open the analogous palette in the generator

Split complementary

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

  • #981F42

    #981F42

    oklch(45.2% 0.156 9.7)

  • #006741

    #006741

    oklch(45.3% 0.103 159.5)

  • #006075

    #006075

    oklch(45.2% 0.082 219.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #981F42

    #981F42

    oklch(45.2% 0.156 9.7)

  • #3F6200

    #3F6200

    oklch(45.2% 0.121 129.7)

  • #005899

    #005899

    oklch(45.3% 0.127 249.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #981F42

    #981F42

    oklch(45.2% 0.156 9.7)

  • #625600

    #625600

    oklch(45.1% 0.094 99.9)

  • #00635F

    #00635F

    oklch(45.1% 0.078 189.9)

  • #4845A9

    #4845A9

    oklch(45.2% 0.156 279.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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