#9F1F52

Closest named color: Berry (#990F4B). oklch(46.9% 0.166 2.7), rgb(159, 31, 82).

Aa

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

About this color

#9F1F52 is a medium-dark, vivid red. In OKLCH its lightness is 47%, its chroma 0.166 and its hue 3°. Its hue sits on the warm side of the wheel. The nearest named color is Berry (#990F4B), ΔE 0.023 away. White text reads best on it, at 7.52:1.

Hue familyReds
Lightnessmedium-dark (47%)
Chromavivid (0.166)
Temperaturewarm
Nearest nameBerry (#990F4B)
Black text2.79:1
White text7.52:1

Values

HEX#9F1F52
RGBrgb(159, 31, 82)
HSLhsl(336, 67%, 37%)
OKLCHoklch(46.9% 0.166 2.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 #9F1F52 7.52:1 AAA Lc -89.6 Fine for body text
Black text on #9F1F52 2.79:1 Fails Lc 19.3 Dividers and decoration only
#9F1F52 text on white 7.52:1 AAA Lc 84.7 Fine for body text
#9F1F52 text on black 2.79:1 Fails Lc -17.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 700.

  1. Step 50

    50

    #FCF3F5

    oklch(97.2% 0.01 2)

  2. Step 100

    100

    #F8E4E8

    oklch(93.6% 0.022 3.8)

  3. Step 200

    200

    #F4CDD6

    oklch(88.4% 0.045 2.5)

  4. Step 300

    300

    #EEABBC

    oklch(80.9% 0.081 2.4)

  5. Step 400

    400

    #E27C99

    oklch(70.7% 0.129 2.8)

  6. Step 500

    500

    #D65780

    oklch(63.1% 0.164 2.9)

  7. Step 600

    600

    #C1376A

    oklch(55.6% 0.178 2.5)

  8. Step 700

    700 (this color)

    #9F1F52

    oklch(46.9% 0.166 2.7)

  9. Step 800

    800

    #872348

    oklch(42.7% 0.138 2.6)

  10. Step 900

    900

    #6D233C

    oklch(37.7% 0.107 2.9)

  11. Step 950

    950

    #401623

    oklch(27% 0.067 3.3)

Export this scale for Tailwind in the Tailwind colors tool

#9F1F52 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)#3F45530.188
Deuteranopia (no green cones)#615D4F0.168
Tritanopia (no blue cones)#AD00360.047
Achromatopsia (no color)#5454540.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F1F52

    #9F1F52

    oklch(46.9% 0.166 2.7)

  • #006A5F

    #006A5F

    oklch(47.1% 0.084 182.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F1F52

    #9F1F52

    oklch(46.9% 0.166 2.7)

  • #8D2B82

    #8D2B82

    oklch(47% 0.166 332.7)

  • #A3250B

    #A3250B

    oklch(47% 0.166 32.8)

Open the analogous palette in the generator

Split complementary

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

  • #9F1F52

    #9F1F52

    oklch(46.9% 0.166 2.7)

  • #006D37

    #006D37

    oklch(46.9% 0.121 152.7)

  • #006676

    #006676

    oklch(46.9% 0.082 213.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F1F52

    #9F1F52

    oklch(46.9% 0.166 2.7)

  • #4F6400

    #4F6400

    oklch(46.9% 0.115 122.8)

  • #006094

    #006094

    oklch(46.9% 0.113 242.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F1F52

    #9F1F52

    oklch(46.9% 0.166 2.7)

  • #6D5800

    #6D5800

    oklch(46.8% 0.096 92.7)

  • #006A5F

    #006A5F

    oklch(47.1% 0.084 182.6)

  • #3F4CB6

    #3F4CB6

    oklch(46.9% 0.167 272.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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