#980231

Closest named color: Cranberry (#9E003A). oklch(43.3% 0.172 14.8), rgb(152, 2, 49).

Aa

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

About this color

#980231 is a dark, vivid red. In OKLCH its lightness is 43%, its chroma 0.172 and its hue 15°. Its hue sits on the warm side of the wheel. The nearest named color is Cranberry (#9E003A), ΔE 0.018 away. White text reads best on it, at 8.79:1.

Hue familyReds
Lightnessdark (43%)
Chromavivid (0.172)
Temperaturewarm
Nearest nameCranberry (#9E003A)
Black text2.38:1
White text8.79:1

Values

HEX#980231
RGBrgb(152, 2, 49)
HSLhsl(341, 97%, 30%)
OKLCHoklch(43.3% 0.172 14.8)

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 #980231 8.79:1 AAA Lc -92.4 Preferred for body text
Black text on #980231 2.38:1 Fails Lc 16.2 Dividers and decoration only
#980231 text on white 8.79:1 AAA Lc 87.8 Fine for body text
#980231 text on black 2.38:1 Fails Lc -14.4 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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FDE2E4

    oklch(93.5% 0.03 12.6)

  3. Step 200

    200

    #FCCBCD

    oklch(88.5% 0.056 15.5)

  4. Step 300

    300

    #FAA6AC

    oklch(80.9% 0.1 14.8)

  5. Step 400

    400

    #F37180

    oklch(70.7% 0.16 15)

  6. Step 500

    500

    #EB4061

    oklch(63.2% 0.206 14.6)

  7. Step 600

    600

    #D50048

    oklch(55.5% 0.222 14.6)

  8. Step 700

    700

    #B5003B

    oklch(49.1% 0.196 15)

  9. Step 800

    800 (this color)

    #980231

    oklch(43.3% 0.172 14.8)

  10. Step 900

    900

    #78132A

    oklch(37.6% 0.134 14.6)

  11. Step 950

    950

    #470F19

    oklch(27% 0.084 14.7)

Export this scale for Tailwind in the Tailwind colors tool

#980231 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)#3A38310.194
Deuteranopia (no green cones)#5D552D0.176
Tritanopia (no blue cones)#A7001B0.042
Achromatopsia (no color)#4A4A4A0.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #980231

    #980231

    oklch(43.3% 0.172 14.8)

  • #005D5D

    #005D5D

    oklch(43.3% 0.074 194.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #980231

    #980231

    oklch(43.3% 0.172 14.8)

  • #8B1266

    #8B1266

    oklch(43.3% 0.171 344.6)

  • #853400

    #853400

    oklch(43.3% 0.124 45)

Open the analogous palette in the generator

Split complementary

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

  • #980231

    #980231

    oklch(43.3% 0.172 14.8)

  • #006044

    #006044

    oklch(43.3% 0.091 165.1)

  • #005972

    #005972

    oklch(43.2% 0.082 225.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #980231

    #980231

    oklch(43.3% 0.172 14.8)

  • #2F5F00

    #2F5F00

    oklch(43.4% 0.126 134.9)

  • #004F9B

    #004F9B

    oklch(43.3% 0.141 254.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #980231

    #980231

    oklch(43.3% 0.172 14.8)

  • #595300

    #595300

    oklch(43.4% 0.092 104.8)

  • #005D5D

    #005D5D

    oklch(43.3% 0.074 194.8)

  • #4C38A9

    #4C38A9

    oklch(43.3% 0.172 284.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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