#9F1542

Closest named color: Cranberry (#9E003A). oklch(45.8% 0.17 9.7), rgb(159, 21, 66).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (46%)
Chromavivid (0.170)
Temperaturewarm
Nearest nameCranberry (#9E003A)
Black text2.66:1
White text7.89:1

Values

HEX#9F1542
RGBrgb(159, 21, 66)
HSLhsl(340, 77%, 35%)
OKLCHoklch(45.8% 0.17 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 #9F1542 7.89:1 AAA Lc -90.5 Preferred for body text
Black text on #9F1542 2.66:1 Fails Lc 18.4 Dividers and decoration only
#9F1542 text on white 7.89:1 AAA Lc 85.6 Fine for body text
#9F1542 text on black 2.66:1 Fails Lc -16.4 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

    #FEF2F3

    oklch(97.1% 0.013 11.5)

  2. Step 100

    100

    #FCE2E5

    oklch(93.5% 0.029 9.7)

  3. Step 200

    200

    #FBCBD1

    oklch(88.5% 0.055 9.8)

  4. Step 300

    300

    #F9A6B2

    oklch(80.9% 0.099 10)

  5. Step 400

    400

    #F1718A

    oklch(70.7% 0.159 9.8)

  6. Step 500

    500

    #E8416E

    oklch(63% 0.204 9.5)

  7. Step 600

    600

    #D40356

    oklch(55.7% 0.222 9.7)

  8. Step 700

    700

    #B30047

    oklch(49% 0.196 9.8)

  9. Step 800

    800 (this color)

    #9F1542

    oklch(45.8% 0.17 9.7)

  10. Step 900

    900

    #771432

    oklch(37.7% 0.133 9.3)

  11. Step 950

    950

    #460F1D

    oklch(26.9% 0.084 9.7)

Export this scale for Tailwind in the Tailwind colors tool

#9F1542 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)#3F40430.192
Deuteranopia (no green cones)#625B3F0.173
Tritanopia (no blue cones)#AE002A0.043
Achromatopsia (no color)#5151510.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F1542

    #9F1542

    oklch(45.8% 0.17 9.7)

  • #006561

    #006561

    oklch(45.7% 0.079 190)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F1542

    #9F1542

    oklch(45.8% 0.17 9.7)

  • #902175

    #902175

    oklch(45.9% 0.17 339.8)

  • #963100

    #963100

    oklch(45.8% 0.144 39.9)

Open the analogous palette in the generator

Split complementary

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

  • #9F1542

    #9F1542

    oklch(45.8% 0.17 9.7)

  • #006942

    #006942

    oklch(45.9% 0.105 159.3)

  • #006277

    #006277

    oklch(45.9% 0.083 219.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F1542

    #9F1542

    oklch(45.8% 0.17 9.7)

  • #406400

    #406400

    oklch(45.8% 0.123 129.8)

  • #005A9B

    #005A9B

    oklch(45.9% 0.128 249.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F1542

    #9F1542

    oklch(45.8% 0.17 9.7)

  • #645800

    #645800

    oklch(45.8% 0.095 100.1)

  • #006561

    #006561

    oklch(45.7% 0.079 190)

  • #4943B3

    #4943B3

    oklch(45.7% 0.172 279.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9F1542 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.