#97031A

Closest named color: Carmine (#9D0216). oklch(42.8% 0.171 23.9), rgb(151, 3, 26).

Aa

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

About this color

#97031A is a dark, vivid red. In OKLCH its lightness is 43%, its chroma 0.171 and its hue 24°. Its hue sits on the warm side of the wheel. The nearest named color is Carmine (#9D0216), ΔE 0.014 away. White text reads best on it, at 8.95:1.

Hue familyReds
Lightnessdark (43%)
Chromavivid (0.171)
Temperaturewarm
Nearest nameCarmine (#9D0216)
Black text2.34:1
White text8.95:1

Values

HEX#97031A
RGBrgb(151, 3, 26)
HSLhsl(351, 96%, 30%)
OKLCHoklch(42.8% 0.171 23.9)

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 #97031A 8.95:1 AAA Lc -92.8 Preferred for body text
Black text on #97031A 2.34:1 Fails Lc 15.8 Dividers and decoration only
#97031A text on white 8.95:1 AAA Lc 88.2 Fine for body text
#97031A text on black 2.34:1 Fails Lc -14.0 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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FDE3E1

    oklch(93.6% 0.029 23)

  3. Step 200

    200

    #FCCCC7

    oklch(88.6% 0.055 25.2)

  4. Step 300

    300

    #FBA7A1

    oklch(80.9% 0.1 24)

  5. Step 400

    400

    #F4736F

    oklch(70.7% 0.16 23.8)

  6. Step 500

    500

    #EC4348

    oklch(63.1% 0.205 23.8)

  7. Step 600

    600

    #D7072A

    oklch(55.6% 0.222 23.8)

  8. Step 700

    700

    #B70021

    oklch(49.2% 0.199 23.8)

  9. Step 800

    800 (this color)

    #97031A

    oklch(42.8% 0.171 23.9)

  10. Step 900

    900

    #79151B

    oklch(37.7% 0.134 23.9)

  11. Step 950

    950

    #471011

    oklch(27% 0.084 23.8)

Export this scale for Tailwind in the Tailwind colors tool

#97031A 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)#3D36190.189
Deuteranopia (no green cones)#5E54130.172
Tritanopia (no blue cones)#A700100.035
Achromatopsia (no color)#4949490.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #97031A

    #97031A

    oklch(42.8% 0.171 23.9)

  • #005A61

    #005A61

    oklch(42.6% 0.073 204)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #97031A

    #97031A

    oklch(42.8% 0.171 23.9)

  • #8F0856

    #8F0856

    oklch(42.9% 0.172 353.8)

  • #7B3B00

    #7B3B00

    oklch(42.8% 0.108 53.6)

Open the analogous palette in the generator

Split complementary

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

  • #97031A

    #97031A

    oklch(42.8% 0.171 23.9)

  • #005D4C

    #005D4C

    oklch(42.7% 0.081 174.6)

  • #005678

    #005678

    oklch(42.7% 0.089 233.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #97031A

    #97031A

    oklch(42.8% 0.171 23.9)

  • #00610E

    #00610E

    oklch(42.8% 0.139 143.9)

  • #1B44AB

    #1B44AB

    oklch(42.8% 0.171 264)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #97031A

    #97031A

    oklch(42.8% 0.171 23.9)

  • #4F5400

    #4F5400

    oklch(42.7% 0.096 113.7)

  • #005A61

    #005A61

    oklch(42.6% 0.073 204)

  • #5831A1

    #5831A1

    oklch(42.8% 0.17 293.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #97031A 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.