#9F1B52

Closest named color: Berry (#990F4B). oklch(46.6% 0.17 2.2), rgb(159, 27, 82).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (47%)
Chromavivid (0.170)
Temperaturewarm
Nearest nameBerry (#990F4B)
Black text2.75:1
White text7.62:1

Values

HEX#9F1B52
RGBrgb(159, 27, 82)
HSLhsl(335, 71%, 36%)
OKLCHoklch(46.6% 0.17 2.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 #9F1B52 7.62:1 AAA Lc -89.9 Fine for body text
Black text on #9F1B52 2.75:1 Fails Lc 19.1 Dividers and decoration only
#9F1B52 text on white 7.62:1 AAA Lc 85.0 Fine for body text
#9F1B52 text on black 2.75:1 Fails Lc -17.0 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

    #F9E4E8

    oklch(93.7% 0.024 4.5)

  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

    #E37B9A

    oklch(70.7% 0.132 2)

  6. Step 500

    500

    #D75581

    oklch(63% 0.168 2.1)

  7. Step 600

    600

    #C2346B

    oklch(55.5% 0.183 1.8)

  8. Step 700

    700 (this color)

    #9F1B52

    oklch(46.6% 0.17 2.2)

  9. Step 800

    800

    #882149

    oklch(42.7% 0.141 1.9)

  10. Step 900

    900

    #6E223D

    oklch(37.8% 0.11 2.1)

  11. Step 950

    950

    #411524

    oklch(27.1% 0.07 1.7)

Export this scale for Tailwind in the Tailwind colors tool

#9F1B52 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)#3D43530.192
Deuteranopia (no green cones)#605D4F0.173
Tritanopia (no blue cones)#AD00340.050
Achromatopsia (no color)#5454540.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F1B52

    #9F1B52

    oklch(46.6% 0.17 2.2)

  • #00695D

    #00695D

    oklch(46.7% 0.084 181.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F1B52

    #9F1B52

    oklch(46.6% 0.17 2.2)

  • #8C2883

    #8C2883

    oklch(46.6% 0.17 331.8)

  • #A32108

    #A32108

    oklch(46.6% 0.169 32.3)

Open the analogous palette in the generator

Split complementary

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

  • #9F1B52

    #9F1B52

    oklch(46.6% 0.17 2.2)

  • #006C35

    #006C35

    oklch(46.5% 0.122 152.2)

  • #006574

    #006574

    oklch(46.5% 0.081 212.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F1B52

    #9F1B52

    oklch(46.6% 0.17 2.2)

  • #4F6300

    #4F6300

    oklch(46.6% 0.113 122.3)

  • #005F92

    #005F92

    oklch(46.6% 0.111 242.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F1B52

    #9F1B52

    oklch(46.6% 0.17 2.2)

  • #6D5700

    #6D5700

    oklch(46.6% 0.095 91.7)

  • #00695D

    #00695D

    oklch(46.7% 0.084 181.4)

  • #3C4BB7

    #3C4BB7

    oklch(46.6% 0.17 272)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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