#97012D

Closest named color: Cranberry (#9E003A). oklch(43% 0.171 16.3), rgb(151, 1, 45).

Aa

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

About this color

#97012D is a dark, vivid red. In OKLCH its lightness is 43%, its chroma 0.171 and its hue 16°. 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.90:1.

Hue familyReds
Lightnessdark (43%)
Chromavivid (0.171)
Temperaturewarm
Nearest nameCranberry (#9E003A)
Black text2.35:1
White text8.90:1

Values

HEX#97012D
RGBrgb(151, 1, 45)
HSLhsl(342, 99%, 30%)
OKLCHoklch(43% 0.171 16.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 #97012D 8.90:1 AAA Lc -92.7 Preferred for body text
Black text on #97012D 2.35:1 Fails Lc 16.0 Dividers and decoration only
#97012D text on white 8.90:1 AAA Lc 88.0 Fine for body text
#97012D text on black 2.35:1 Fails Lc -14.1 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

    #FDE3E3

    oklch(93.7% 0.029 17.7)

  3. Step 200

    200

    #FCCBCC

    oklch(88.5% 0.056 16.9)

  4. Step 300

    300

    #FAA6AA

    oklch(80.8% 0.1 16.4)

  5. Step 400

    400

    #F3717D

    oklch(70.6% 0.16 16.4)

  6. Step 500

    500

    #EB415D

    oklch(63.2% 0.205 16.3)

  7. Step 600

    600

    #D60043

    oklch(55.6% 0.223 16.4)

  8. Step 700

    700

    #B50038

    oklch(49.1% 0.196 16.1)

  9. Step 800

    800 (this color)

    #97012D

    oklch(43% 0.171 16.3)

  10. Step 900

    900

    #781428

    oklch(37.6% 0.133 16.1)

  11. Step 950

    950

    #470F18

    oklch(27% 0.084 15.8)

Export this scale for Tailwind in the Tailwind colors tool

#97012D 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)#3A372D0.192
Deuteranopia (no green cones)#5C54290.175
Tritanopia (no blue cones)#A600190.040
Achromatopsia (no color)#4A4A4A0.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #97012D

    #97012D

    oklch(43% 0.171 16.3)

  • #005C5D

    #005C5D

    oklch(43% 0.073 196.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #97012D

    #97012D

    oklch(43% 0.171 16.3)

  • #8B0F63

    #8B0F63

    oklch(43% 0.172 346)

  • #823500

    #823500

    oklch(42.9% 0.12 46.5)

Open the analogous palette in the generator

Split complementary

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

  • #97012D

    #97012D

    oklch(43% 0.171 16.3)

  • #005F45

    #005F45

    oklch(43.1% 0.089 166.5)

  • #005872

    #005872

    oklch(42.9% 0.082 226.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #97012D

    #97012D

    oklch(43% 0.171 16.3)

  • #2A5E00

    #2A5E00

    oklch(42.9% 0.128 136.2)

  • #004C9F

    #004C9F

    oklch(42.9% 0.15 256.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #97012D

    #97012D

    oklch(43% 0.171 16.3)

  • #565200

    #565200

    oklch(42.9% 0.092 106.4)

  • #005C5D

    #005C5D

    oklch(43% 0.073 196.1)

  • #4E36A7

    #4E36A7

    oklch(43% 0.172 286.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #97012D 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.