#9F2052

Closest named color: Berry (#990F4B). oklch(47% 0.165 2.9), rgb(159, 32, 82).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (47%)
Chromavivid (0.165)
Temperaturewarm
Nearest nameBerry (#990F4B)
Black text2.80:1
White text7.49:1

Values

HEX#9F2052
RGBrgb(159, 32, 82)
HSLhsl(336, 66%, 37%)
OKLCHoklch(47% 0.165 2.9)

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 #9F2052 7.49:1 AAA Lc -89.6 Fine for body text
Black text on #9F2052 2.80:1 Fails Lc 19.4 Dividers and decoration only
#9F2052 text on white 7.49:1 AAA Lc 84.6 Fine for body text
#9F2052 text on black 2.80: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

    #F4CED6

    oklch(88.6% 0.044 3.8)

  4. Step 300

    300

    #EDABBC

    oklch(80.8% 0.08 2.1)

  5. Step 400

    400

    #E17D99

    oklch(70.7% 0.127 2.9)

  6. Step 500

    500

    #D65780

    oklch(63.1% 0.164 2.9)

  7. Step 600

    600

    #C13769

    oklch(55.6% 0.178 3)

  8. Step 700

    700 (this color)

    #9F2052

    oklch(47% 0.165 2.9)

  9. Step 800

    800

    #872448

    oklch(42.8% 0.136 2.9)

  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

#9F2052 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)#4045530.186
Deuteranopia (no green cones)#615E4F0.169
Tritanopia (no blue cones)#AD00360.047
Achromatopsia (no color)#5555550.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F2052

    #9F2052

    oklch(47% 0.165 2.9)

  • #006A5F

    #006A5F

    oklch(47.1% 0.084 182.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F2052

    #9F2052

    oklch(47% 0.165 2.9)

  • #8D2B82

    #8D2B82

    oklch(47% 0.166 332.7)

  • #A3260C

    #A3260C

    oklch(47% 0.165 32.9)

Open the analogous palette in the generator

Split complementary

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

  • #9F2052

    #9F2052

    oklch(47% 0.165 2.9)

  • #006D38

    #006D38

    oklch(46.9% 0.12 153.1)

  • #006676

    #006676

    oklch(46.9% 0.082 213.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F2052

    #9F2052

    oklch(47% 0.165 2.9)

  • #4F6400

    #4F6400

    oklch(46.9% 0.115 122.8)

  • #006095

    #006095

    oklch(47% 0.114 243.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F2052

    #9F2052

    oklch(47% 0.165 2.9)

  • #6E5900

    #6E5900

    oklch(47.1% 0.097 92.9)

  • #006A5F

    #006A5F

    oklch(47.1% 0.084 182.6)

  • #3F4CB5

    #3F4CB5

    oklch(46.9% 0.165 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 #9F2052, closest first.

Similar named colors

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

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