#9F1834

Closest named color: Cranberry (#9E003A). oklch(45.7% 0.167 16.8), rgb(159, 24, 52).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (46%)
Chromavivid (0.167)
Temperaturewarm
Nearest nameCranberry (#9E003A)
Black text2.65:1
White text7.91:1

Values

HEX#9F1834
RGBrgb(159, 24, 52)
HSLhsl(348, 74%, 36%)
OKLCHoklch(45.7% 0.167 16.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 #9F1834 7.91:1 AAA Lc -90.6 Preferred for body text
Black text on #9F1834 2.65:1 Fails Lc 18.3 Dividers and decoration only
#9F1834 text on white 7.91:1 AAA Lc 85.8 Fine for body text
#9F1834 text on black 2.65:1 Fails Lc -16.3 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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FCE3E3

    oklch(93.6% 0.028 17.7)

  3. Step 200

    200

    #FBCBCC

    oklch(88.4% 0.055 16.8)

  4. Step 300

    300

    #F9A7AA

    oklch(80.9% 0.097 17)

  5. Step 400

    400

    #F2737D

    oklch(70.8% 0.156 17.1)

  6. Step 500

    500

    #E9445D

    oklch(63.1% 0.2 16.7)

  7. Step 600

    600

    #D40E43

    oklch(55.6% 0.217 16.8)

  8. Step 700

    700

    #B50036

    oklch(49.1% 0.196 16.9)

  9. Step 800

    800 (this color)

    #9F1834

    oklch(45.7% 0.167 16.8)

  10. Step 900

    900

    #771628

    oklch(37.6% 0.13 16.4)

  11. Step 950

    950

    #461017

    oklch(26.9% 0.082 17.3)

Export this scale for Tailwind in the Tailwind colors tool

#9F1834 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)#433F340.186
Deuteranopia (no green cones)#645B300.170
Tritanopia (no blue cones)#AF00250.035
Achromatopsia (no color)#5151510.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F1834

    #9F1834

    oklch(45.7% 0.167 16.8)

  • #006466

    #006466

    oklch(45.6% 0.078 197.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F1834

    #9F1834

    oklch(45.7% 0.167 16.8)

  • #931F69

    #931F69

    oklch(45.7% 0.167 346.8)

  • #8D3B00

    #8D3B00

    oklch(45.7% 0.126 47.1)

Open the analogous palette in the generator

Split complementary

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

  • #9F1834

    #9F1834

    oklch(45.7% 0.167 16.8)

  • #00674C

    #00674C

    oklch(45.6% 0.093 167.2)

  • #00607D

    #00607D

    oklch(45.6% 0.088 227.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F1834

    #9F1834

    oklch(45.7% 0.167 16.8)

  • #2C6700

    #2C6700

    oklch(45.6% 0.138 136.8)

  • #0053AE

    #0053AE

    oklch(45.7% 0.161 256.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F1834

    #9F1834

    oklch(45.7% 0.167 16.8)

  • #5E5A00

    #5E5A00

    oklch(45.7% 0.098 106.7)

  • #006466

    #006466

    oklch(45.6% 0.078 197.2)

  • #553FAD

    #553FAD

    oklch(45.6% 0.167 287)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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