#9F313F

Closest named color: Brown (#A52A2A). oklch(48.1% 0.145 17.2), rgb(159, 49, 63).

Aa

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

About this color

#9F313F is a medium-dark, vivid red. In OKLCH its lightness is 48%, its chroma 0.145 and its hue 17°. Its hue sits on the warm side of the wheel. The nearest named color is Brown (#A52A2A), ΔE 0.027 away. White text reads best on it, at 7.03:1.

Hue familyReds
Lightnessmedium-dark (48%)
Chromavivid (0.145)
Temperaturewarm
Nearest nameBrown (#A52A2A)
Black text2.98:1
White text7.03:1

Values

HEX#9F313F
RGBrgb(159, 49, 63)
HSLhsl(352, 53%, 41%)
OKLCHoklch(48.1% 0.145 17.2)

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 #9F313F 7.03:1 AAA Lc -88.4 Fine for body text
Black text on #9F313F 2.98:1 Fails Lc 20.6 Dividers and decoration only
#9F313F text on white 7.03:1 AAA Lc 83.4 Fine for body text
#9F313F text on black 2.98:1 Fails Lc -18.5 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 700.

  1. Step 50

    50

    #FCF3F3

    oklch(97.1% 0.01 17.3)

  2. Step 100

    100

    #F7E5E5

    oklch(93.6% 0.02 17.5)

  3. Step 200

    200

    #F2CFD0

    oklch(88.4% 0.039 16)

  4. Step 300

    300

    #EAAFB0

    oklch(80.9% 0.069 17.6)

  5. Step 400

    400

    #DD8387

    oklch(70.7% 0.111 17.4)

  6. Step 500

    500

    #D16069

    oklch(63% 0.143 17.2)

  7. Step 600

    600

    #BD4451

    oklch(55.7% 0.155 17.5)

  8. Step 700

    700 (this color)

    #9F313F

    oklch(48.1% 0.145 17.2)

  9. Step 800

    800

    #842C36

    oklch(42.7% 0.121 17.2)

  10. Step 900

    900

    #6A292F

    oklch(37.6% 0.093 17.2)

  11. Step 950

    950

    #3F191C

    oklch(27.1% 0.059 17)

Export this scale for Tailwind in the Tailwind colors tool

#9F313F 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)#4D4A3F0.159
Deuteranopia (no green cones)#69613C0.146
Tritanopia (no blue cones)#AE17370.037
Achromatopsia (no color)#5959590.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F313F

    #9F313F

    oklch(48.1% 0.145 17.2)

  • #006C6E

    #006C6E

    oklch(48.2% 0.082 197)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F313F

    #9F313F

    oklch(48.1% 0.145 17.2)

  • #95336D

    #95336D

    oklch(48.1% 0.146 347.4)

  • #974000

    #974000

    oklch(48.1% 0.132 47.2)

Open the analogous palette in the generator

Split complementary

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

  • #9F313F

    #9F313F

    oklch(48.1% 0.145 17.2)

  • #006F52

    #006F52

    oklch(48.1% 0.098 167.1)

  • #006887

    #006887

    oklch(48.3% 0.093 227.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F313F

    #9F313F

    oklch(48.1% 0.145 17.2)

  • #2F6F03

    #2F6F03

    oklch(48% 0.145 137.2)

  • #1E5CAD

    #1E5CAD

    oklch(48.2% 0.144 256.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F313F

    #9F313F

    oklch(48.1% 0.145 17.2)

  • #656100

    #656100

    oklch(48.1% 0.103 106.9)

  • #006C6E

    #006C6E

    oklch(48.2% 0.082 197)

  • #5B4CAA

    #5B4CAA

    oklch(48.1% 0.145 287)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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