#9F0C4E

Closest named color: Berry (#990F4B). oklch(45.8% 0.178 2.8), rgb(159, 12, 78).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (46%)
Chromavivid (0.178)
Temperaturewarm
Nearest nameBerry (#990F4B)
Black text2.63:1
White text7.96:1

Values

HEX#9F0C4E
RGBrgb(159, 12, 78)
HSLhsl(333, 86%, 34%)
OKLCHoklch(45.8% 0.178 2.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 #9F0C4E 7.96:1 AAA Lc -90.5 Preferred for body text
Black text on #9F0C4E 2.63:1 Fails Lc 18.4 Dividers and decoration only
#9F0C4E text on white 7.96:1 AAA Lc 85.6 Fine for body text
#9F0C4E text on black 2.63:1 Fails Lc -16.4 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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FDE2E8

    oklch(93.6% 0.031 2.6)

  3. Step 200

    200

    #FBCAD5

    oklch(88.5% 0.057 3.3)

  4. Step 300

    300

    #F9A4BA

    oklch(80.8% 0.104 2.8)

  5. Step 400

    400

    #F26E97

    oklch(70.7% 0.167 2.8)

  6. Step 500

    500

    #E93C7D

    oklch(63.2% 0.213 3.1)

  7. Step 600

    600

    #D10067

    oklch(55.5% 0.224 2.7)

  8. Step 700

    700

    #B10056

    oklch(49% 0.198 2.8)

  9. Step 800

    800 (this color)

    #9F0C4E

    oklch(45.8% 0.178 2.8)

  10. Step 900

    900

    #77103B

    oklch(37.7% 0.138 2.5)

  11. Step 950

    950

    #460D22

    oklch(26.9% 0.088 2.9)

Export this scale for Tailwind in the Tailwind colors tool

#9F0C4E 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)#393F4F0.203
Deuteranopia (no green cones)#5E5A4B0.181
Tritanopia (no blue cones)#AE002E0.056
Achromatopsia (no color)#5151510.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F0C4E

    #9F0C4E

    oklch(45.8% 0.178 2.8)

  • #00665B

    #00665B

    oklch(45.8% 0.082 182.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F0C4E

    #9F0C4E

    oklch(45.8% 0.178 2.8)

  • #8C1F81

    #8C1F81

    oklch(45.7% 0.179 332.7)

  • #A01D00

    #A01D00

    oklch(45.7% 0.169 32.8)

Open the analogous palette in the generator

Split complementary

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

  • #9F0C4E

    #9F0C4E

    oklch(45.8% 0.178 2.8)

  • #006935

    #006935

    oklch(45.6% 0.118 152.8)

  • #006372

    #006372

    oklch(45.9% 0.08 212.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F0C4E

    #9F0C4E

    oklch(45.8% 0.178 2.8)

  • #4C6100

    #4C6100

    oklch(45.9% 0.113 123.1)

  • #005C8F

    #005C8F

    oklch(45.6% 0.11 243.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F0C4E

    #9F0C4E

    oklch(45.8% 0.178 2.8)

  • #695500

    #695500

    oklch(45.6% 0.093 93)

  • #00665B

    #00665B

    oklch(45.8% 0.082 182.2)

  • #3B46B8

    #3B46B8

    oklch(45.7% 0.178 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 #9F0C4E, closest first.

Similar named colors

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

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